diff options
author | Philipp Gesang <phg42.2a@gmail.com> | 2013-05-08 12:37:19 +0200 |
---|---|---|
committer | Philipp Gesang <phg42.2a@gmail.com> | 2013-05-08 12:37:19 +0200 |
commit | 9c8b4e0d6b2ca6557b490513a4d90182df12d16d (patch) | |
tree | ef50e53bfc9aa3bb04eff5c63cd7ad57bb7bfe99 | |
parent | 52136f671bf0f3bd35804b19fa979a85528e9a95 (diff) | |
download | luaotfload-9c8b4e0d6b2ca6557b490513a4d90182df12d16d.tar.gz |
adjust font sizing with nonstandard em sizes
-rw-r--r-- | luaotfload-auxiliary.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/luaotfload-auxiliary.lua b/luaotfload-auxiliary.lua index 5de964d..2d459d0 100644 --- a/luaotfload-auxiliary.lua +++ b/luaotfload-auxiliary.lua @@ -64,7 +64,7 @@ local add_fontdata_fallbacks = function (fontdata) metadata = fontdata.shared.rawdata.metadata fontdata.units = fontparameters.units local resources = fontdata.resources - fontdata.size = fontparameters.size + fontdata.size = fontparameters.size * fontdata.units / 1000 --- for legacy fontspec.lua and unicode-math.lua fontdata.shared.otfdata = metadata fontdata.shared.otfdata.metadata = metadata --- brr, that’s meta indeed |