summaryrefslogtreecommitdiff
path: root/fonts/theanomodern/latex/T1TheanoModern-TOsF.fd
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /fonts/theanomodern/latex/T1TheanoModern-TOsF.fd
Initial commit
Diffstat (limited to 'fonts/theanomodern/latex/T1TheanoModern-TOsF.fd')
-rw-r--r--fonts/theanomodern/latex/T1TheanoModern-TOsF.fd49
1 files changed, 49 insertions, 0 deletions
diff --git a/fonts/theanomodern/latex/T1TheanoModern-TOsF.fd b/fonts/theanomodern/latex/T1TheanoModern-TOsF.fd
new file mode 100644
index 0000000000..f813aad49b
--- /dev/null
+++ b/fonts/theanomodern/latex/T1TheanoModern-TOsF.fd
@@ -0,0 +1,49 @@
+%% Generated by autoinst on 2019/07/27
+%%
+\ProvidesFile{T1TheanoModern-TOsF.fd}
+ [2019/07/27 (autoinst) Font definitions for T1/TheanoModern-TOsF.]
+
+\expandafter\ifx\csname TheanoModern@scale\endcsname\relax
+ \let\TheanoModern@@scale\@empty
+\else
+ \edef\TheanoModern@@scale{s*[\csname TheanoModern@scale\endcsname]}%
+\fi
+
+\DeclareFontFamily{T1}{TheanoModern-TOsF}{}
+
+
+% ---- regular ----
+
+\DeclareFontShape{T1}{TheanoModern-TOsF}{regular}{n}{
+ <-> \TheanoModern@@scale TheanoModern-Regular-tosf-t1
+}{}
+
+
+% ---- bold ----
+
+\DeclareFontShape{T1}{TheanoModern-TOsF}{bold}{n}{
+ <-> \TheanoModern@@scale TheanoModern-Bold-tosf-t1
+}{}
+
+%
+% Extra 'ssub' rules to map the standard NFSS codes to our fancy names
+%
+
+% m --> regular
+
+\DeclareFontShape{T1}{TheanoModern-TOsF}{m}{n}{
+ <-> ssub * TheanoModern-TOsF/regular/n
+}{}
+
+
+% b --> bold
+
+\DeclareFontShape{T1}{TheanoModern-TOsF}{b}{n}{
+ <-> ssub * TheanoModern-TOsF/bold/n
+}{}
+
+\DeclareFontShape{T1}{TheanoModern-TOsF}{bx}{n}{
+ <-> ssub * TheanoModern-TOsF/b/n
+}{}
+
+\endinput