pdftex[954] branches/stable/tests: test files from users for the font

commits+karl at tug.org commits+karl at tug.org
Mon Feb 17 00:42:03 CET 2025


Revision: 954
          https://tug.org/svn/pdftex?view=revision&revision=954
Author:   karl
Date:     2025-02-17 00:42:03 +0100 (Mon, 17 Feb 2025)
Log Message:
-----------
test files from users for the font space bug; dereference symlinks to personal directory

Modified Paths:
--------------
    branches/stable/tests/Makefile

Added Paths:
-----------
    branches/stable/tests/35-space-chars-lost-overfull/pdftexspace.pfb
    branches/stable/tests/35-space-chars-lost-overfull/pdftexspace.tfm
    branches/stable/tests/38-interword-space-at-font-switch/beamersam.tex
    branches/stable/tests/38-interword-space-at-font-switch/changefontspace.tex
    branches/stable/tests/38-interword-space-at-font-switch/mathspace.tex

Removed Paths:
-------------
    branches/stable/tests/35-space-chars-lost-overfull/pdftexspace.pfb
    branches/stable/tests/35-space-chars-lost-overfull/pdftexspace.tfm

Deleted: branches/stable/tests/35-space-chars-lost-overfull/pdftexspace.pfb
===================================================================
--- branches/stable/tests/35-space-chars-lost-overfull/pdftexspace.pfb	2025-02-16 20:04:38 UTC (rev 953)
+++ branches/stable/tests/35-space-chars-lost-overfull/pdftexspace.pfb	2025-02-16 23:42:03 UTC (rev 954)
@@ -1 +0,0 @@
-link /Users/thanh/IdeaProjects/pdftex/tests/28-fake-interword-space-updated/pdftexspace/pdftexspace.pfb
\ No newline at end of file

Added: branches/stable/tests/35-space-chars-lost-overfull/pdftexspace.pfb
===================================================================
(Binary files differ)

Index: branches/stable/tests/35-space-chars-lost-overfull/pdftexspace.pfb
===================================================================
--- branches/stable/tests/35-space-chars-lost-overfull/pdftexspace.pfb	2025-02-16 20:04:38 UTC (rev 953)
+++ branches/stable/tests/35-space-chars-lost-overfull/pdftexspace.pfb	2025-02-16 23:42:03 UTC (rev 954)

Property changes on: branches/stable/tests/35-space-chars-lost-overfull/pdftexspace.pfb
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Deleted: branches/stable/tests/35-space-chars-lost-overfull/pdftexspace.tfm
===================================================================
--- branches/stable/tests/35-space-chars-lost-overfull/pdftexspace.tfm	2025-02-16 20:04:38 UTC (rev 953)
+++ branches/stable/tests/35-space-chars-lost-overfull/pdftexspace.tfm	2025-02-16 23:42:03 UTC (rev 954)
@@ -1 +0,0 @@
-link ../28-fake-interword-space-updated/pdftexspace.tfm
\ No newline at end of file

Added: branches/stable/tests/35-space-chars-lost-overfull/pdftexspace.tfm
===================================================================
(Binary files differ)

Index: branches/stable/tests/35-space-chars-lost-overfull/pdftexspace.tfm
===================================================================
--- branches/stable/tests/35-space-chars-lost-overfull/pdftexspace.tfm	2025-02-16 20:04:38 UTC (rev 953)
+++ branches/stable/tests/35-space-chars-lost-overfull/pdftexspace.tfm	2025-02-16 23:42:03 UTC (rev 954)

