[latex3-commits] [git/LaTeX3-latex3-latex2e] textcomp: ensure that substitution doesn't loop if incomples TS1 font is selected (8b228702)

Frank Mittelbach frank.mittelbach at latex-project.org
Tue Nov 12 17:56:47 CET 2019


Repository : https://github.com/latex3/latex2e
On branch  : textcomp
Link       : https://github.com/latex3/latex2e/commit/8b228702900f0ec9a6b04a35b14d828e34041e82

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

commit 8b228702900f0ec9a6b04a35b14d828e34041e82
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Tue Nov 12 17:56:47 2019 +0100

    ensure that substitution doesn't loop if incomples TS1 font is selected


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

8b228702900f0ec9a6b04a35b14d828e34041e82
 base/textcomp-adds.tex | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/base/textcomp-adds.tex b/base/textcomp-adds.tex
index 5f999f6e..76ae0543 100644
--- a/base/textcomp-adds.tex
+++ b/base/textcomp-adds.tex
@@ -162,6 +162,8 @@
       \else
         \fontfamily\rmsubstdefault
       \fi\fi
+% claim that the default can handle all slots (even if not true) to avoid looping      
+      \@namedef{TS1:\f at family}{0}%
       \selectfont#1%
   \egroup
 }





More information about the latex3-commits mailing list