summaryrefslogtreecommitdiff
path: root/tex/context/base/mkxl/font-ini.mklx
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/mkxl/font-ini.mklx')
-rw-r--r--tex/context/base/mkxl/font-ini.mklx13
1 files changed, 6 insertions, 7 deletions
diff --git a/tex/context/base/mkxl/font-ini.mklx b/tex/context/base/mkxl/font-ini.mklx
index 6a926bcbd..c30a610cc 100644
--- a/tex/context/base/mkxl/font-ini.mklx
+++ b/tex/context/base/mkxl/font-ini.mklx
@@ -921,16 +921,15 @@
%
\glyphscale
\ifnum\c_font_scaled_font_mode_saved>\plusfour
+ % \c_font_scaled_points is set when we pass the font to the engine
\numexpr\plusthousand*\dimexpr\d_font_scaled_default\relax/\c_font_scaled_points\relax
\else
\c_font_future_glyph_scale
\fi
-% \ifempty\somefontsizex\else
-% \edef\somefontsizex{\glyphxscale\somefontsizex\relax}% todo: inserts relax
-% \fi
-% \ifempty\somefontsizey\else
-% \edef\somefontsizey{\glyphyscale\somefontsizey\relax}%
-% \fi
+ % experiment
+ \glyphxscale\ifempty\somefontsizex\plusthousand\else\somefontsizex\fi\relax
+ \glyphyscale\ifempty\somefontsizey\plusthousand\else\somefontsizey\fi\relax
+ % experiment
\expandafter\let\expandafter\lastrawfontcall\csname#csname\endcsname
\ifrelax\lastrawfontcall
\let\somefontspec\empty
@@ -2138,7 +2137,7 @@
\enforced\let\tx\empty
\enforced\let\txx\empty}
-%D This alterative is not really needed, but for old time's sake we keep it there.
+%D This alternative is not really needed, but for old time's sake we keep it there.
%D We can speed it up when needed.
\def\font_helpers_set_current_font_x_style_alternative #alternative{\csname#alternative\endcsname\tx}