[Fontinst] \resetint{letterspacing}{}

LarsHellström Lars.Hellstrom at math.umu.se
Tue Mar 4 23:25:11 CET 2003


At 18.21 +0100 2003-03-04, Peter Harmand wrote:
>% begin{fragment}
>\transformfont{mosc}{\reencodefont{8y}{\fromafm{mosc____}}}
>
>\setint{letterspacing}{150}
>\installfont{test150}{mosc,ssls,8y}{8yls}{}{}{}{}{}
>
>\resetint{letterspacing}{100}
>\installfont{test100}{mosc,ssls,8y}{8yls}{}{}{}{}{}
>% end{fragment}
>
>This gives in test100.vpl the correct new space on the boundaries
>but the old first space between the two s:

This could be due to \installfont caching the glyph base. Try changing the
second \installfont to

  \installfont{test100}{mosc,ssls,8y,\metrics}{8yls}{}{}{}{}{}

This \metrics item won't do anything, but it will make the respective
second arguments distinct, and that prevents caching. Another alternative
(which should work also with fontinst v1.8) is

  \installfont{test100}{mosc,ssls,8y scaled 1000}{8yls}{}{}{}{}{}

Lars Hellström




More information about the fontinst mailing list