[latex3-commits] [git/LaTeX3-latex3-latex2e] gh879: issue #782, add support for slanted small caps in t1cmr.fd (9159607b)

David Carlisle d.p.carlisle at gmail.com
Sun Jul 10 15:22:40 CEST 2022


Repository : https://github.com/latex3/latex2e
On branch  : gh879
Link       : https://github.com/latex3/latex2e/commit/9159607b25f4b34cba0f84b45ed111597ca8ffa0

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

commit 9159607b25f4b34cba0f84b45ed111597ca8ffa0
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Fri Jun 10 16:52:58 2022 +0200

    issue #782, add support for slanted small caps in t1cmr.fd


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

9159607b25f4b34cba0f84b45ed111597ca8ffa0
 base/changes.txt                                   |  5 +++
 base/cmfonts.fdd                                   |  9 +++-
 base/testfiles/github-0782.lvt                     | 14 +++++++
 .../{tlb-utf8-dec-utf8.tlg => github-0782.tlg}     | 48 ++++++++++++----------
 4 files changed, 52 insertions(+), 24 deletions(-)

diff --git a/base/changes.txt b/base/changes.txt
index c69e2f8e..b86b191f 100644
--- a/base/changes.txt
+++ b/base/changes.txt
@@ -20,6 +20,11 @@ are not part of the distribution.
 	* doc.dtx
 	recast Package Option declarations using \DeclareKeys
 
+2022-06-10  Ulrike Fischer <Ulrike.Fischer at latex-project.org>
+
+	* cmfonts.fdd
+	Add font definitions for slanted small caps (gh/782)
+
 ================================================================================
 All changes above are only part of the development branch for the next release.
 ================================================================================	
diff --git a/base/cmfonts.fdd b/base/cmfonts.fdd
index 631778e5..477085ea 100644
--- a/base/cmfonts.fdd
+++ b/base/cmfonts.fdd
@@ -67,7 +67,7 @@
 %<*driver,  >
              \ProvidesFile{cmfonts.drv}
 %</driver,  >
-        [2022/07/10 v2.5k Standard LaTeX font definitions]
+        [2022/07/10 v2.5l Standard LaTeX font definitions]
 %
 %<*driver>
 \documentclass{ltxdoc}
@@ -283,7 +283,7 @@
 %<!ec>  <9><10><10.95><12><14.4><17.28><20.74><24.88>genb*#5}{}}
 %</tt>
 %    \end{macrocode}
-% \changes{v2.5fk}{2022/07/10}%
+% \changes{v2.5l}{2022/07/10}%
 %         {Avoid ec ss fonts at design size 5, 6, 7. gh/879}
 % For ec cmss fonts avoid the small design sizes which have incorrect
 % definitions.
@@ -390,6 +390,8 @@
 % \changes{v2.5a}{1997/01/14}
 %      {EC fonts}
 % \changes{v2.5d}{1997/06/02}{bold sc fonts latex/2497}
+% \changes{v2.5k}{2022/06/10}{add support for slanted small caps github/782}
+%
 %    \begin{macrocode}
 %<*ec>
 \EC at family{T1}{cmr}{m}{n}{ecrm}
@@ -402,6 +404,9 @@
 \EC at family{T1}{cmr}{bx}{sl}{ecbl}
 \EC at family{T1}{cmr}{bx}{sc}{ecxc}
 \EC at family{T1}{cmr}{m}{ui}{ecui}
+\EC at family{T1}{cmr}{m}{scsl}{ecsc}
+\EC at family{T1}{cmr}{bx}{scsl}{ecoc}
+\EC at family{T1}{cmr}{b}{scsl}{ecoc}
 %</ec>
 %</T1cmr>
 %    \end{macrocode}
diff --git a/base/testfiles/github-0782.lvt b/base/testfiles/github-0782.lvt
new file mode 100644
index 00000000..0360cfdf
--- /dev/null
+++ b/base/testfiles/github-0782.lvt
@@ -0,0 +1,14 @@
+\documentclass{article}
+\usepackage[T1]{fontenc}
+\input{test2e}
+
+\begin{document}
+\START \showoutput
+\textsc{\textsl{abc}}
+\textsc{\textit{abc}}
+
+\bfseries
+\textsc{\textsl{abc}}
+\textsc{\textit{abc}}
+
+\end{document}
diff --git a/base/testfiles/tlb-utf8-dec-utf8.tlg b/base/testfiles/github-0782.tlg
similarity index 53%
copy from base/testfiles/tlb-utf8-dec-utf8.tlg
copy to base/testfiles/github-0782.tlg
index 82faa53c..28a03294 100644
--- a/base/testfiles/tlb-utf8-dec-utf8.tlg
+++ b/base/testfiles/github-0782.tlg
@@ -1,5 +1,9 @@
 This is a generated file for the LaTeX2e validation system.
 Don't change this file in any respect.
