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