diff options
author | Philipp Gesang <phg42.2a@gmail.com> | 2013-05-10 23:20:59 -0700 |
---|---|---|
committer | Philipp Gesang <phg42.2a@gmail.com> | 2013-05-10 23:20:59 -0700 |
commit | 893cef29de78e44751d3e4c5603090c5c6c5108e (patch) | |
tree | c9dd2785626def5b922ff11ebd00204410681ea3 /luaotfload-auxiliary.lua | |
parent | e6b84660875c89de138ebc0e9c9e9e9dbaa6db76 (diff) | |
parent | ff293e501884b1d90befa05d5331cc7ff74b91c6 (diff) | |
download | luaotfload-893cef29de78e44751d3e4c5603090c5c6c5108e.tar.gz |
Merge pull request #59 from phi-gamma/master
fontspec compatibility
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 |