summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/font-emp.mklx
diff options
context:
space:
mode:
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