summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-02-24 21:24:28 +0000
committerKarl Berry <karl@freefriends.org>2022-02-24 21:24:28 +0000
commit82eb11c54d637e14a77dd4db30ef7e6df9191616 (patch)
tree2b766461af7d69982a5afac8e112b4ca47c91a07 /Build/source/texk/web2c
parent6e922624573a562ed99399bed160bc430388fa90 (diff)
dvitype: avoid crashing fnt_def output
git-svn-id: svn://tug.org/texlive/trunk@62168 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c')
-rw-r--r--Build/source/texk/web2c/ChangeLog11
-rw-r--r--Build/source/texk/web2c/dvitype.ch8
2 files changed, 19 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/ChangeLog b/Build/source/texk/web2c/ChangeLog
index 9bd41efd0c0..bda3e1954df 100644
--- a/Build/source/texk/web2c/ChangeLog
+++ b/Build/source/texk/web2c/ChangeLog
@@ -1,3 +1,14 @@
+2022-02-24 Karl Berry <karl@freefriends.org>
+
+ * dvitype.ch (scan_bop, [99]): output a newline between
+ font definitions so they do not run together.
+ From Igor Liferenko,
+ https://tug.org/pipermail/tex-k/2022-January/003760.html (change#3).
+ Original report part of
+ https://tug.org/pipermail/tex-k/2021-November/003711.html,
+ and a first patch from Andreas Scherer in that thread,
+ https://tug.org/pipermail/tex-k/2021-November/003721.html.
+
2022-02-18 Andreas Scherer <https://ascherer.github.io>
* cwebboot.cin,
diff --git a/Build/source/texk/web2c/dvitype.ch b/Build/source/texk/web2c/dvitype.ch
index 7c0155943b1..3c750d92a67 100644
--- a/Build/source/texk/web2c/dvitype.ch
+++ b/Build/source/texk/web2c/dvitype.ch
@@ -488,6 +488,14 @@ endcases;
if show_opcodes and (o >= 128) then print (' {', o:1, '}');
@z
+@x [99]
+ begin define_font(first_par(k)); k:=nop;
+@y
+ begin define_font(first_par(k));
+ if out_mode<>errors_only then print_ln(' ');
+ k:=nop;
+@z
+
@x [107] (main) No dialog; remove unused label.
dialog; {set up all the options}
@y