diff options
author | Khaled Hosny <khaledhosny@eglug.org> | 2011-02-20 21:35:42 +0200 |
---|---|---|
committer | Khaled Hosny <khaledhosny@eglug.org> | 2011-02-20 21:35:42 +0200 |
commit | 65e4796e902a55d952cc6f90d277632d9b947c84 (patch) | |
tree | 6466b9916e748a2790c055aa152180c96c274054 | |
parent | e9db0c1b4d5a293ed433fecc04262d841abd89bf (diff) | |
download | luaotfload-65e4796e902a55d952cc6f90d277632d9b947c84.tar.gz |
Code for setting \fontdimen10|11 moved to unicode-math
-rw-r--r-- | luaotfload.dtx | 19 |
1 files changed, 0 insertions, 19 deletions
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} % |