summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorLuigi Scarso <luigi.scarso@gmail.com>2018-01-19 12:07:30 +0000
committerLuigi Scarso <luigi.scarso@gmail.com>2018-01-19 12:07:30 +0000
commit2e14b596334c46ea67a932c0b29800e06908badc (patch)
treed2d989557d089c30d3205aa1b3c1422d0cdb0634 /Build
parent718c40eeac4f48ed8821a849a4c622bcf048b766 (diff)
LuaTeX 1.07.0: more granularity in kern reporting
git-svn-id: svn://tug.org/texlive/trunk@46385 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r--Build/source/texk/web2c/luatexdir/tex/texnodes.w10
1 files changed, 8 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/luatexdir/tex/texnodes.w b/Build/source/texk/web2c/luatexdir/tex/texnodes.w
index d0008b08fc8..0c8bdb83726 100644
--- a/Build/source/texk/web2c/luatexdir/tex/texnodes.w
+++ b/Build/source/texk/web2c/luatexdir/tex/texnodes.w
@@ -3205,11 +3205,17 @@ void show_node_list(int p)
/* An ``explicit'' kern value is indicated implicitly by an explicit space. */
if (subtype(p) != mu_glue) {
tprint_esc("kern");
+ /*
if (subtype(p) != normal)
print_char(' ');
+ */
print_scaled(width(p));
- if (subtype(p) == accent_kern)
- tprint(" (for accent)");
+ if (subtype(p) == font_kern)
+ tprint(" (font)");
+ else if (subtype(p) == italic_kern)
+ tprint(" (italic)");
+ else if (subtype(p) == accent_kern)
+ tprint(" (accent)");
} else {
tprint_esc("mkern");
print_scaled(width(p));