[lltx] Opentype font loading problem

Arun Dev arundvrjn at gmail.com
Sun Jul 18 14:42:31 CEST 2010


Hello,

        Running mkluatexfontdb indexes all otf fonts in the
windows\fonts folder.

luaotfload | Scanning OS fonts...
luaotfload | Searching in static system directories...
luaotfload | scanning 'C:/WINDOWS/Fonts'
luaotfload | 181 'otf' fonts found
luaotfload | 0 'OTF' fonts found
luaotfload | 146 'ttf' fonts found
luaotfload | 122 'TTF' fonts found
luaotfload | 0 'ttc' fonts found
luaotfload | 1 'TTC' fonts found
luaotfload | 0 'dfont' fonts found
luaotfload | 0 'DFONT' fonts found
luaotfload | 450 fonts found in 'C:/WINDOWS/Fonts'

luaotfload | loading font: c:/windows/fonts/minionpro-bold.otf
luaotfload | loading font: c:/windows/fonts/minionpro-boldit.otf
luaotfload | loading font: c:/windows/fonts/minionpro-it.otf
luaotfload | loading font: c:/windows/fonts/minionpro-regular.otf


But \setmainfont[Ligatures=TeX]{Minion Pro} does not work. I get the
following error message.


luaotfload | Font names database loaded: $TEXMFVAR/luatex-cache/generic/names/o
tfl-names.lua
luaotfload | Updating the font names database:
luaotfload | Scanning TEXMF fonts...
luaotfload | Scanning OS fonts...
luaotfload | define font: font with name Minion Pro is not found
luaotfload | define font: unknown font Minion Pro, loading aborted
! Font \zf at basefont=name:Minion Pro at 10pt not loadable: metric data not found
 or bad.
<to be read again>
                   \let
l.12 \setmainfont[Ligatures=TeX]{Minion Pro}

?
! Emergency stop.
<to be read again>
                   \let
l.12 \setmainfont[Ligatures=TeX]{Minion Pro}

End of file on the terminal!



Here is how much of LuaTeX's memory you used:
 7964 strings out of 257185
 100000,221844 words of node,token memory allocated 239 words of node
memory still in use:
   1 hlist, 1 rule, 1 attribute, 38 glue_spec, 1 attribute_list, 1 write, 1 dir
 nodes
   avail lists: 2:15,3:1,4:2,6:2,7:1,9:3
 11368 multiletter control sequences out of 65536+200000
 16 fonts using 520871 bytes
 47i,0n,35p,292b,70s stack positions out of 3000i,500n,5000p,500000b,5000s
!  ==> Fatal error occurred, no output PDF file produced!

But \setmainfont[Ligatures=TeX]{Times New Roman} works (Times New
Roman TTF). I can use Minion Pro fonts (or any opentype font) if I
place them in C:\w32tex\share\texmf\fonts\opentype\public\minion
folder.


Thanks


More information about the lualatex-dev mailing list