From 65e4796e902a55d952cc6f90d277632d9b947c84 Mon Sep 17 00:00:00 2001
From: Khaled Hosny <khaledhosny@eglug.org>
Date: Sun, 20 Feb 2011 21:35:42 +0200
Subject: Code for setting \fontdimen10|11 moved to unicode-math

---
 luaotfload.dtx | 19 -------------------
 1 file changed, 19 deletions(-)

(limited to 'luaotfload.dtx')

diff --git a/luaotfload.dtx b/luaotfload.dtx
index 091c16a..a1cd68d 100644
--- a/luaotfload.dtx
+++ b/luaotfload.dtx
@@ -623,25 +623,6 @@ local function def_font(...)
             mc.FractionDelimiterDisplayStyleSize = 2.39 * size
 
             fontdata.MathConstants = mc
-%    \end{macrocode}
-%
-% \luatex does not provide interface to accessing
-% \texttt{(Script)ScriptPercentScaleDown} math constants, so we emulate
-% \xetex behaviour by setting \cs{fontdimen10} and \cs{fontdimen11}.
-%
-% XXX: move to \texttt{unicode-math}.
-%
-%    \begin{macrocode}
-            if mc["ScriptPercentScaleDown"] then
-                fontdata.parameters[10] = mc.ScriptPercentScaleDown
-            else -- resort to plain TeX default
-                fontdata.parameters[10] = 70
-            end
-            if mc["ScriptScriptPercentScaleDown"] then
-                fontdata.parameters[11] = mc.ScriptScriptPercentScaleDown
-            else -- resort to plain TeX default
-                fontdata.parameters[11] = 50
-            end
         end
 %    \end{macrocode}
 %
-- 
cgit v1.2.3

