[luatex] \font primitive does not read otf file

Petr Olsak petr at olsak.net
Wed Nov 28 21:03:27 CET 2012


I am starting with LuaTeX and I have problem to find the relevant 
documentation about \font primitive. There is only one document


page 7. It seems that the \font primitive works like in XeTeX. Thus I 
started with experiments:

    luatex -ini luatex.ini
    This is LuaTeX, Version beta-0.70.2-2012052410 (TeX Live 2012) (INITEX)
    Beginning to dump on file luatex.fmt
    (format=luatex 2012.11.28)
    3439 strings using 12961 bytes
    No pages of output.
    Transcript written on luatex.log.

OK, the format luatex.fmt is generated. Then I prepared the following 
document pok.tex:

\aa  text

Now, I run:

    luatex -fmt luatex pok
    This is LuaTeX, Version beta-0.70.2-2012052410 (TeX Live 2012)
    ! Font \aa=[lmroman10-regular] not loadable: metric data not found or bad.
    <to be read again>
    l.2 \aa

kpsewhich lmroman10-regular.otf says:


The same experiment with XeTeX passes without problems.

What is wrong?


Petr Olsak

More information about the luatex mailing list