summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-04-18 22:44:32 +0000
committerKarl Berry <karl@freefriends.org>2024-04-18 22:44:32 +0000
commit18ad519a626ef2d9b630bcfda696435343df76e9 (patch)
tree96404d06d1ce6b3995fcd551569a0d7ab551da74 /Build
parent488c1c703069d235e225c2f4576c65a690a0d449 (diff)
interword spaces on overfull lines can be smaller than space-space_shrink, so increase tolerance by 1pt
git-svn-id: svn://tug.org/texlive/trunk@70987 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r--Build/source/texk/web2c/pdftexdir/ChangeLog7
-rw-r--r--Build/source/texk/web2c/pdftexdir/pdftex.web2
2 files changed, 8 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/pdftexdir/ChangeLog b/Build/source/texk/web2c/pdftexdir/ChangeLog
index 0e257a8e574..c8586f3bbee 100644
--- a/Build/source/texk/web2c/pdftexdir/ChangeLog
+++ b/Build/source/texk/web2c/pdftexdir/ChangeLog
@@ -1,3 +1,10 @@
+2024-04-18 Thanh Han The <hanthethanh@gmail.com>
+
+ * pdftex.web (pdf_begin_string): increase tolerance for finding
+ interword spaces by 1pt, since overfull lines can have smaller
+ spaces than space-space_shrink. Report from Ulrike,
+ https://tug.org/pipermail/pdftex/2024-April/009388.html
+
2024-03-10 Karl Berry <karl@tug.org>
* TL'24 release.
diff --git a/Build/source/texk/web2c/pdftexdir/pdftex.web b/Build/source/texk/web2c/pdftexdir/pdftex.web
index 39cf8052b39..510e32fd5be 100644
--- a/Build/source/texk/web2c/pdftexdir/pdftex.web
+++ b/Build/source/texk/web2c/pdftexdir/pdftex.web
@@ -16240,7 +16240,7 @@ begin
if gen_faked_interword_space
and pdf_doing_string
and (not must_end_string)
- and (s_out > space(f) - space_shrink(f))
+ and (s_out > space(f) - space_shrink(f) - 65536)
and (v = 0)
then begin
must_insert_space := true;