[luatex] fontloader in iniTeX

Hans Hagen pragma at wxs.nl
Tue Aug 9 09:44:44 CEST 2016


On 8/9/2016 9:41 AM, Pali Rohár wrote:
> On Sunday 31 July 2016 12:16:59 Pali Rohár wrote:
>> Hi!
>>
>> I tried to preload csr10 font with fontloader into TeX format during
>> iniTeX run:
>>
>> \font\csr=file:csr10.tfm:reencode=auto;mode=node;liga=yes;kern=yes
>>
>> On output terminal I see these lines:
>>
>> \font\csr=csr10
>> \font\^^@=csr10
>>
>> But when I tried to use that \csr font in document then all ligatures
>> and kerning are ignored (or not used). Any idea where is problem?
>>
>> Note that font is correctly encoded and everything looks good, just
>> output looks to be same as if font was loaded without liga=yes;kern=yes
>> parameters...
>>
>
> Hans, any idea why kerns are ignored when font is dumped into format
> during iniTeX run?

don't dump fonts, just load then at runtime  (it's fast enough)

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