texlive[70987] Build/source/texk/web2c/pdftexdir: interword spaces on

commits+karl at tug.org commits+karl at tug.org
Fri Apr 19 00:44:32 CEST 2024


Revision: 70987
          https://tug.org/svn/texlive?view=revision&revision=70987
Author:   karl
Date:     2024-04-19 00:44:32 +0200 (Fri, 19 Apr 2024)
Log Message:
-----------
interword spaces on overfull lines can be smaller than space-space_shrink, so increase tolerance by 1pt

Modified Paths:
--------------
    trunk/Build/source/texk/web2c/pdftexdir/ChangeLog
    trunk/Build/source/texk/web2c/pdftexdir/pdftex.web

Modified: trunk/Build/source/texk/web2c/pdftexdir/ChangeLog
===================================================================
--- trunk/Build/source/texk/web2c/pdftexdir/ChangeLog	2024-04-18 22:38:26 UTC (rev 70986)
+++ trunk/Build/source/texk/web2c/pdftexdir/ChangeLog	2024-04-18 22:44:32 UTC (rev 70987)
@@ -1,3 +1,10 @@
+2024-04-18  Thanh Han The  <hanthethanh at 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 at tug.org>
 
 	* TL'24 release.

Modified: trunk/Build/source/texk/web2c/pdftexdir/pdftex.web
===================================================================
--- trunk/Build/source/texk/web2c/pdftexdir/pdftex.web	2024-04-18 22:38:26 UTC (rev 70986)
+++ trunk/Build/source/texk/web2c/pdftexdir/pdftex.web	2024-04-18 22:44:32 UTC (rev 70987)
@@ -16240,7 +16240,7 @@
     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;



More information about the tex-live-commits mailing list.