Vasile Gaburici wrote:
Feel free to fiddle with the sort function if you name fonts differently, but you need to make sure that bold italic gets loaded before bold for the bug to occur.
Ok, bug found and squashed. Patch is below
Okay, I've updated to the latest beta. Recursive OSFONTDIR works now for "script --fonts --reload" and for "context", but "script --fonts --list" is broken: no output.
Hans changed the commandline so that "nothing" is no longer the same as "*". This works: $ mtxrun script --fonts --list \* Best wishes, Taco --- font-syn.lua.old 2008-08-13 14:47:44.000000000 +0200 +++ font-syn.lua 2008-08-14 10:25:13.631806083 +0200 @@ -133,7 +133,8 @@ fontname = fontname or result.fontname add(result.fontname, fontname, filename, suffix, is_sub) end - if result.familyname and result.weight then + if result.familyname and result.weight and + result.italicangle == 0 then local madename = result.familyname .. " " .. result.weight fontname = fontname or madename add(madename, fontname, filename, suffix, is_sub)