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