Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

mkluatexfontdb not working properly

Help
2012-06-13
2012-10-17
  • johnny_canuck
    johnny_canuck
    2012-06-13

    Using MikTeX 2,9 under Win 7. Recently installed (sepcifically asama-math). I
    check and it is indeed installed in

    C:\Program Files (x86)\MiKTeX 2.9\fonts\opentype\public\asana-math

    However, when I tried to use the font using lualatex, I keep generating an
    error message that the font isn't found. I looked at otfl-names.lua, and sure
    enough, the font isn't included (which, of course, is why lualatex wasn't
    finding it).

    So, I went command line (administrator mode), and ran

    mkluatexfontdb -f -vvv

    Piped the output to a file. Looked at the file, and found the following:

    luaotfload | 0 fonts found in 'C:/Program Files (x86)/MiKTeX
    2.9/fonts/opentype/public'
    luaotfload | scanning 'C:/Program Files (x86)/MiKTeX 2.9/fonts/opentype/public
    /asana-math'
    luaotfload | 0 'otf' fonts found
    luaotfload | 0 'OTF' fonts found
    luaotfload | 0 'ttf' fonts found
    luaotfload | 0 'TTF' fonts found
    luaotfload | 0 'ttc' fonts found
    luaotfload | 0 'TTC' fonts found
    luaotfload | 0 'dfont' fonts found
    luaotfload | 0 'DFONT' fonts found
    luaotfload | 0 fonts found in 'C:/Program Files (x86)/MiKTeX
    2.9/fonts/opentype/public/asana-math'

    So, even though there is an otf font there (Asana-Math.otf), mkluatexfontdb
    isn't finding it. In fact, I noticed it isn't rading in any of the fonts in
    C:/Program Files (x86)/MiKTeX 2.9/fonts/opentype/public/' (not just Asana-
    Math).

    I have no idea why this is happening. Any suggestions as to what to try?

    Thanks in advance....

     
  • The Lua script does not handle parentheses in the directory name
    ("...(x86)..."). I guess that the parentheses are interpreted as part of a
    regular expression.