This repository has been archived by the owner. It is now read-only.
Messed up font names. #54
Comments
|
Dear Simifilm, There is now a centralized issue tracker here : https://github.com/lualatex/luaotfload/, can you report your issue here too? Thank you! |
|
Done. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm not sure whether this is a duplicate or not. If it is sorry, for the noise.
While playing around with lualatexon TL 13 I encountered a strange problem. Certain font shapes would produce an error without any visible reason. The following example is with Stempel Garamond LT Std from Adobe's Font Folio 11, but I've encountered this with other fonts as well.
This leads to the following error message:
According to the answer given on tex.stackexchange.com the problem is the following:
This seems to be a bug in luaotfload and/or luatex with \fontname. It is triggered here because fontspec declares the italic font as a substitute for the (non-existent) slanted font. This will call latex's \do@subst@correction, which uses \fontname\font to load the substitute font. But with luatex (and luaotfload), \fontname\font wrongly returns the full path of the font (in your case /Users/simi/FontExplorerX/S/Stempel Garamond LT Std Italic/StempelGaramondLTStdItalic.otf) instead of its "name" ("StempelGaramondLTStdItalic:mode=node;script=latn;language=DFLT;+tlig;+trep;" at 10.95pt). This in turn will make \font explode.
You can prevent this from happening by specifying the slanted font explicitly, thus circumventing the substitution mess:
This solution does indeed work.
The text was updated successfully, but these errors were encountered: