[luatex] fontloader in iniTeX

Hans Hagen pragma at wxs.nl
Tue Aug 9 11:02:37 CEST 2016


On 8/9/2016 10:00 AM, Pali Rohár wrote:
> On Tuesday 09 August 2016 09:44:44 Hans Hagen wrote:
>> 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)
>
> I just want to have \ten* definitions so macros \rm \it \tt ... works
> automatically without need to re-define them in every one document.
>
> I do not like idea to define all those macros everytime in everyone
> document... As I think that for these situation can be TeX format used.

then define the \tt in such a way that the first thing it does is to 
load a font

> Anyway, it is limitation of fontloader or bug?

a feature

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