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