diff options
author | Hans Hagen <pragma@wxs.nl> | 2022-01-21 20:54:31 +0100 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2022-01-21 20:54:31 +0100 |
commit | b7a7de31716616b7a5176259e2b60349f8089615 (patch) | |
tree | 37709b2d66cd8baedb94c5efa42cac56b7aab67c /tex/context/base/mkxl/font-ini.mklx | |
parent | a16a68418d3acc0cfa13b8e5a5409263e4c2fedb (diff) | |
download | context-b7a7de31716616b7a5176259e2b60349f8089615.tar.gz |
2022-01-21 20:12:00
Diffstat (limited to 'tex/context/base/mkxl/font-ini.mklx')
-rw-r--r-- | tex/context/base/mkxl/font-ini.mklx | 13 |
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} |