[lltx] Opentype font loading problem

Arun Dev arundvrjn at gmail.com
Mon Jul 19 06:55:43 CEST 2010


On 7/19/10, Will Robertson <wspr81 at gmail.com> wrote:
> 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
>
>


Hi,

          I deleted the minion folder in
C:\w32tex\share\texmf\fonts\opentype\public and did a rerun of
mkluatexfontdb. My font cache contains the following lines.

{
   ["familyname"]="Minion Pro",
   ["filename"]={ "minionpro-bold.otf", false },
   ["fontname"]="MinionPro-Bold",
   ["fontstyle_name"]="Bold",
   ["fullname"]="Minion Pro Bold",
   ["names"]={
    ["family"]="Minion Pro",
    ["fullname"]="MinionPro-Bold",
    ["psname"]="MinionPro-Bold",
    ["subfamily"]="Bold",
   },
   ["size"]={ 110, 130, 84 },
   ["slant"]=0,
   ["weight"]=700,
   ["width"]=5,
  },
  {
   ["familyname"]="Minion Pro",
   ["filename"]={ "minionpro-boldit.otf", false },
   ["fontname"]="MinionPro-BoldIt",
   ["fontstyle_name"]="Bold Italic",
   ["fullname"]="Minion Pro Bold Italic",
   ["names"]={
    ["family"]="Minion Pro",
    ["fullname"]="Minion Pro Bold Ital",
    ["psname"]="MinionPro-BoldIt",
    ["subfamily"]="Bold Italic",
   },
   ["size"]={ 110, 130, 84 },
   ["slant"]=-12,
   ["weight"]=700,
   ["width"]=5,
  },
  {
   ["familyname"]="Minion Pro",
   ["filename"]={ "minionpro-it.otf", false },
   ["fontname"]="MinionPro-It",
   ["fontstyle_name"]="Italic",
   ["fullname"]="Minion Pro Italic",
   ["names"]={
    ["family"]="Minion Pro",
    ["fullname"]="Minion Pro Ital",
    ["psname"]="MinionPro-It",
    ["subfamily"]="Italic",
   },
   ["size"]={ 110, 130, 84 },
   ["slant"]=-12,
   ["weight"]=400,
   ["width"]=5,
  },
  {
   ["familyname"]="Minion Pro",
   ["filename"]={ "minionpro-regular.otf", false },
   ["fontname"]="MinionPro-Regular",
   ["fontstyle_name"]="Regular",
   ["fullname"]="Minion Pro Regular",
   ["names"]={
    ["family"]="Minion Pro",
    ["fullname"]="MinionPro-Regular",
    ["psname"]="MinionPro-Regular",
    ["subfamily"]="Regular",
   },
   ["size"]={ 110, 130, 84 },
   ["slant"]=0,
   ["weight"]=400,
   ["width"]=5,
  },


But \setmainfont[Ligatures=TeX]{Minion Pro} is not working.


More information about the lualatex-dev mailing list