summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/csplain/fonts/exchars.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-05-10 21:27:39 +0000
committerKarl Berry <karl@freefriends.org>2016-05-10 21:27:39 +0000
commit55d9827b710e8c945cd35bd1efec973bf7d53698 (patch)
tree9be15d5c8467f80ebd34af52c842bae1111cc917 /Master/texmf-dist/tex/csplain/fonts/exchars.tex
parent18e100730bd2e086a899a55f7423e028f07e90b9 (diff)
csplain (10may16)
git-svn-id: svn://tug.org/texlive/trunk@41009 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/csplain/fonts/exchars.tex')
-rw-r--r--Master/texmf-dist/tex/csplain/fonts/exchars.tex18
1 files changed, 11 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/csplain/fonts/exchars.tex b/Master/texmf-dist/tex/csplain/fonts/exchars.tex
index 19ea8daacde..84674f7528d 100644
--- a/Master/texmf-dist/tex/csplain/fonts/exchars.tex
+++ b/Master/texmf-dist/tex/csplain/fonts/exchars.tex
@@ -32,7 +32,7 @@
\def\separethefont#1 #2\relax{\def\tmpa{#1}\def\tmpb{#2}}
\def\excharblackbox #1#2#3%
{\leavevmode\kern.05em\vrule height.5em width.5em depth0pt\kern.05em }
-\def\setexfont #1 #2 #3 {\expandafter\def\csname ex:#1/#2\endcsname{#3}}
+\def\setexfont #1 #2 #3 {\expandafter\edef\csname ex:#1/#2\endcsname{#3}}
% Fonts declarations:
@@ -67,6 +67,7 @@
\declexfamily pplr8t Palatino {\setexfamilyA ppl qpl r b ri bi 8t 8t }
\def\setexfamilyB #1 #2 #3 #4 #5 #6 {%
+ \def\ffloadhookB{\tgexchars}% modifiers from ff-mac.tex on demand
\setexfont #6-#1#2 TS1 ts1-#1#2
\setexfont #6-#1#3 TS1 ts1-#1#3
\setexfont #6-#1#4 TS1 ts1-#1#4
@@ -87,12 +88,15 @@
\declexfamily ec-qplr Schola {\setexfamilyB qpl r b ri bi ec }
\declexfamily ec-qcrr Cursor {\setexfamilyB qcr r b ri bi ec }
-\declexfamily cs-lmr10 LatinModern {%
- \setexfamilyB lm r10 bx10 ri10 bxi10 cs
- \setexfamilyB lm tt10 csc10 csco10 ss10 cs }
-\declexfamily ec-lmr10 LatinModern {%
- \setexfamilyB lm r10 bx10 ri10 bxi10 ec
- \setexfamilyB lm tt10 csc10 csco10 ss10 ec }
+\declexfamily cs-lmr10 LMfonts {\setexfamilyB lm r10 bx10 ri10 bxi10 cs }
+\declexfamily ec-lmr10 LMfonts {\setexfamilyB lm r10 bx10 ri10 bxi10 ec }
+\declexfamily qx-lmr10 LMfonts {\setexfamilyB lm r10 bx10 ri10 bxi10 qx }
+\declexfamily texansi-lmr10 LMfonts {\setexfamilyB lm r10 bx10 ri10 bxi10 texansi }
+\declexfamily t5-lmr10 LMfonts {\setexfamilyB lm r10 bx10 ri10 bxi10 t5 }
+
+\def\tgexchars{\edef\tmp{\whichtfm{\ffnamegen}}% % declare exfont of optical
+ \expandafter\tgexcharsA\tmp\empty-\empty\relax} % sizes and modifiers on demand
+\def\tgexcharsA#1-#2\empty#3\relax{\setexfont{\tmp} TS1 ts1-#2 }
\def\tmp{%
\setexfont csr8 TS1 ts1-lmr8