[luatex] font expansion / HZ

Paul Isambert zappathustra at free.fr
Sun Jan 9 23:14:18 CET 2011


Le 09/01/2011 19:33, Patrick Gundlach a écrit :
> Hi,
>
> I am experimenting with the pdftex features (margin kerning and font expansion). So far I have only been able to make margin kerning to work. Now I tried font expansion but couldn't note any difference to what I have before. I set
>
> \pdfadjustspacing=2
>
> and for the font I set the parameters to (for example)
>
>    f.parameters.stretch = 30
>    f.parameters.shrink  = 20
>    f.parameters.step    = 10
>    f.parameters.auto_expand = true
>
> (where f is the font object for font.define(f))
>
> Without posting a complete minimal example: can someone tell me if these parameters look OK or if I am missing anything "obvious"?
I think, but might be completely mistaken, that they're ok... but wrong: 
those parameters are not supposed to be set like that, but when the font 
is created; i.e. there lacks what \pdffontexpand does, that is creating 
two ghost fonts. In other words, once a font has been loaded, those 
parameters are only informative, and changing them is useless.

Best,
Paul


More information about the luatex mailing list