summaryrefslogtreecommitdiff
path: root/luaotfload.dtx
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2010-07-15 16:46:40 +0300
committerKhaled Hosny <khaledhosny@eglug.org>2010-07-15 17:00:52 +0300
commit89ec47708d84d0a7951f952f5ba23191a8d67ed1 (patch)
treee57f620b1b2a4e6805a7c7f3994bf62c8f53c3d7 /luaotfload.dtx
parent40258f4cb81959a4abba74c0af4d89f15c21b228 (diff)
downloadluaotfload-89ec47708d84d0a7951f952f5ba23191a8d67ed1.tar.gz
Fix for \overwithdelims and brothers
We now fill in two extra math constants, FractionDelimiterSize and FractionDelimiterDisplayStyleSize. See: http://tug.org/pipermail/luatex/2010-July/001741.html
Diffstat (limited to 'luaotfload.dtx')
-rw-r--r--luaotfload.dtx3
1 files changed, 3 insertions, 0 deletions
diff --git a/luaotfload.dtx b/luaotfload.dtx
index b9cf7eb..7e6283b 100644
--- a/luaotfload.dtx
+++ b/luaotfload.dtx
@@ -672,6 +672,9 @@ local function def_font(...)
fontdata.MathConstants[k] = v / units * size
end
end
+ -- for \overwithdelims
+ fontdata.MathConstants["FractionDelimiterSize"] = 1.01 * size
+ fontdata.MathConstants["FractionDelimiterDisplayStyleSize"] = 2.39 * size
end
end