[lltx] Opentype font loading problem

Will Robertson wspr81 at gmail.com
Mon Jul 19 06:11:38 CEST 2010


On 18/07/2010, at 10:12 PM, Arun Dev wrote:

> 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
> 
[snip]

> ! Font \zf at basefont=name:Minion Pro at 10pt not loadable: metric data not found
> or bad.

Can anyone with Windows reproduce this behaviour?

If you can locate the font cache file (somewhere like texmf-var/luatex-cache/generic/names/otfl-names.lua) it will contain entries for each font like

   ["familyname"]="Warnock Pro",
   ["filename"]={ "/Users/will/Library/Fonts/Adobe/Warnock/WarnockPro-Regular.otf", false },
   ["fontname"]="WarnockPro-Regular",
   ["fontstyle_name"]="Regular",
   ["fullname"]="Warnock Pro Regular",
   ["names"]={
    ["family"]="Warnock Pro",
    ["fullname"]="WarnockPro-Regular",
    ["psname"]="WarnockPro-Regular",
    ["subfamily"]="Regular",
   },
   ["size"]={ 110, 129, 89 },
   ["slant"]=0,
   ["weight"]=400,
   ["width"]=5,

which will help you discover the "familyname" that you need to access Minion Pro with.

-- Will




More information about the lualatex-dev mailing list