summaryrefslogtreecommitdiff
path: root/fonts/theanooldstyle/latex/TS1TheanoOldStyle-TOsF.fd
diff options
context:
space:
mode:
Diffstat (limited to 'fonts/theanooldstyle/latex/TS1TheanoOldStyle-TOsF.fd')
-rw-r--r--fonts/theanooldstyle/latex/TS1TheanoOldStyle-TOsF.fd49
1 files changed, 49 insertions, 0 deletions
diff --git a/fonts/theanooldstyle/latex/TS1TheanoOldStyle-TOsF.fd b/fonts/theanooldstyle/latex/TS1TheanoOldStyle-TOsF.fd
new file mode 100644
index 0000000000..44389e0947
--- /dev/null
+++ b/fonts/theanooldstyle/latex/TS1TheanoOldStyle-TOsF.fd
@@ -0,0 +1,49 @@
+%% Generated by autoinst on 2019/07/27
+%%
+\ProvidesFile{TS1TheanoOldStyle-TOsF.fd}
+ [2019/07/27 (autoinst) Font definitions for TS1/TheanoOldStyle-TOsF.]
+
+\expandafter\ifx\csname TheanoOldStyle@scale\endcsname\relax
+ \let\TheanoOldStyle@@scale\@empty
+\else
+ \edef\TheanoOldStyle@@scale{s*[\csname TheanoOldStyle@scale\endcsname]}%
+\fi
+
+\DeclareFontFamily{TS1}{TheanoOldStyle-TOsF}{}
+
+
+% ---- regular ----
+
+\DeclareFontShape{TS1}{TheanoOldStyle-TOsF}{regular}{n}{
+ <-> \TheanoOldStyle@@scale TheanoOldStyle-Regular-tosf-ts1
+}{}
+
+
+% ---- bold ----
+
+\DeclareFontShape{TS1}{TheanoOldStyle-TOsF}{bold}{n}{
+ <-> \TheanoOldStyle@@scale TheanoOldStyle-Bold-tosf-ts1
+}{}
+
+%
+% Extra 'ssub' rules to map the standard NFSS codes to our fancy names
+%
+
+% m --> regular
+
+\DeclareFontShape{TS1}{TheanoOldStyle-TOsF}{m}{n}{
+ <-> ssub * TheanoOldStyle-TOsF/regular/n
+}{}
+
+
+% b --> bold
+
+\DeclareFontShape{TS1}{TheanoOldStyle-TOsF}{b}{n}{
+ <-> ssub * TheanoOldStyle-TOsF/bold/n
+}{}
+
+\DeclareFontShape{TS1}{TheanoOldStyle-TOsF}{bx}{n}{
+ <-> ssub * TheanoOldStyle-TOsF/b/n
+}{}
+
+\endinput