Skip to content

Commit

Permalink
interword spaces on overfull lines can be smaller than space-space_sh…
Browse files Browse the repository at this point in the history
…rink, so increase tolerance by 1pt

git-svn-id: svn://tug.org/texlive/trunk/Build/source@70987 c570f23f-e606-0410-a88d-b1316a301751
  • Loading branch information
kberry committed Apr 18, 2024
1 parent 2eb5c28 commit 0947411
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions texk/web2c/pdftexdir/ChangeLog
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion texk/web2c/pdftexdir/pdftex.web
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0947411

Please sign in to comment.