If you don't load fontspec
, the font management in LuaLaTeX is exactly the same as with pdflatex
. The terminal output of the first run example with lualatex
is
This is LuaTeX, Version beta-0.70.1-2011062107 (rev 4277)
restricted \write18 enabled.
(./xavier.tex
LaTeX2e <2011/06/27>
LuaTeX adaptation of babel <v3.8l-luatex-1.5> and hyphenation patterns for engl
ish, dumylang, nohyphenation, loaded.
(/usr/local/texlive/2011/texmf-dist/tex/latex/base/minimal.cls
Document Class: minimal 2001/05/25 Standard LaTeX minimal class
) (/usr/local/texlive/2011/texmf-dist/tex/latex/kurier/kurier.sty)
(./xavier.aux)
(/usr/local/texlive/2011/texmf-dist/tex/latex/kurier/ot1kurierl.fd)
(/usr/local/texlive/2011/texmf-dist/tex/latex/kurier/ot1kurierlm.fd)
(/usr/local/texlive/2011/texmf-dist/tex/latex/kurier/omlkurierl.fd)
(/usr/local/texlive/2011/texmf-dist/tex/latex/kurier/omskurierl.fd)
(/usr/local/texlive/2011/texmf-dist/tex/latex/kurier/omxkurierl.fd) [1{/usr/loc
al/texlive/2011/texmf-var/fonts/map/pdftex/updmap/pdftex.map}] (./xavier.aux) )
237 words of node memory still in use:
2 hlist, 1 vlist, 1 rule, 2 glue, 33 glue_spec, 1 write nodes
avail lists: 2:13,3:21,4:33,5:5,6:22,7:2,9:22
{/usr/local/texlive/2011/texmf-dist/fonts/enc/dvips/kurier/ex-kurier.enc}{/usr/
local/texlive/2011/texmf-dist/fonts/enc/dvips/kurier/sy-kurier.enc}{/usr/local/
texlive/2011/texmf-dist/fonts/enc/dvips/kurier/rm-kurier.enc}{/usr/local/texliv
e/2011/texmf-dist/fonts/enc/dvips/kurier/mi-kurier.enc}</usr/local/texlive/2011
/texmf-dist/fonts/type1/nowacki/kurier/kurierl.pfb></usr/local/texlive/2011/tex
mf-dist/fonts/type1/nowacki/kurier/kurierli.pfb>
Output written on xavier.pdf (1 page, 35690 bytes).
Transcript written on xavier.log.
while with pdflatex
is
This is pdfTeX, Version 3.1415926-2.3-1.40.12 (TeX Live 2011)
restricted \write18 enabled.
entering extended mode
(./xavier.tex
LaTeX2e <2011/06/27>
Babel <v3.8m> and hyphenation patterns for english, dumylang, nohyphenation, ge
rman-x-2011-07-01, ngerman-x-2011-07-01, afrikaans, ancientgreek, ibycus, arabi
c, armenian, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danis
h, dutch, ukenglish, usenglishmax, esperanto, estonian, ethiopic, farsi, finnis
h, french, friulan, galician, german, ngerman, swissgerman, monogreek, greek, h
ungarian, icelandic, assamese, bengali, gujarati, hindi, kannada, malayalam, ma
rathi, oriya, panjabi, tamil, telugu, indonesian, interlingua, irish, italian,
kurmanji, lao, latin, latvian, lithuanian, mongolian, mongolianlmc, bokmal, nyn
orsk, polish, portuguese, romanian, romansh, russian, sanskrit, serbian, serbia
nc, slovak, slovenian, spanish, swedish, turkish, turkmen, ukrainian, uppersorb
ian, welsh, loaded.
(/usr/local/texlive/2011/texmf-dist/tex/latex/base/minimal.cls
Document Class: minimal 2001/05/25 Standard LaTeX minimal class
) (/usr/local/texlive/2011/texmf-dist/tex/latex/kurier/kurier.sty)
(./xavier.aux)
(/usr/local/texlive/2011/texmf-dist/tex/latex/kurier/ot1kurierl.fd)
(/usr/local/texlive/2011/texmf-dist/tex/latex/kurier/ot1kurierlm.fd)
(/usr/local/texlive/2011/texmf-dist/tex/latex/kurier/omlkurierl.fd)
(/usr/local/texlive/2011/texmf-dist/tex/latex/kurier/omskurierl.fd)
(/usr/local/texlive/2011/texmf-dist/tex/latex/kurier/omxkurierl.fd) [1{/usr/loc
al/texlive/2011/texmf-var/fonts/map/pdftex/updmap/pdftex.map}] (./xavier.aux) )
{/usr/local/texlive/2011/texmf-dist/fonts/enc/dvips/kurier/ex-kurier.enc}{/usr/
local/texlive/2011/texmf-dist/fonts/enc/dvips/kurier/sy-kurier.enc}{/usr/local/
texlive/2011/texmf-dist/fonts/enc/dvips/kurier/rm-kurier.enc}{/usr/local/texliv
e/2011/texmf-dist/fonts/enc/dvips/kurier/mi-kurier.enc}</usr/local/texlive/2011
/texmf-dist/fonts/type1/nowacki/kurier/kurierl.pfb></usr/local/texlive/2011/tex
mf-dist/fonts/type1/nowacki/kurier/kurierli.pfb>
Output written on xavier.pdf (1 page, 35805 bytes).
Transcript written on xavier.log.
and they differ essentially only in the loaded languages.
pdflatex
and lualatex
(without fontspec
) don't use OpenType fonts, but only Type1 fonts, with OMS, OML and OMX encoded fonts for math, relying on .tfm
files for information about glyphs and extendable characters like parentheses. In this particular case, the Type1 fonts for OMS, OML, OMX and OT1 reside all in the two .pfb
files kurier.pfb
and kurierli.pfb
and the various glyphs are selected via reencoding, as made clear by the loading of the files
ex-kurier.enc
sy-kurier.enc
rm-kurier.enc
mi-kurier.enc
The OpenType font Kurier Light doesn't have the math glyphs and the math tables that might make it be usable by unicode-math
. Until their developer adds the support for Unicode Math, the OpenType Kurier font cannot be used as an argument for \setmathfont
in a reliable way.
\left
and\right
work with an OpenType font, but only if it has specific math tables and glyphs, which Kurier doesn't have..log
askurierl.pfb
andkurierli.pfb
. They are Type1 fonts that contain also the math fonts and are reencoded usingex-kurier.enc
,sy-kurier.enc
andrm-kurier.enc
. TeX is able to use the information provided in the proper.tfm
files (whichunicode-math
can't use, of course).fontspec
, LuaLaTeX behaves exactly like pdflatex.