[latex3-commits] [git/LaTeX3-latex3-latex2e] gh1037: missing substitution for #1037 (82a2e3f7)

David Carlisle d.p.carlisle at gmail.com
Fri Apr 14 22:06:39 CEST 2023


Repository : https://github.com/latex3/latex2e
On branch  : gh1037
Link       : https://github.com/latex3/latex2e/commit/82a2e3f72dd255762298621dbef74546e32a4d23

>---------------------------------------------------------------

commit 82a2e3f72dd255762298621dbef74546e32a4d23
Author: David Carlisle <d.p.carlisle at gmail.com>
Date:   Fri Apr 14 21:06:39 2023 +0100

    missing substitution for #1037


>---------------------------------------------------------------

82a2e3f72dd255762298621dbef74546e32a4d23
 base/changes.txt               |  6 +++++-
 base/cmfonts.fdd               |  4 +++-
 base/testfiles/github-1037.lvt | 14 ++++++++++++++
 base/testfiles/github-1037.tlg |  9 +++++++++
 4 files changed, 31 insertions(+), 2 deletions(-)

diff --git a/base/changes.txt b/base/changes.txt
index ff3d2142..f00cb6fa 100644
--- a/base/changes.txt
+++ b/base/changes.txt
@@ -6,7 +6,11 @@ completeness or accuracy and it contains some references to files that
 are not part of the distribution.
 ================================================================================
 
-2022-08-18  Phelype Oleinik  <phelype.oleinik at latex-project.org>
+2023-04-13  David Carlisle  <David.Carlisle at latex-project.org>
+
+	* cmfonts.fdd: add missing substitution for U/cmtt/bx/sl gh/1037
+
+2023-04-13  Phelype Oleinik  <phelype.oleinik at latex-project.org>
 
 	* ltcmd.dtx (subsection{Grabbing arguments}):
 	Set \tex_endlinechar:D earlier to correct parsing of newlines in
diff --git a/base/cmfonts.fdd b/base/cmfonts.fdd
index fd7a14ae..06db54b5 100644
--- a/base/cmfonts.fdd
+++ b/base/cmfonts.fdd
@@ -67,7 +67,7 @@
 %<*driver,  >
              \ProvidesFile{cmfonts.drv}
 %</driver,  >
-        [2022/07/10 v2.5l Standard LaTeX font definitions]
+        [2022/04/13 v2.5m Standard LaTeX font definitions]
 %
 %<*driver>
 \documentclass{ltxdoc}
@@ -1048,8 +1048,10 @@
 %    \end{macrocode}
 %
 % \changes{v2.5j}{2019/12/16}{Provide substitutions for cmtt/bx/sl}
+% \changes{v2.5m}{2023/04/13}{Add missing substitution for U/cmtt/bx/sl}
 %    \begin{macrocode}
 %<+OT1cmtt>\DeclareFontShape{OT1}{cmtt}{bx}{sl}
+%<+Ucmtt>\DeclareFontShape{U}{cmtt}{bx}{sl}
 %<-nowarn>  {<->sub*cmtt/m/n}{}
 %<+nowarn>  {<->ssub*cmtt/m/n}{}
 %<+OT1cmtt>\DeclareFontShape{OT1}{cmtt}{bx}{ui}
diff --git a/base/testfiles/github-1037.lvt b/base/testfiles/github-1037.lvt
new file mode 100644
index 00000000..ffee4484
--- /dev/null
+++ b/base/testfiles/github-1037.lvt
@@ -0,0 +1,14 @@
+\documentclass{article}
+\input{test2e}
+\begin{document}
+
+\START
+\sbox0{%
+\usefont{U}{cmtt}{m}{n}%
+\usefont{U}{cmr}{m}{n}%
+\usefont{U}{cmss}{m}{n}%
+\usefont{U}{lasy}{m}{n}%
+}
+% this should be empty
+\showbox0
+\END
\ No newline at end of file
diff --git a/base/testfiles/github-1037.tlg b/base/testfiles/github-1037.tlg
new file mode 100644
index 00000000..da5e11cd
--- /dev/null
+++ b/base/testfiles/github-1037.tlg
@@ -0,0 +1,9 @@
+This is a generated file for the LaTeX2e validation system.
+Don't change this file in any respect.
+LaTeX Font Info:    Trying to load font information for U+cmtt on input line ....
+LaTeX Font Info:    Trying to load font information for U+cmss on input line ....
+LaTeX Font Info:    Trying to load font information for U+lasy on input line ....
+> \box...=
+\hbox(0.0+0.0)x0.0
+! OK.
+l. ...\showbox0





More information about the latex3-commits mailing list.