[luatex] fontloader in iniTeX

Hans Hagen pragma at wxs.nl
Sun Aug 14 12:10:21 CEST 2016

On 8/13/2016 11:48 PM, Pali Rohár wrote:
> On Tuesday 09 August 2016 14:08:39 Hans Hagen wrote:
>> it all depends on what you want to do:
> Using fontloader to load both OTF and TFM+PFB fonts.
>> On 8/9/2016 12:28 PM, Pali Rohár wrote:
>>> And problem is with \rm and default loaded font.
>> no problem .. all a matter of proper definitions
> I tried to postpone \font definition from iniTeX via \everyjob... but
> I'm unable to preload plain.tex into dump as it calls \skewchar,
> \textfont and other font definitions...

then load them at initime and afterwards redefine the font ones

also, plain loads traditional tfm files and if you load some other font, 
say a csr one, it's no longer plain and you then can as well add extra 
code to deal with this

if you want to use unicode, plain has to be extended anyway as math is 
also unicode then

>>>>> Anyway, it is limitation of fontloader or bug?
>>>> a feature
>>> In this way, it is not possible to dump any font into format :-(
>>> which also means that there is also no default font when starting
>>> tex.
>> i'm pretty sure that e.g. in context users get a default font even
>> when none is stored in the format (and i'm also sure that users want
>> different defaults fonts)
> Yes, but context is different from both plain and latex.

luatex-plain loads ok, so ... maybe your plain is different from plain


                                           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