summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/font-emp.mklx
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2019-08-09 21:12:52 +0200
committerContext Git Mirror Bot <phg@phi-gamma.net>2019-08-09 21:12:52 +0200
commit76a1861b8ff7c2befbc41270833a4a0919c93c30 (patch)
tree0053915db1de56ac3da2a1415b5447bf66acd81f /tex/context/base/mkiv/font-emp.mklx
parente92fac1b64f7969cadd8ae60f336c43624250d42 (diff)
downloadcontext-76a1861b8ff7c2befbc41270833a4a0919c93c30.tar.gz
2019-08-09 18:36:00
Diffstat (limited to 'tex/context/base/mkiv/font-emp.mklx')
-rw-r--r--tex/context/base/mkiv/font-emp.mklx6
1 files changed, 3 insertions, 3 deletions
diff --git a/tex/context/base/mkiv/font-emp.mklx b/tex/context/base/mkiv/font-emp.mklx
index 7eaf0a24f..2bd6f3cf9 100644
--- a/tex/context/base/mkiv/font-emp.mklx
+++ b/tex/context/base/mkiv/font-emp.mklx
@@ -164,7 +164,7 @@
\futurelet\nexttoken\font_emphasis_test}
\def\font_emphasis_test
- {\ifcat\noexpand\nexttoken,% still ok?
+ {\ifcat\noexpand\nexttoken,% we can do better in luatex ... some day ...
\expandafter\font_emphasis_a
\else
\expandafter\font_emphasis_b
@@ -175,7 +175,7 @@
\def\font_emphasis_correction
{\setbox\scratchbox\hbox{\nexttoken}% tricky as next can be a macro
- \ifdim\ht\scratchbox=\zeropoint % probably a space
+ \ifzeropt\ht\scratchbox % probably a space
\expandafter\font_emphasis_b
\orelse\ifdim\ht\scratchbox<.3\exheight
\expandafter\expandafter\expandafter\endgroup
@@ -185,7 +185,7 @@
\def\font_emphasis_b
{\scratchskip\lastskip
- \ifdim\scratchskip=\zeropoint\relax % == \ifzeropt\scratchskip
+ \ifzeropt\scratchskip
\italiccorrection\relax
\else
\unskip\italiccorrection\hskip\scratchskip