Property changes on: branches/stable/tests/35-space-chars-lost-overfull/pdftexspace.tfm
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/x-tex-tfm
\ No newline at end of property
Added: branches/stable/tests/38-interword-space-at-font-switch/beamersam.tex
===================================================================
--- branches/stable/tests/38-interword-space-at-font-switch/beamersam.tex	                        (rev 0)
+++ branches/stable/tests/38-interword-space-at-font-switch/beamersam.tex	2025-02-16 23:42:03 UTC (rev 954)
@@ -0,0 +1,22 @@
+% Public domain. From samcarter:
+% https://tug.org/pipermail/tex-live/2025-February/051139.html
+\documentclass{beamer}
+
+\usepackage{tabularray}
+
+\begin{document}
+
+\begin{frame}
+  \scriptsize
+  \begin{longtblr}[]{}
+    foo\TblrNote{*} & bar \\
+  \end{longtblr}
+\end{frame}
+
+\end{document}
+
+% In the following example, I get different font sizes for "foo" and "bar"
+% if compiled with pdflatex from the 2025 pretest. Both words are
+% displayed in the same size with lualatex/xelatex from TL2025 or
+% pdflatex/lualatex/xelatex from TL2024.
+ 


Property changes on: branches/stable/tests/38-interword-space-at-font-switch/beamersam.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: branches/stable/tests/38-interword-space-at-font-switch/changefontspace.tex
===================================================================
--- branches/stable/tests/38-interword-space-at-font-switch/changefontspace.tex	                        (rev 0)
+++ branches/stable/tests/38-interword-space-at-font-switch/changefontspace.tex	2025-02-16 23:42:03 UTC (rev 954)
@@ -0,0 +1,22 @@
+% Public domain. From Ulrike:
+% https://tug.org/pipermail/pdftex/2024-July/009424.html
+% Original problem, that spaces are lost at font switches.
+
+\pdfcompresslevel0
+\pdfobjcompresslevel0
+\font\test=cmss10
+\pdfinterwordspaceon
+
+text text {\test cmss cmss} text text
+
+\end
+
+% there is a space char between "text text" and "cmss cmss":
+%
+%    [(text)]TJ/F51 9.9626 Tf( )Tj/F1 9.9626 Tf 20.756 0 Td [(text)]
+%    [(cmss)]TJ/F51 9.9626 Tf( )Tj/F20 9.9626 Tf 23.302 0 Td [(cmss)]
+%
+% But nothing between "text cmss" and "cmss text"
+%
+%    [(text)]TJ/F20 9.9626 Tf 20.755 0 Td [(cmss)]
+%    [(cmss)]TJ/F1 9.9626 Tf 23.301 0 Td [(text)]


Property changes on: branches/stable/tests/38-interword-space-at-font-switch/changefontspace.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: branches/stable/tests/38-interword-space-at-font-switch/mathspace.tex
===================================================================
--- branches/stable/tests/38-interword-space-at-font-switch/mathspace.tex	                        (rev 0)
+++ branches/stable/tests/38-interword-space-at-font-switch/mathspace.tex	2025-02-16 23:42:03 UTC (rev 954)
@@ -0,0 +1,16 @@
+% Public domain. From Ulrike Fischer:
+% https://tug.org/pipermail/tex-live/2025-February/051136.html
+
+\ExplSyntaxOn\sys_ensure_backend:\pdf_uncompress:\ExplSyntaxOff
+
+\documentclass{article}
+
+\begin{document}
+\pdfinterwordspaceon
+$ a b \mathbf{u} $ $ a\mathbf{u} $ $ a\mathbf{b} $
+
+\end{document}
+
+% When I compile this the first equation is correct. But the second is
+% missing the bold u, and the third uses an mathitalic b instead of a
+% bold b.


Property changes on: branches/stable/tests/38-interword-space-at-font-switch/mathspace.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: branches/stable/tests/Makefile
===================================================================
--- branches/stable/tests/Makefile	2025-02-16 20:04:38 UTC (rev 953)
+++ branches/stable/tests/Makefile	2025-02-16 23:42:03 UTC (rev 954)
@@ -11,8 +11,8 @@
 
 dest = /home/texlive/karl/Master/texmf-dist/doc/pdftex/tests
 filelist = /tmp/sat # svn status, numbers, not directories or .
-$(filelist): Makefile
+$(filelist) filelist: Makefile
 	svn status -v | cut -c 42- | grep / >$(filelist)
 install: $(filelist)
-	rsync -avR --delete `cat $(filelist)` $(dest)/
+	rsync -avRL `cat $(filelist)` $(dest)/
 	# then run the svn commands to add as needed.



More information about the pdftex-commits mailing list.