+LaTeX Font Warning: Font shape `T1/cmr/m/scit' undefined
+(Font)              using `T1/cmr/m/scsl' instead on input line ....
+LaTeX Font Warning: Font shape `T1/cmr/bx/scit' undefined
+(Font)              using `T1/cmr/bx/scsl' instead on input line ....
 Completed box being shipped out [1]
 \vbox(633.0+0.0)x407.0
 .\glue 16.0
@@ -12,35 +16,35 @@ Completed box being shipped out [1]
 ..\glue(\lineskip) 0.0
 ..\vbox(550.0+0.0)x345.0, glue set 527.9436fil
 ...\write-{}
-...\glue(\topskip) 1.08551
-...\hbox(8.91449+0.0)x345.0, glue set 292.78687fil
+...\glue(\topskip) 4.9318
+...\hbox(5.0682+0.0)x345.0, glue set 289.71906fil
 ....\hbox(0.0+0.0)x15.0
-....\T1/cmr/m/n/10 a
-....\T1/cmr/m/n/10 ^^d6
-....\glue 3.33252 plus 1.66458 minus 1.11194
-....\T1/cmr/m/n/10 ^^P (ligature ``)
-....\T1/cmr/m/n/10 x
-....\T1/cmr/m/n/10 ^^Q (ligature '')
-....\kern0.83313
+....\T1/cmr/m/scsl/10 a
+....\T1/cmr/m/scsl/10 b
+....\T1/cmr/m/scsl/10 c
+....\kern 0.63412
 ....\glue 3.33252 plus 1.66626 minus 1.11084
-....\T1/cmr/m/n/10 ^^ff
+....\T1/cmr/m/scsl/10 a
+....\T1/cmr/m/scsl/10 b
+....\T1/cmr/m/scsl/10 c
+....\kern 0.63412
 ....\penalty 10000
 ....\glue(\parfillskip) 0.0 plus 1.0fil
 ....\glue(\rightskip) 0.0
 ...\glue(\parskip) 0.0 plus 1.0
 ...\glue(\parskip) 0.0
-...\glue(\baselineskip) 3.08551
-...\hbox(8.91449+0.0)x345.0, glue set 292.78687fil
+...\glue(\baselineskip) 6.91791
+...\hbox(5.08209+0.0)x345.0, glue set 284.34222fil
 ....\hbox(0.0+0.0)x15.0
-....\T1/cmr/m/n/10 a
-....\T1/cmr/m/n/10 ^^d6
-....\glue 3.33252 plus 1.66458 minus 1.11194
-....\T1/cmr/m/n/10 ^^P
-....\T1/cmr/m/n/10 x
-....\T1/cmr/m/n/10 ^^Q
-....\kern0.83313
-....\glue 3.33252 plus 1.66626 minus 1.11084
-....\T1/cmr/m/n/10 ^^ff
+....\T1/cmr/bx/scsl/10 a
+....\T1/cmr/bx/scsl/10 b
+....\T1/cmr/bx/scsl/10 c
+....\kern 0.60681
+....\glue 3.8324 plus 1.9162 minus 1.27747
+....\T1/cmr/bx/scsl/10 a
+....\T1/cmr/bx/scsl/10 b
+....\T1/cmr/bx/scsl/10 c
+....\kern 0.60681
 ....\penalty 10000
 ....\glue(\parfillskip) 0.0 plus 1.0fil
 ....\glue(\rightskip) 0.0
@@ -53,4 +57,4 @@ Completed box being shipped out [1]
 ....\glue 0.0 plus 1.0fil
 ....\T1/cmr/m/n/10 1
 ....\glue 0.0 plus 1.0fil
-(tlb-utf8-dec-utf8.aux)
+(github-0782.aux)





More information about the latex3-commits mailing list.