From commits+thanh at tug.org Thu Apr 18 11:09:58 2024 From: commits+thanh at tug.org (commits+thanh at tug.org) Date: Thu, 18 Apr 2024 11:09:58 +0200 Subject: pdftex[926] Message-ID: <202404180909.43I99w9t3135114@tug.org> Revision: 926 https://tug.org/svn/pdftex?view=revision&revision=926 Author: thanh Date: 2024-04-18 11:09:58 +0200 (Thu, 18 Apr 2024) Log Message: ----------- bugfix: space chars are lost in overfull lines Modified Paths: -------------- branches/stable/source/src/texk/web2c/pdftexdir/pdftex.web Modified: branches/stable/source/src/texk/web2c/pdftexdir/pdftex.web =================================================================== --- branches/stable/source/src/texk/web2c/pdftexdir/pdftex.web 2024-03-13 22:35:05 UTC (rev 925) +++ branches/stable/source/src/texk/web2c/pdftexdir/pdftex.web 2024-04-18 09:09:58 UTC (rev 926) @@ -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; From commits+thanh at tug.org Thu Apr 18 11:10:17 2024 From: commits+thanh at tug.org (commits+thanh at tug.org) Date: Thu, 18 Apr 2024 11:10:17 +0200 Subject: pdftex[927] branches/stable/tests/35-space-chars-lost-overfull: add Message-ID: <202404180910.43I9AHA83135166@tug.org> Revision: 927 https://tug.org/svn/pdftex?view=revision&revision=927 Author: thanh Date: 2024-04-18 11:10:17 +0200 (Thu, 18 Apr 2024) Log Message: ----------- add test: space chars are lost in overfull lines Added Paths: ----------- branches/stable/tests/35-space-chars-lost-overfull/ branches/stable/tests/35-space-chars-lost-overfull/Makefile branches/stable/tests/35-space-chars-lost-overfull/f.tex branches/stable/tests/35-space-chars-lost-overfull/pdftexspace.pfb branches/stable/tests/35-space-chars-lost-overfull/pdftexspace.tfm Added: branches/stable/tests/35-space-chars-lost-overfull/Makefile =================================================================== --- branches/stable/tests/35-space-chars-lost-overfull/Makefile (rev 0) +++ branches/stable/tests/35-space-chars-lost-overfull/Makefile 2024-04-18 09:10:17 UTC (rev 927) @@ -0,0 +1,7 @@ +include ../Common.mak + +test: + $(pdftex2) -ini f.tex + +clean: + $(clean) Added: branches/stable/tests/35-space-chars-lost-overfull/f.tex =================================================================== --- branches/stable/tests/35-space-chars-lost-overfull/f.tex (rev 0) +++ branches/stable/tests/35-space-chars-lost-overfull/f.tex 2024-04-18 09:10:17 UTC (rev 927) @@ -0,0 +1,14 @@ +\input plain.tex +\input pdftexconfig.tex +\input pdftexmagfix.tex + +\pdfinterwordspaceon +\pdfcompresslevel=0 +\pdfobjcompresslevel=0 +\font\x = cmr10 \x +\hsize=5cm +a a + +a a xxxxxxxxxxxxxxxxxxxx. +a a +\end Added: branches/stable/tests/35-space-chars-lost-overfull/pdftexspace.pfb =================================================================== --- branches/stable/tests/35-space-chars-lost-overfull/pdftexspace.pfb (rev 0) +++ branches/stable/tests/35-space-chars-lost-overfull/pdftexspace.pfb 2024-04-18 09:10:17 UTC (rev 927) @@ -0,0 +1 @@ +link /Users/thanh/IdeaProjects/pdftex/tests/28-fake-interword-space-updated/pdftexspace/pdftexspace.pfb \ No newline at end of file Property changes on: branches/stable/tests/35-space-chars-lost-overfull/pdftexspace.pfb ___________________________________________________________________ Added: svn:special ## -0,0 +1 ## +* \ No newline at end of property Added: branches/stable/tests/35-space-chars-lost-overfull/pdftexspace.tfm =================================================================== --- branches/stable/tests/35-space-chars-lost-overfull/pdftexspace.tfm (rev 0) +++ branches/stable/tests/35-space-chars-lost-overfull/pdftexspace.tfm 2024-04-18 09:10:17 UTC (rev 927) @@ -0,0 +1 @@ +link /Users/thanh/IdeaProjects/pdftex/tests/28-fake-interword-space-updated/pdftexspace/pdftexspace.tfm \ No newline at end of file Property changes on: branches/stable/tests/35-space-chars-lost-overfull/pdftexspace.tfm ___________________________________________________________________ Added: svn:special ## -0,0 +1 ## +* \ No newline at end of property