summaryrefslogtreecommitdiff
path: root/fonts/gofonts/latex/OT1Go-TLF.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/gofonts/latex/OT1Go-TLF.fd
Initial commit
Diffstat (limited to 'fonts/gofonts/latex/OT1Go-TLF.fd')
-rw-r--r--fonts/gofonts/latex/OT1Go-TLF.fd143
1 files changed, 143 insertions, 0 deletions
diff --git a/fonts/gofonts/latex/OT1Go-TLF.fd b/fonts/gofonts/latex/OT1Go-TLF.fd
new file mode 100644
index 0000000000..eab935510b
--- /dev/null
+++ b/fonts/gofonts/latex/OT1Go-TLF.fd
@@ -0,0 +1,143 @@
+%% Generated by autoinst on 2019/04/19
+%%
+\ProvidesFile{OT1Go-TLF.fd}
+ [2019/04/19 (autoinst) Font definitions for OT1/Go-TLF.]
+
+\expandafter\ifx\csname Go@scale\endcsname\relax
+ \let\Go@@scale\@empty
+\else
+ \edef\Go@@scale{s*[\csname Go@scale\endcsname]}%
+\fi
+
+\DeclareFontFamily{OT1}{Go-TLF}{}
+
+
+% ---- regular ----
+
+\DeclareFontShape{OT1}{Go-TLF}{regular}{sc}{
+ <-> \Go@@scale GoSmallcaps-tlf-sc-ot1
+}{}
+
+\DeclareFontShape{OT1}{Go-TLF}{regular}{n}{
+ <-> \Go@@scale Go-Regular-tlf-ot1
+}{}
+
+\DeclareFontShape{OT1}{Go-TLF}{regular}{it}{
+ <-> \Go@@scale Go-Regular-Italic-tlf-ot1
+}{}
+
+\DeclareFontShape{OT1}{Go-TLF}{regular}{scit}{
+ <-> \Go@@scale GoSmallcaps-Italic-tlf-sc-ot1
+}{}
+
+\DeclareFontShape{OT1}{Go-TLF}{regular}{scsl}{
+ <-> ssub * Go-TLF/regular/scit
+}{}
+
+\DeclareFontShape{OT1}{Go-TLF}{regular}{sl}{
+ <-> ssub * Go-TLF/regular/it
+}{}
+
+
+% ---- bold ----
+
+\DeclareFontShape{OT1}{Go-TLF}{bold}{n}{
+ <-> \Go@@scale Go-Bold-tlf-ot1
+}{}
+
+\DeclareFontShape{OT1}{Go-TLF}{bold}{it}{
+ <-> \Go@@scale Go-Bold-Italic-tlf-ot1
+}{}
+
+\DeclareFontShape{OT1}{Go-TLF}{bold}{sl}{
+ <-> ssub * Go-TLF/bold/it
+}{}
+
+
+% ---- medium ----
+
+\DeclareFontShape{OT1}{Go-TLF}{medium}{n}{
+ <-> \Go@@scale Go-Medium-tlf-ot1
+}{}
+
+\DeclareFontShape{OT1}{Go-TLF}{medium}{it}{
+ <-> \Go@@scale Go-Medium-Italic-tlf-ot1
+}{}
+
+\DeclareFontShape{OT1}{Go-TLF}{medium}{sl}{
+ <-> ssub * Go-TLF/medium/it
+}{}
+
+%
+% Extra 'ssub' rules to map the standard NFSS codes to our fancy names
+%
+
+% m --> regular
+
+\DeclareFontShape{OT1}{Go-TLF}{m}{sl}{
+ <-> ssub * Go-TLF/regular/sl
+}{}
+
+\DeclareFontShape{OT1}{Go-TLF}{m}{scsl}{
+ <-> ssub * Go-TLF/regular/scsl
+}{}
+
+\DeclareFontShape{OT1}{Go-TLF}{m}{sc}{
+ <-> ssub * Go-TLF/regular/sc
+}{}
+
+\DeclareFontShape{OT1}{Go-TLF}{m}{n}{
+ <-> ssub * Go-TLF/regular/n
+}{}
+
+\DeclareFontShape{OT1}{Go-TLF}{m}{it}{
+ <-> ssub * Go-TLF/regular/it
+}{}
+
+\DeclareFontShape{OT1}{Go-TLF}{m}{scit}{
+ <-> ssub * Go-TLF/regular/scit
+}{}
+
+
+% sb --> medium
+
+\DeclareFontShape{OT1}{Go-TLF}{sb}{sl}{
+ <-> ssub * Go-TLF/medium/sl
+}{}
+
+\DeclareFontShape{OT1}{Go-TLF}{sb}{n}{
+ <-> ssub * Go-TLF/medium/n
+}{}
+
+\DeclareFontShape{OT1}{Go-TLF}{sb}{it}{
+ <-> ssub * Go-TLF/medium/it
+}{}
+
+
+% b --> bold
+
+\DeclareFontShape{OT1}{Go-TLF}{b}{sl}{
+ <-> ssub * Go-TLF/bold/sl
+}{}
+
+\DeclareFontShape{OT1}{Go-TLF}{b}{n}{
+ <-> ssub * Go-TLF/bold/n
+}{}
+
+\DeclareFontShape{OT1}{Go-TLF}{b}{it}{
+ <-> ssub * Go-TLF/bold/it
+}{}
+
+\DeclareFontShape{OT1}{Go-TLF}{bx}{n}{
+ <-> ssub * Go-TLF/b/n
+}{}
+
+\DeclareFontShape{OT1}{Go-TLF}{bx}{sl}{
+ <-> ssub * Go-TLF/b/sl
+}{}
+
+\DeclareFontShape{OT1}{Go-TLF}{bx}{it}{
+ <-> ssub * Go-TLF/b/it
+}{}
+
+\endinput