summaryrefslogtreecommitdiff
path: root/fonts/bitter/latex/T1Bitter-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/bitter/latex/T1Bitter-TLF.fd
Initial commit
Diffstat (limited to 'fonts/bitter/latex/T1Bitter-TLF.fd')
-rw-r--r--fonts/bitter/latex/T1Bitter-TLF.fd65
1 files changed, 65 insertions, 0 deletions
diff --git a/fonts/bitter/latex/T1Bitter-TLF.fd b/fonts/bitter/latex/T1Bitter-TLF.fd
new file mode 100644
index 0000000000..30ef1da2e8
--- /dev/null
+++ b/fonts/bitter/latex/T1Bitter-TLF.fd
@@ -0,0 +1,65 @@
+%% Generated by autoinst on 2019/05/10
+%%
+\ProvidesFile{T1Bitter-TLF.fd}
+ [2019/05/10 (autoinst) Font definitions for T1/Bitter-TLF.]
+
+\expandafter\ifx\csname Bitter@scale\endcsname\relax
+ \let\Bitter@@scale\@empty
+\else
+ \edef\Bitter@@scale{s*[\csname Bitter@scale\endcsname]}%
+\fi
+
+\DeclareFontFamily{T1}{Bitter-TLF}{}
+
+
+% ---- regular ----
+
+\DeclareFontShape{T1}{Bitter-TLF}{regular}{n}{
+ <-> \Bitter@@scale Bitter-Regular-tlf-t1
+}{}
+
+\DeclareFontShape{T1}{Bitter-TLF}{regular}{it}{
+ <-> \Bitter@@scale Bitter-Italic-tlf-t1
+}{}
+
+\DeclareFontShape{T1}{Bitter-TLF}{regular}{sl}{
+ <-> ssub * Bitter-TLF/regular/it
+}{}
+
+
+% ---- bold ----
+
+\DeclareFontShape{T1}{Bitter-TLF}{bold}{n}{
+ <-> \Bitter@@scale Bitter-Bold-tlf-t1
+}{}
+
+%
+% Extra 'ssub' rules to map the standard NFSS codes to our fancy names
+%
+
+% m --> regular
+
+\DeclareFontShape{T1}{Bitter-TLF}{m}{sl}{
+ <-> ssub * Bitter-TLF/regular/sl
+}{}
+
+\DeclareFontShape{T1}{Bitter-TLF}{m}{n}{
+ <-> ssub * Bitter-TLF/regular/n
+}{}
+
+\DeclareFontShape{T1}{Bitter-TLF}{m}{it}{
+ <-> ssub * Bitter-TLF/regular/it
+}{}
+
+
+% b --> bold
+
+\DeclareFontShape{T1}{Bitter-TLF}{b}{n}{
+ <-> ssub * Bitter-TLF/bold/n
+}{}
+
+\DeclareFontShape{T1}{Bitter-TLF}{bx}{n}{
+ <-> ssub * Bitter-TLF/b/n
+}{}
+
+\endinput