summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPhilipp Gesang <phg@phi-gamma.net>2017-02-01 19:17:11 +0100
committerPhilipp Gesang <phg@phi-gamma.net>2017-02-01 19:17:11 +0100
commit3b6387ea2a2814084db36bd9e574558feffcf96c (patch)
tree34cfd4d862845fb486e3707d98fcb023fbdffdc9 /src
parent94353abbdd9ce19c6ea417288bac4c97e6e1d3b3 (diff)
parent90acbbce3ff2b50929e18cb685961a1168f84075 (diff)
downloadluaotfload-3b6387ea2a2814084db36bd9e574558feffcf96c.tar.gz
Merge branch 'canonical-master'
Diffstat (limited to 'src')
-rw-r--r--src/luaotfload-database.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/luaotfload-database.lua b/src/luaotfload-database.lua
index 4a71d34..5e4fd7a 100644
--- a/src/luaotfload-database.lua
+++ b/src/luaotfload-database.lua
@@ -1049,8 +1049,8 @@ do
--- cf. TeXbook p. 57
local dimens = {
pt = function (v) return v end,
- bp = function (v) return (v * 7200) / 7227 end,
- dd = function (v) return (v * 1157) / 1238 end,
+ bp = function (v) return (v * 7227) / 7200 end,
+ dd = function (v) return (v * 1238) / 1157 end,
}
design_size_dimension = dimens.bp
@@ -1367,9 +1367,9 @@ local get_size_info do --- too many upvalues :/
design_range_top = ((design_range_top or fallback_size) * 2^16) / 10
design_range_bottom = ((design_range_bottom or fallback_size) * 2^16) / 10
- design_size = (design_size * 7200) / 7227
- design_range_top = (design_range_top * 7200) / 7227
- design_range_bottom = (design_range_bottom * 7200) / 7227
+ design_size = (design_size * 7227) / 7200
+ design_range_top = (design_range_top * 7227) / 7200
+ design_range_bottom = (design_range_bottom * 7227) / 7200
return {
design_size, design_range_top, design_range_bottom,