[luatex] Font expansion and virtual fonts

Hans Hagen pragma at wxs.nl
Fri Feb 9 15:26:07 CET 2018


On 2/9/2018 2:17 PM, Patrick Gundlach wrote:
> some more details (before I make a test case)
> 
> the glyphs of the real font have an expansion_factor of -10000 (post_linebreak) and the virtual fonts have an expansion_factor of 0 (so the question is: why).
> 
> The PDF also shows the expected differences:
> 
> real:
> 
> BT
> /F11 9.99999 Tf 0.99 0 0 1 28.346 804.543 Tm [<006d032503710371038e>-252<03fe038e03be037103190848>-252<07e707e807e907ea07eb07ec07ed07ee07ef07e6>]TJ
> ET
> 
> virtual:
> 
> BT
> /F13 9.99999 Tf 1 0 0 1 28.346 804.543 Tm [<006d032503710371038e>-194<03fe038e03be037103190848>-195<07e707e807e907ea07eb07ec07ed07ee07ef07e6>]TJ
> ET
> 
> (see the difference in the first argument to the Tm and the different kerning)
> 
> So I will investigate further where I messed up.
there is a test for the type being virtual .. can you omit that flag? 
just pretend it's a real font .. works here (i need to check why that 
test is there, it might not be needed in luatex any more)

so no type="virtual"

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the luatex mailing list