diff options
Diffstat (limited to 'luaotfload-auxiliary.lua')
-rw-r--r-- | luaotfload-auxiliary.lua | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/luaotfload-auxiliary.lua b/luaotfload-auxiliary.lua index be380e3..999bc22 100644 --- a/luaotfload-auxiliary.lua +++ b/luaotfload-auxiliary.lua @@ -64,10 +64,8 @@ local add_fontdata_fallbacks = function (fontdata) fontdata.units = fontdata.units_per_em else --- otf - metadata = fontdata.shared.rawdata.metadata - fontdata.name = fontdata.name - or fontdata.fullname - or fontdata.psname + metadata = fontdata.shared.rawdata.metadata + fontdata.name = metadata.origname or fontdata.name fontdata.units = fontdata.units_per_em fontdata.size = fontdata.size or fontparameters.size local resources = fontdata.resources |