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