summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/theanomodern/TS1TheanoModern-TOsF.fd
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-07-27 21:23:41 +0000
committerKarl Berry <karl@freefriends.org>2019-07-27 21:23:41 +0000
commitcca95b18b1988faf0d8450779f3240703f3aca6c (patch)
treec9bbd8a0d54f3a8ea3f83557968e6188729709fc /Master/texmf-dist/tex/latex/theanomodern/TS1TheanoModern-TOsF.fd
parent5153629e4009236fef4bc7efb52ada2f825c4a56 (diff)
theanomodern (27jul19)
git-svn-id: svn://tug.org/texlive/trunk@51759 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/theanomodern/TS1TheanoModern-TOsF.fd')
-rw-r--r--Master/texmf-dist/tex/latex/theanomodern/TS1TheanoModern-TOsF.fd49
1 files changed, 49 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/theanomodern/TS1TheanoModern-TOsF.fd b/Master/texmf-dist/tex/latex/theanomodern/TS1TheanoModern-TOsF.fd
new file mode 100644
index 00000000000..7ad6c1001db
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/theanomodern/TS1TheanoModern-TOsF.fd
@@ -0,0 +1,49 @@
+%% Generated by autoinst on 2019/07/27
+%%
+\ProvidesFile{TS1TheanoModern-TOsF.fd}
+ [2019/07/27 (autoinst) Font definitions for TS1/TheanoModern-TOsF.]
+
+\expandafter\ifx\csname TheanoModern@scale\endcsname\relax
+ \let\TheanoModern@@scale\@empty
+\else
+ \edef\TheanoModern@@scale{s*[\csname TheanoModern@scale\endcsname]}%
+\fi
+
+\DeclareFontFamily{TS1}{TheanoModern-TOsF}{}
+
+
+% ---- regular ----
+
+\DeclareFontShape{TS1}{TheanoModern-TOsF}{regular}{n}{
+ <-> \TheanoModern@@scale TheanoModern-Regular-tosf-ts1
+}{}
+
+
+% ---- bold ----
+
+\DeclareFontShape{TS1}{TheanoModern-TOsF}{bold}{n}{
+ <-> \TheanoModern@@scale TheanoModern-Bold-tosf-ts1
+}{}
+
+%
+% Extra 'ssub' rules to map the standard NFSS codes to our fancy names
+%
+
+% m --> regular
+
+\DeclareFontShape{TS1}{TheanoModern-TOsF}{m}{n}{
+ <-> ssub * TheanoModern-TOsF/regular/n
+}{}
+
+
+% b --> bold
+
+\DeclareFontShape{TS1}{TheanoModern-TOsF}{b}{n}{
+ <-> ssub * TheanoModern-TOsF/bold/n
+}{}
+
+\DeclareFontShape{TS1}{TheanoModern-TOsF}{bx}{n}{
+ <-> ssub * TheanoModern-TOsF/b/n
+}{}
+
+\endinput