From 89ec47708d84d0a7951f952f5ba23191a8d67ed1 Mon Sep 17 00:00:00 2001
From: Khaled Hosny <khaledhosny@eglug.org>
Date: Thu, 15 Jul 2010 16:46:40 +0300
Subject: 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
---
 luaotfload.dtx | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'luaotfload.dtx')

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
-- 
cgit v1.2.3

