summaryrefslogtreecommitdiff
path: root/fonts/librebaskerville/latex/TS1LibreBskvl-LF.fd
diff options
context:
space:
mode:
Diffstat (limited to 'fonts/librebaskerville/latex/TS1LibreBskvl-LF.fd')
-rw-r--r--fonts/librebaskerville/latex/TS1LibreBskvl-LF.fd73
1 files changed, 73 insertions, 0 deletions
diff --git a/fonts/librebaskerville/latex/TS1LibreBskvl-LF.fd b/fonts/librebaskerville/latex/TS1LibreBskvl-LF.fd
new file mode 100644
index 0000000000..053893001e
--- /dev/null
+++ b/fonts/librebaskerville/latex/TS1LibreBskvl-LF.fd
@@ -0,0 +1,73 @@
+%% Generated by autoinst on 2020/07/27
+%%
+\ProvidesFile{TS1LibreBskvl-LF.fd}
+ [2020/07/27 (autoinst) Font definitions for TS1/LibreBskvl-LF.]
+
+\ifcsname s@fct@alias\endcsname\else
+\gdef\s@fct@alias{\sub@sfcnt\@font@aliasinfo}
+\gdef\@font@aliasinfo#1{%
+ \@font@info{Font\space shape\space `\curr@fontshape'\space will
+ \space be\space aliased\MessageBreak to\space `\mandatory@arg'}%
+}
+\fi
+
+\expandafter\ifx\csname LibreBskvl@scale\endcsname\relax
+ \let\LibreBskvl@@scale\@empty
+\else
+ \edef\LibreBskvl@@scale{s*[\csname LibreBskvl@scale\endcsname]}%
+\fi
+
+\DeclareFontFamily{TS1}{LibreBskvl-LF}{}
+
+
+% ---- regular ----
+
+\DeclareFontShape{TS1}{LibreBskvl-LF}{regular}{n}{
+ <-> \LibreBskvl@@scale LibreBskvl-Regular-lf-ts1
+}{}
+
+\DeclareFontShape{TS1}{LibreBskvl-LF}{regular}{it}{
+ <-> \LibreBskvl@@scale LibreBskvl-Italic-lf-ts1
+}{}
+
+\DeclareFontShape{TS1}{LibreBskvl-LF}{regular}{sl}{
+ <-> ssub * LibreBskvl-LF/regular/it
+}{}
+
+
+% ---- bold ----
+
+\DeclareFontShape{TS1}{LibreBskvl-LF}{bold}{n}{
+ <-> \LibreBskvl@@scale LibreBskvl-Bold-lf-ts1
+}{}
+
+%
+% Extra 'alias' rules to map the standard NFSS codes to our fancy names
+%
+
+% m --> regular
+
+\DeclareFontShape{TS1}{LibreBskvl-LF}{m}{sl}{
+ <-> alias * LibreBskvl-LF/regular/sl
+}{}
+
+\DeclareFontShape{TS1}{LibreBskvl-LF}{m}{n}{
+ <-> alias * LibreBskvl-LF/regular/n
+}{}
+
+\DeclareFontShape{TS1}{LibreBskvl-LF}{m}{it}{
+ <-> alias * LibreBskvl-LF/regular/it
+}{}
+
+
+% b --> bold
+
+\DeclareFontShape{TS1}{LibreBskvl-LF}{b}{n}{
+ <-> alias * LibreBskvl-LF/bold/n
+}{}
+
+\DeclareFontShape{TS1}{LibreBskvl-LF}{bx}{n}{
+ <-> ssub * LibreBskvl-LF/b/n
+}{}
+
+\endinput