summaryrefslogtreecommitdiff
path: root/luaotfload-auxiliary.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2013-05-08 03:41:19 -0700
committerPhilipp Gesang <phg42.2a@gmail.com>2013-05-08 03:41:19 -0700
commitae8ffd0615b797d91cd8799debf12e2891c5b0d2 (patch)
treeef50e53bfc9aa3bb04eff5c63cd7ad57bb7bfe99 /luaotfload-auxiliary.lua
parentbfe128deb88ae00efa37d4ebffc70b4bf8bf8a33 (diff)
parent9c8b4e0d6b2ca6557b490513a4d90182df12d16d (diff)
downloadluaotfload-ae8ffd0615b797d91cd8799debf12e2891c5b0d2.tar.gz
Merge pull request #50 from phi-gamma/master
``font-age.lua`` -> ``luaotfload-glyphlist.lua`` also address issue #51
Diffstat (limited to 'luaotfload-auxiliary.lua')
-rw-r--r--luaotfload-auxiliary.lua2
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