diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /fonts/librefranklin/latex |
Initial commit
Diffstat (limited to 'fonts/librefranklin/latex')
-rw-r--r-- | fonts/librefranklin/latex/LY1LibreFranklin-Sup.fd | 284 | ||||
-rw-r--r-- | fonts/librefranklin/latex/LY1LibreFranklin-TLF.fd | 284 | ||||
-rw-r--r-- | fonts/librefranklin/latex/OT1LibreFranklin-Sup.fd | 284 | ||||
-rw-r--r-- | fonts/librefranklin/latex/OT1LibreFranklin-TLF.fd | 284 | ||||
-rw-r--r-- | fonts/librefranklin/latex/T1LibreFranklin-Sup.fd | 284 | ||||
-rw-r--r-- | fonts/librefranklin/latex/T1LibreFranklin-TLF.fd | 284 | ||||
-rw-r--r-- | fonts/librefranklin/latex/TS1LibreFranklin-TLF.fd | 284 | ||||
-rw-r--r-- | fonts/librefranklin/latex/librefranklin.sty | 118 |
8 files changed, 2106 insertions, 0 deletions
diff --git a/fonts/librefranklin/latex/LY1LibreFranklin-Sup.fd b/fonts/librefranklin/latex/LY1LibreFranklin-Sup.fd new file mode 100644 index 0000000000..d10335efe2 --- /dev/null +++ b/fonts/librefranklin/latex/LY1LibreFranklin-Sup.fd @@ -0,0 +1,284 @@ +%% Generated by autoinst on 2019/05/10 +%% +\ProvidesFile{LY1LibreFranklin-Sup.fd} + [2019/05/10 (autoinst) Font definitions for LY1/LibreFranklin-Sup.] + +\expandafter\ifx\csname LibreFranklin@scale\endcsname\relax + \let\LibreFranklin@@scale\@empty +\else + \edef\LibreFranklin@@scale{s*[\csname LibreFranklin@scale\endcsname]}% +\fi + +\DeclareFontFamily{LY1}{LibreFranklin-Sup}{} + + +% ---- regular ---- + +\DeclareFontShape{LY1}{LibreFranklin-Sup}{regular}{n}{ + <-> \LibreFranklin@@scale LibreFranklin-Regular-sup-ly1 +}{} + +\DeclareFontShape{LY1}{LibreFranklin-Sup}{regular}{it}{ + <-> \LibreFranklin@@scale LibreFranklin-Italic-sup-ly1 +}{} + +\DeclareFontShape{LY1}{LibreFranklin-Sup}{regular}{sl}{ + <-> ssub * LibreFranklin-Sup/regular/it +}{} + + +% ---- thin ---- + +\DeclareFontShape{LY1}{LibreFranklin-Sup}{thin}{n}{ + <-> \LibreFranklin@@scale LibreFranklin-Thin-sup-ly1 +}{} + +\DeclareFontShape{LY1}{LibreFranklin-Sup}{thin}{it}{ + <-> \LibreFranklin@@scale LibreFranklin-ThinItalic-sup-ly1 +}{} + +\DeclareFontShape{LY1}{LibreFranklin-Sup}{thin}{sl}{ + <-> ssub * LibreFranklin-Sup/thin/it +}{} + + +% ---- semibold ---- + +\DeclareFontShape{LY1}{LibreFranklin-Sup}{semibold}{n}{ + <-> \LibreFranklin@@scale LibreFranklin-SemiBold-sup-ly1 +}{} + +\DeclareFontShape{LY1}{LibreFranklin-Sup}{semibold}{it}{ + <-> \LibreFranklin@@scale LibreFranklin-SemiBoldItalic-sup-ly1 +}{} + +\DeclareFontShape{LY1}{LibreFranklin-Sup}{semibold}{sl}{ + <-> ssub * LibreFranklin-Sup/semibold/it +}{} + + +% ---- bold ---- + +\DeclareFontShape{LY1}{LibreFranklin-Sup}{bold}{n}{ + <-> \LibreFranklin@@scale LibreFranklin-Bold-sup-ly1 +}{} + +\DeclareFontShape{LY1}{LibreFranklin-Sup}{bold}{it}{ + <-> \LibreFranklin@@scale LibreFranklin-BoldItalic-sup-ly1 +}{} + +\DeclareFontShape{LY1}{LibreFranklin-Sup}{bold}{sl}{ + <-> ssub * LibreFranklin-Sup/bold/it +}{} + + +% ---- light ---- + +\DeclareFontShape{LY1}{LibreFranklin-Sup}{light}{n}{ + <-> \LibreFranklin@@scale LibreFranklin-Light-sup-ly1 +}{} + +\DeclareFontShape{LY1}{LibreFranklin-Sup}{light}{it}{ + <-> \LibreFranklin@@scale LibreFranklin-LightItalic-sup-ly1 +}{} + +\DeclareFontShape{LY1}{LibreFranklin-Sup}{light}{sl}{ + <-> ssub * LibreFranklin-Sup/light/it +}{} + + +% ---- extrabold ---- + +\DeclareFontShape{LY1}{LibreFranklin-Sup}{extrabold}{n}{ + <-> \LibreFranklin@@scale LibreFranklin-ExtraBold-sup-ly1 +}{} + +\DeclareFontShape{LY1}{LibreFranklin-Sup}{extrabold}{it}{ + <-> \LibreFranklin@@scale LibreFranklin-ExtraBoldItalic-sup-ly1 +}{} + +\DeclareFontShape{LY1}{LibreFranklin-Sup}{extrabold}{sl}{ + <-> ssub * LibreFranklin-Sup/extrabold/it +}{} + + +% ---- black ---- + +\DeclareFontShape{LY1}{LibreFranklin-Sup}{black}{n}{ + <-> \LibreFranklin@@scale LibreFranklin-Black-sup-ly1 +}{} + +\DeclareFontShape{LY1}{LibreFranklin-Sup}{black}{it}{ + <-> \LibreFranklin@@scale LibreFranklin-BlackItalic-sup-ly1 +}{} + +\DeclareFontShape{LY1}{LibreFranklin-Sup}{black}{sl}{ + <-> ssub * LibreFranklin-Sup/black/it +}{} + + +% ---- medium ---- + +\DeclareFontShape{LY1}{LibreFranklin-Sup}{medium}{n}{ + <-> \LibreFranklin@@scale LibreFranklin-Medium-sup-ly1 +}{} + +\DeclareFontShape{LY1}{LibreFranklin-Sup}{medium}{it}{ + <-> \LibreFranklin@@scale LibreFranklin-MediumItalic-sup-ly1 +}{} + +\DeclareFontShape{LY1}{LibreFranklin-Sup}{medium}{sl}{ + <-> ssub * LibreFranklin-Sup/medium/it +}{} + + +% ---- extralight ---- + +\DeclareFontShape{LY1}{LibreFranklin-Sup}{extralight}{n}{ + <-> \LibreFranklin@@scale LibreFranklin-ExtraLight-sup-ly1 +}{} + +\DeclareFontShape{LY1}{LibreFranklin-Sup}{extralight}{it}{ + <-> \LibreFranklin@@scale LibreFranklin-ExtraLightItalic-sup-ly1 +}{} + +\DeclareFontShape{LY1}{LibreFranklin-Sup}{extralight}{sl}{ + <-> ssub * LibreFranklin-Sup/extralight/it +}{} + +% +% Extra 'ssub' rules to map the standard NFSS codes to our fancy names +% + +% ul --> thin + +\DeclareFontShape{LY1}{LibreFranklin-Sup}{ul}{sl}{ + <-> ssub * LibreFranklin-Sup/thin/sl +}{} + +\DeclareFontShape{LY1}{LibreFranklin-Sup}{ul}{n}{ + <-> ssub * LibreFranklin-Sup/thin/n +}{} + +\DeclareFontShape{LY1}{LibreFranklin-Sup}{ul}{it}{ + <-> ssub * LibreFranklin-Sup/thin/it +}{} + + +% el --> extralight + +\DeclareFontShape{LY1}{LibreFranklin-Sup}{el}{sl}{ + <-> ssub * LibreFranklin-Sup/extralight/sl +}{} + +\DeclareFontShape{LY1}{LibreFranklin-Sup}{el}{n}{ + <-> ssub * LibreFranklin-Sup/extralight/n +}{} + +\DeclareFontShape{LY1}{LibreFranklin-Sup}{el}{it}{ + <-> ssub * LibreFranklin-Sup/extralight/it +}{} + + +% l --> light + +\DeclareFontShape{LY1}{LibreFranklin-Sup}{l}{sl}{ + <-> ssub * LibreFranklin-Sup/light/sl +}{} + +\DeclareFontShape{LY1}{LibreFranklin-Sup}{l}{n}{ + <-> ssub * LibreFranklin-Sup/light/n +}{} + +\DeclareFontShape{LY1}{LibreFranklin-Sup}{l}{it}{ + <-> ssub * LibreFranklin-Sup/light/it +}{} + + +% m --> regular + +\DeclareFontShape{LY1}{LibreFranklin-Sup}{m}{sl}{ + <-> ssub * LibreFranklin-Sup/regular/sl +}{} + +\DeclareFontShape{LY1}{LibreFranklin-Sup}{m}{n}{ + <-> ssub * LibreFranklin-Sup/regular/n +}{} + +\DeclareFontShape{LY1}{LibreFranklin-Sup}{m}{it}{ + <-> ssub * LibreFranklin-Sup/regular/it +}{} + + +% sb --> semibold + +\DeclareFontShape{LY1}{LibreFranklin-Sup}{sb}{sl}{ + <-> ssub * LibreFranklin-Sup/semibold/sl +}{} + +\DeclareFontShape{LY1}{LibreFranklin-Sup}{sb}{n}{ + <-> ssub * LibreFranklin-Sup/semibold/n +}{} + +\DeclareFontShape{LY1}{LibreFranklin-Sup}{sb}{it}{ + <-> ssub * LibreFranklin-Sup/semibold/it +}{} + + +% b --> bold + +\DeclareFontShape{LY1}{LibreFranklin-Sup}{b}{sl}{ + <-> ssub * LibreFranklin-Sup/bold/sl +}{} + +\DeclareFontShape{LY1}{LibreFranklin-Sup}{b}{n}{ + <-> ssub * LibreFranklin-Sup/bold/n +}{} + +\DeclareFontShape{LY1}{LibreFranklin-Sup}{b}{it}{ + <-> ssub * LibreFranklin-Sup/bold/it +}{} + + +% eb --> extrabold + +\DeclareFontShape{LY1}{LibreFranklin-Sup}{eb}{sl}{ + <-> ssub * LibreFranklin-Sup/extrabold/sl +}{} + +\DeclareFontShape{LY1}{LibreFranklin-Sup}{eb}{n}{ + <-> ssub * LibreFranklin-Sup/extrabold/n +}{} + +\DeclareFontShape{LY1}{LibreFranklin-Sup}{eb}{it}{ + <-> ssub * LibreFranklin-Sup/extrabold/it +}{} + + +% ub --> black + +\DeclareFontShape{LY1}{LibreFranklin-Sup}{ub}{sl}{ + <-> ssub * LibreFranklin-Sup/black/sl +}{} + +\DeclareFontShape{LY1}{LibreFranklin-Sup}{ub}{n}{ + <-> ssub * LibreFranklin-Sup/black/n +}{} + +\DeclareFontShape{LY1}{LibreFranklin-Sup}{ub}{it}{ + <-> ssub * LibreFranklin-Sup/black/it +}{} + +\DeclareFontShape{LY1}{LibreFranklin-Sup}{bx}{n}{ + <-> ssub * LibreFranklin-Sup/b/n +}{} + +\DeclareFontShape{LY1}{LibreFranklin-Sup}{bx}{sl}{ + <-> ssub * LibreFranklin-Sup/b/sl +}{} + +\DeclareFontShape{LY1}{LibreFranklin-Sup}{bx}{it}{ + <-> ssub * LibreFranklin-Sup/b/it +}{} + +\endinput diff --git a/fonts/librefranklin/latex/LY1LibreFranklin-TLF.fd b/fonts/librefranklin/latex/LY1LibreFranklin-TLF.fd new file mode 100644 index 0000000000..8aaf6ffcf7 --- /dev/null +++ b/fonts/librefranklin/latex/LY1LibreFranklin-TLF.fd @@ -0,0 +1,284 @@ +%% Generated by autoinst on 2019/05/10 +%% +\ProvidesFile{LY1LibreFranklin-TLF.fd} + [2019/05/10 (autoinst) Font definitions for LY1/LibreFranklin-TLF.] + +\expandafter\ifx\csname LibreFranklin@scale\endcsname\relax + \let\LibreFranklin@@scale\@empty +\else + \edef\LibreFranklin@@scale{s*[\csname LibreFranklin@scale\endcsname]}% +\fi + +\DeclareFontFamily{LY1}{LibreFranklin-TLF}{} + + +% ---- regular ---- + +\DeclareFontShape{LY1}{LibreFranklin-TLF}{regular}{n}{ + <-> \LibreFranklin@@scale LibreFranklin-Regular-tlf-ly1 +}{} + +\DeclareFontShape{LY1}{LibreFranklin-TLF}{regular}{it}{ + <-> \LibreFranklin@@scale LibreFranklin-Italic-tlf-ly1 +}{} + +\DeclareFontShape{LY1}{LibreFranklin-TLF}{regular}{sl}{ + <-> ssub * LibreFranklin-TLF/regular/it +}{} + + +% ---- thin ---- + +\DeclareFontShape{LY1}{LibreFranklin-TLF}{thin}{n}{ + <-> \LibreFranklin@@scale LibreFranklin-Thin-tlf-ly1 +}{} + +\DeclareFontShape{LY1}{LibreFranklin-TLF}{thin}{it}{ + <-> \LibreFranklin@@scale LibreFranklin-ThinItalic-tlf-ly1 +}{} + +\DeclareFontShape{LY1}{LibreFranklin-TLF}{thin}{sl}{ + <-> ssub * LibreFranklin-TLF/thin/it +}{} + + +% ---- semibold ---- + +\DeclareFontShape{LY1}{LibreFranklin-TLF}{semibold}{n}{ + <-> \LibreFranklin@@scale LibreFranklin-SemiBold-tlf-ly1 +}{} + +\DeclareFontShape{LY1}{LibreFranklin-TLF}{semibold}{it}{ + <-> \LibreFranklin@@scale LibreFranklin-SemiBoldItalic-tlf-ly1 +}{} + +\DeclareFontShape{LY1}{LibreFranklin-TLF}{semibold}{sl}{ + <-> ssub * LibreFranklin-TLF/semibold/it +}{} + + +% ---- bold ---- + +\DeclareFontShape{LY1}{LibreFranklin-TLF}{bold}{n}{ + <-> \LibreFranklin@@scale LibreFranklin-Bold-tlf-ly1 +}{} + +\DeclareFontShape{LY1}{LibreFranklin-TLF}{bold}{it}{ + <-> \LibreFranklin@@scale LibreFranklin-BoldItalic-tlf-ly1 +}{} + +\DeclareFontShape{LY1}{LibreFranklin-TLF}{bold}{sl}{ + <-> ssub * LibreFranklin-TLF/bold/it +}{} + + +% ---- light ---- + +\DeclareFontShape{LY1}{LibreFranklin-TLF}{light}{n}{ + <-> \LibreFranklin@@scale LibreFranklin-Light-tlf-ly1 +}{} + +\DeclareFontShape{LY1}{LibreFranklin-TLF}{light}{it}{ + <-> \LibreFranklin@@scale LibreFranklin-LightItalic-tlf-ly1 +}{} + +\DeclareFontShape{LY1}{LibreFranklin-TLF}{light}{sl}{ + <-> ssub * LibreFranklin-TLF/light/it +}{} + + +% ---- extrabold ---- + +\DeclareFontShape{LY1}{LibreFranklin-TLF}{extrabold}{n}{ + <-> \LibreFranklin@@scale LibreFranklin-ExtraBold-tlf-ly1 +}{} + +\DeclareFontShape{LY1}{LibreFranklin-TLF}{extrabold}{it}{ + <-> \LibreFranklin@@scale LibreFranklin-ExtraBoldItalic-tlf-ly1 +}{} + +\DeclareFontShape{LY1}{LibreFranklin-TLF}{extrabold}{sl}{ + <-> ssub * LibreFranklin-TLF/extrabold/it +}{} + + +% ---- black ---- + +\DeclareFontShape{LY1}{LibreFranklin-TLF}{black}{n}{ + <-> \LibreFranklin@@scale LibreFranklin-Black-tlf-ly1 +}{} + +\DeclareFontShape{LY1}{LibreFranklin-TLF}{black}{it}{ + <-> \LibreFranklin@@scale LibreFranklin-BlackItalic-tlf-ly1 +}{} + +\DeclareFontShape{LY1}{LibreFranklin-TLF}{black}{sl}{ + <-> ssub * LibreFranklin-TLF/black/it +}{} + + +% ---- medium ---- + +\DeclareFontShape{LY1}{LibreFranklin-TLF}{medium}{n}{ + <-> \LibreFranklin@@scale LibreFranklin-Medium-tlf-ly1 +}{} + +\DeclareFontShape{LY1}{LibreFranklin-TLF}{medium}{it}{ + <-> \LibreFranklin@@scale LibreFranklin-MediumItalic-tlf-ly1 +}{} + +\DeclareFontShape{LY1}{LibreFranklin-TLF}{medium}{sl}{ + <-> ssub * LibreFranklin-TLF/medium/it +}{} + + +% ---- extralight ---- + +\DeclareFontShape{LY1}{LibreFranklin-TLF}{extralight}{n}{ + <-> \LibreFranklin@@scale LibreFranklin-ExtraLight-tlf-ly1 +}{} + +\DeclareFontShape{LY1}{LibreFranklin-TLF}{extralight}{it}{ + <-> \LibreFranklin@@scale LibreFranklin-ExtraLightItalic-tlf-ly1 +}{} + +\DeclareFontShape{LY1}{LibreFranklin-TLF}{extralight}{sl}{ + <-> ssub * LibreFranklin-TLF/extralight/it +}{} + +% +% Extra 'ssub' rules to map the standard NFSS codes to our fancy names +% + +% ul --> thin + +\DeclareFontShape{LY1}{LibreFranklin-TLF}{ul}{sl}{ + <-> ssub * LibreFranklin-TLF/thin/sl +}{} + +\DeclareFontShape{LY1}{LibreFranklin-TLF}{ul}{n}{ + <-> ssub * LibreFranklin-TLF/thin/n +}{} + +\DeclareFontShape{LY1}{LibreFranklin-TLF}{ul}{it}{ + <-> ssub * LibreFranklin-TLF/thin/it +}{} + + +% el --> extralight + +\DeclareFontShape{LY1}{LibreFranklin-TLF}{el}{sl}{ + <-> ssub * LibreFranklin-TLF/extralight/sl +}{} + +\DeclareFontShape{LY1}{LibreFranklin-TLF}{el}{n}{ + <-> ssub * LibreFranklin-TLF/extralight/n +}{} + +\DeclareFontShape{LY1}{LibreFranklin-TLF}{el}{it}{ + <-> ssub * LibreFranklin-TLF/extralight/it +}{} + + +% l --> light + +\DeclareFontShape{LY1}{LibreFranklin-TLF}{l}{sl}{ + <-> ssub * LibreFranklin-TLF/light/sl +}{} + +\DeclareFontShape{LY1}{LibreFranklin-TLF}{l}{n}{ + <-> ssub * LibreFranklin-TLF/light/n +}{} + +\DeclareFontShape{LY1}{LibreFranklin-TLF}{l}{it}{ + <-> ssub * LibreFranklin-TLF/light/it +}{} + + +% m --> regular + +\DeclareFontShape{LY1}{LibreFranklin-TLF}{m}{sl}{ + <-> ssub * LibreFranklin-TLF/regular/sl +}{} + +\DeclareFontShape{LY1}{LibreFranklin-TLF}{m}{n}{ + <-> ssub * LibreFranklin-TLF/regular/n +}{} + +\DeclareFontShape{LY1}{LibreFranklin-TLF}{m}{it}{ + <-> ssub * LibreFranklin-TLF/regular/it +}{} + + +% sb --> semibold + +\DeclareFontShape{LY1}{LibreFranklin-TLF}{sb}{sl}{ + <-> ssub * LibreFranklin-TLF/semibold/sl +}{} + +\DeclareFontShape{LY1}{LibreFranklin-TLF}{sb}{n}{ + <-> ssub * LibreFranklin-TLF/semibold/n +}{} + +\DeclareFontShape{LY1}{LibreFranklin-TLF}{sb}{it}{ + <-> ssub * LibreFranklin-TLF/semibold/it +}{} + + +% b --> bold + +\DeclareFontShape{LY1}{LibreFranklin-TLF}{b}{sl}{ + <-> ssub * LibreFranklin-TLF/bold/sl +}{} + +\DeclareFontShape{LY1}{LibreFranklin-TLF}{b}{n}{ + <-> ssub * LibreFranklin-TLF/bold/n +}{} + +\DeclareFontShape{LY1}{LibreFranklin-TLF}{b}{it}{ + <-> ssub * LibreFranklin-TLF/bold/it +}{} + + +% eb --> extrabold + +\DeclareFontShape{LY1}{LibreFranklin-TLF}{eb}{sl}{ + <-> ssub * LibreFranklin-TLF/extrabold/sl +}{} + +\DeclareFontShape{LY1}{LibreFranklin-TLF}{eb}{n}{ + <-> ssub * LibreFranklin-TLF/extrabold/n +}{} + +\DeclareFontShape{LY1}{LibreFranklin-TLF}{eb}{it}{ + <-> ssub * LibreFranklin-TLF/extrabold/it +}{} + + +% ub --> black + +\DeclareFontShape{LY1}{LibreFranklin-TLF}{ub}{sl}{ + <-> ssub * LibreFranklin-TLF/black/sl +}{} + +\DeclareFontShape{LY1}{LibreFranklin-TLF}{ub}{n}{ + <-> ssub * LibreFranklin-TLF/black/n +}{} + +\DeclareFontShape{LY1}{LibreFranklin-TLF}{ub}{it}{ + <-> ssub * LibreFranklin-TLF/black/it +}{} + +\DeclareFontShape{LY1}{LibreFranklin-TLF}{bx}{n}{ + <-> ssub * LibreFranklin-TLF/b/n +}{} + +\DeclareFontShape{LY1}{LibreFranklin-TLF}{bx}{sl}{ + <-> ssub * LibreFranklin-TLF/b/sl +}{} + +\DeclareFontShape{LY1}{LibreFranklin-TLF}{bx}{it}{ + <-> ssub * LibreFranklin-TLF/b/it +}{} + +\endinput diff --git a/fonts/librefranklin/latex/OT1LibreFranklin-Sup.fd b/fonts/librefranklin/latex/OT1LibreFranklin-Sup.fd new file mode 100644 index 0000000000..b83e67b5e8 --- /dev/null +++ b/fonts/librefranklin/latex/OT1LibreFranklin-Sup.fd @@ -0,0 +1,284 @@ +%% Generated by autoinst on 2019/05/10 +%% +\ProvidesFile{OT1LibreFranklin-Sup.fd} + [2019/05/10 (autoinst) Font definitions for OT1/LibreFranklin-Sup.] + +\expandafter\ifx\csname LibreFranklin@scale\endcsname\relax + \let\LibreFranklin@@scale\@empty +\else + \edef\LibreFranklin@@scale{s*[\csname LibreFranklin@scale\endcsname]}% +\fi + +\DeclareFontFamily{OT1}{LibreFranklin-Sup}{} + + +% ---- regular ---- + +\DeclareFontShape{OT1}{LibreFranklin-Sup}{regular}{n}{ + <-> \LibreFranklin@@scale LibreFranklin-Regular-sup-ot1 +}{} + +\DeclareFontShape{OT1}{LibreFranklin-Sup}{regular}{it}{ + <-> \LibreFranklin@@scale LibreFranklin-Italic-sup-ot1 +}{} + +\DeclareFontShape{OT1}{LibreFranklin-Sup}{regular}{sl}{ + <-> ssub * LibreFranklin-Sup/regular/it +}{} + + +% ---- thin ---- + +\DeclareFontShape{OT1}{LibreFranklin-Sup}{thin}{n}{ + <-> \LibreFranklin@@scale LibreFranklin-Thin-sup-ot1 +}{} + +\DeclareFontShape{OT1}{LibreFranklin-Sup}{thin}{it}{ + <-> \LibreFranklin@@scale LibreFranklin-ThinItalic-sup-ot1 +}{} + +\DeclareFontShape{OT1}{LibreFranklin-Sup}{thin}{sl}{ + <-> ssub * LibreFranklin-Sup/thin/it +}{} + + +% ---- semibold ---- + +\DeclareFontShape{OT1}{LibreFranklin-Sup}{semibold}{n}{ + <-> \LibreFranklin@@scale LibreFranklin-SemiBold-sup-ot1 +}{} + +\DeclareFontShape{OT1}{LibreFranklin-Sup}{semibold}{it}{ + <-> \LibreFranklin@@scale LibreFranklin-SemiBoldItalic-sup-ot1 +}{} + +\DeclareFontShape{OT1}{LibreFranklin-Sup}{semibold}{sl}{ + <-> ssub * LibreFranklin-Sup/semibold/it +}{} + + +% ---- bold ---- + +\DeclareFontShape{OT1}{LibreFranklin-Sup}{bold}{n}{ + <-> \LibreFranklin@@scale LibreFranklin-Bold-sup-ot1 +}{} + +\DeclareFontShape{OT1}{LibreFranklin-Sup}{bold}{it}{ + <-> \LibreFranklin@@scale LibreFranklin-BoldItalic-sup-ot1 +}{} + +\DeclareFontShape{OT1}{LibreFranklin-Sup}{bold}{sl}{ + <-> ssub * LibreFranklin-Sup/bold/it +}{} + + +% ---- light ---- + +\DeclareFontShape{OT1}{LibreFranklin-Sup}{light}{n}{ + <-> \LibreFranklin@@scale LibreFranklin-Light-sup-ot1 +}{} + +\DeclareFontShape{OT1}{LibreFranklin-Sup}{light}{it}{ + <-> \LibreFranklin@@scale LibreFranklin-LightItalic-sup-ot1 +}{} + +\DeclareFontShape{OT1}{LibreFranklin-Sup}{light}{sl}{ + <-> ssub * LibreFranklin-Sup/light/it +}{} + + +% ---- extrabold ---- + +\DeclareFontShape{OT1}{LibreFranklin-Sup}{extrabold}{n}{ + <-> \LibreFranklin@@scale LibreFranklin-ExtraBold-sup-ot1 +}{} + +\DeclareFontShape{OT1}{LibreFranklin-Sup}{extrabold}{it}{ + <-> \LibreFranklin@@scale LibreFranklin-ExtraBoldItalic-sup-ot1 +}{} + +\DeclareFontShape{OT1}{LibreFranklin-Sup}{extrabold}{sl}{ + <-> ssub * LibreFranklin-Sup/extrabold/it +}{} + + +% ---- black ---- + +\DeclareFontShape{OT1}{LibreFranklin-Sup}{black}{n}{ + <-> \LibreFranklin@@scale LibreFranklin-Black-sup-ot1 +}{} + +\DeclareFontShape{OT1}{LibreFranklin-Sup}{black}{it}{ + <-> \LibreFranklin@@scale LibreFranklin-BlackItalic-sup-ot1 +}{} + +\DeclareFontShape{OT1}{LibreFranklin-Sup}{black}{sl}{ + <-> ssub * LibreFranklin-Sup/black/it +}{} + + +% ---- medium ---- + +\DeclareFontShape{OT1}{LibreFranklin-Sup}{medium}{n}{ + <-> \LibreFranklin@@scale LibreFranklin-Medium-sup-ot1 +}{} + +\DeclareFontShape{OT1}{LibreFranklin-Sup}{medium}{it}{ + <-> \LibreFranklin@@scale LibreFranklin-MediumItalic-sup-ot1 +}{} + +\DeclareFontShape{OT1}{LibreFranklin-Sup}{medium}{sl}{ + <-> ssub * LibreFranklin-Sup/medium/it +}{} + + +% ---- extralight ---- + +\DeclareFontShape{OT1}{LibreFranklin-Sup}{extralight}{n}{ + <-> \LibreFranklin@@scale LibreFranklin-ExtraLight-sup-ot1 +}{} + +\DeclareFontShape{OT1}{LibreFranklin-Sup}{extralight}{it}{ + <-> \LibreFranklin@@scale LibreFranklin-ExtraLightItalic-sup-ot1 +}{} + +\DeclareFontShape{OT1}{LibreFranklin-Sup}{extralight}{sl}{ + <-> ssub * LibreFranklin-Sup/extralight/it +}{} + +% +% Extra 'ssub' rules to map the standard NFSS codes to our fancy names +% + +% ul --> thin + +\DeclareFontShape{OT1}{LibreFranklin-Sup}{ul}{sl}{ + <-> ssub * LibreFranklin-Sup/thin/sl +}{} + +\DeclareFontShape{OT1}{LibreFranklin-Sup}{ul}{n}{ + <-> ssub * LibreFranklin-Sup/thin/n +}{} + +\DeclareFontShape{OT1}{LibreFranklin-Sup}{ul}{it}{ + <-> ssub * LibreFranklin-Sup/thin/it +}{} + + +% el --> extralight + +\DeclareFontShape{OT1}{LibreFranklin-Sup}{el}{sl}{ + <-> ssub * LibreFranklin-Sup/extralight/sl +}{} + +\DeclareFontShape{OT1}{LibreFranklin-Sup}{el}{n}{ + <-> ssub * LibreFranklin-Sup/extralight/n +}{} + +\DeclareFontShape{OT1}{LibreFranklin-Sup}{el}{it}{ + <-> ssub * LibreFranklin-Sup/extralight/it +}{} + + +% l --> light + +\DeclareFontShape{OT1}{LibreFranklin-Sup}{l}{sl}{ + <-> ssub * LibreFranklin-Sup/light/sl +}{} + +\DeclareFontShape{OT1}{LibreFranklin-Sup}{l}{n}{ + <-> ssub * LibreFranklin-Sup/light/n +}{} + +\DeclareFontShape{OT1}{LibreFranklin-Sup}{l}{it}{ + <-> ssub * LibreFranklin-Sup/light/it +}{} + + +% m --> regular + +\DeclareFontShape{OT1}{LibreFranklin-Sup}{m}{sl}{ + <-> ssub * LibreFranklin-Sup/regular/sl +}{} + +\DeclareFontShape{OT1}{LibreFranklin-Sup}{m}{n}{ + <-> ssub * LibreFranklin-Sup/regular/n +}{} + +\DeclareFontShape{OT1}{LibreFranklin-Sup}{m}{it}{ + <-> ssub * LibreFranklin-Sup/regular/it +}{} + + +% sb --> semibold + +\DeclareFontShape{OT1}{LibreFranklin-Sup}{sb}{sl}{ + <-> ssub * LibreFranklin-Sup/semibold/sl +}{} + +\DeclareFontShape{OT1}{LibreFranklin-Sup}{sb}{n}{ + <-> ssub * LibreFranklin-Sup/semibold/n +}{} + +\DeclareFontShape{OT1}{LibreFranklin-Sup}{sb}{it}{ + <-> ssub * LibreFranklin-Sup/semibold/it +}{} + + +% b --> bold + +\DeclareFontShape{OT1}{LibreFranklin-Sup}{b}{sl}{ + <-> ssub * LibreFranklin-Sup/bold/sl +}{} + +\DeclareFontShape{OT1}{LibreFranklin-Sup}{b}{n}{ + <-> ssub * LibreFranklin-Sup/bold/n +}{} + +\DeclareFontShape{OT1}{LibreFranklin-Sup}{b}{it}{ + <-> ssub * LibreFranklin-Sup/bold/it +}{} + + +% eb --> extrabold + +\DeclareFontShape{OT1}{LibreFranklin-Sup}{eb}{sl}{ + <-> ssub * LibreFranklin-Sup/extrabold/sl +}{} + +\DeclareFontShape{OT1}{LibreFranklin-Sup}{eb}{n}{ + <-> ssub * LibreFranklin-Sup/extrabold/n +}{} + +\DeclareFontShape{OT1}{LibreFranklin-Sup}{eb}{it}{ + <-> ssub * LibreFranklin-Sup/extrabold/it +}{} + + +% ub --> black + +\DeclareFontShape{OT1}{LibreFranklin-Sup}{ub}{sl}{ + <-> ssub * LibreFranklin-Sup/black/sl +}{} + +\DeclareFontShape{OT1}{LibreFranklin-Sup}{ub}{n}{ + <-> ssub * LibreFranklin-Sup/black/n +}{} + +\DeclareFontShape{OT1}{LibreFranklin-Sup}{ub}{it}{ + <-> ssub * LibreFranklin-Sup/black/it +}{} + +\DeclareFontShape{OT1}{LibreFranklin-Sup}{bx}{n}{ + <-> ssub * LibreFranklin-Sup/b/n +}{} + +\DeclareFontShape{OT1}{LibreFranklin-Sup}{bx}{sl}{ + <-> ssub * LibreFranklin-Sup/b/sl +}{} + +\DeclareFontShape{OT1}{LibreFranklin-Sup}{bx}{it}{ + <-> ssub * LibreFranklin-Sup/b/it +}{} + +\endinput diff --git a/fonts/librefranklin/latex/OT1LibreFranklin-TLF.fd b/fonts/librefranklin/latex/OT1LibreFranklin-TLF.fd new file mode 100644 index 0000000000..130124a487 --- /dev/null +++ b/fonts/librefranklin/latex/OT1LibreFranklin-TLF.fd @@ -0,0 +1,284 @@ +%% Generated by autoinst on 2019/05/10 +%% +\ProvidesFile{OT1LibreFranklin-TLF.fd} + [2019/05/10 (autoinst) Font definitions for OT1/LibreFranklin-TLF.] + +\expandafter\ifx\csname LibreFranklin@scale\endcsname\relax + \let\LibreFranklin@@scale\@empty +\else + \edef\LibreFranklin@@scale{s*[\csname LibreFranklin@scale\endcsname]}% +\fi + +\DeclareFontFamily{OT1}{LibreFranklin-TLF}{} + + +% ---- regular ---- + +\DeclareFontShape{OT1}{LibreFranklin-TLF}{regular}{n}{ + <-> \LibreFranklin@@scale LibreFranklin-Regular-tlf-ot1 +}{} + +\DeclareFontShape{OT1}{LibreFranklin-TLF}{regular}{it}{ + <-> \LibreFranklin@@scale LibreFranklin-Italic-tlf-ot1 +}{} + +\DeclareFontShape{OT1}{LibreFranklin-TLF}{regular}{sl}{ + <-> ssub * LibreFranklin-TLF/regular/it +}{} + + +% ---- thin ---- + +\DeclareFontShape{OT1}{LibreFranklin-TLF}{thin}{n}{ + <-> \LibreFranklin@@scale LibreFranklin-Thin-tlf-ot1 +}{} + +\DeclareFontShape{OT1}{LibreFranklin-TLF}{thin}{it}{ + <-> \LibreFranklin@@scale LibreFranklin-ThinItalic-tlf-ot1 +}{} + +\DeclareFontShape{OT1}{LibreFranklin-TLF}{thin}{sl}{ + <-> ssub * LibreFranklin-TLF/thin/it +}{} + + +% ---- semibold ---- + +\DeclareFontShape{OT1}{LibreFranklin-TLF}{semibold}{n}{ + <-> \LibreFranklin@@scale LibreFranklin-SemiBold-tlf-ot1 +}{} + +\DeclareFontShape{OT1}{LibreFranklin-TLF}{semibold}{it}{ + <-> \LibreFranklin@@scale LibreFranklin-SemiBoldItalic-tlf-ot1 +}{} + +\DeclareFontShape{OT1}{LibreFranklin-TLF}{semibold}{sl}{ + <-> ssub * LibreFranklin-TLF/semibold/it +}{} + + +% ---- bold ---- + +\DeclareFontShape{OT1}{LibreFranklin-TLF}{bold}{n}{ + <-> \LibreFranklin@@scale LibreFranklin-Bold-tlf-ot1 +}{} + +\DeclareFontShape{OT1}{LibreFranklin-TLF}{bold}{it}{ + <-> \LibreFranklin@@scale LibreFranklin-BoldItalic-tlf-ot1 +}{} + +\DeclareFontShape{OT1}{LibreFranklin-TLF}{bold}{sl}{ + <-> ssub * LibreFranklin-TLF/bold/it +}{} + + +% ---- light ---- + +\DeclareFontShape{OT1}{LibreFranklin-TLF}{light}{n}{ + <-> \LibreFranklin@@scale LibreFranklin-Light-tlf-ot1 +}{} + +\DeclareFontShape{OT1}{LibreFranklin-TLF}{light}{it}{ + <-> \LibreFranklin@@scale LibreFranklin-LightItalic-tlf-ot1 +}{} + +\DeclareFontShape{OT1}{LibreFranklin-TLF}{light}{sl}{ + <-> ssub * LibreFranklin-TLF/light/it +}{} + + +% ---- extrabold ---- + +\DeclareFontShape{OT1}{LibreFranklin-TLF}{extrabold}{n}{ + <-> \LibreFranklin@@scale LibreFranklin-ExtraBold-tlf-ot1 +}{} + +\DeclareFontShape{OT1}{LibreFranklin-TLF}{extrabold}{it}{ + <-> \LibreFranklin@@scale LibreFranklin-ExtraBoldItalic-tlf-ot1 +}{} + +\DeclareFontShape{OT1}{LibreFranklin-TLF}{extrabold}{sl}{ + <-> ssub * LibreFranklin-TLF/extrabold/it +}{} + + +% ---- black ---- + +\DeclareFontShape{OT1}{LibreFranklin-TLF}{black}{n}{ + <-> \LibreFranklin@@scale LibreFranklin-Black-tlf-ot1 +}{} + +\DeclareFontShape{OT1}{LibreFranklin-TLF}{black}{it}{ + <-> \LibreFranklin@@scale LibreFranklin-BlackItalic-tlf-ot1 +}{} + +\DeclareFontShape{OT1}{LibreFranklin-TLF}{black}{sl}{ + <-> ssub * LibreFranklin-TLF/black/it +}{} + + +% ---- medium ---- + +\DeclareFontShape{OT1}{LibreFranklin-TLF}{medium}{n}{ + <-> \LibreFranklin@@scale LibreFranklin-Medium-tlf-ot1 +}{} + +\DeclareFontShape{OT1}{LibreFranklin-TLF}{medium}{it}{ + <-> \LibreFranklin@@scale LibreFranklin-MediumItalic-tlf-ot1 +}{} + +\DeclareFontShape{OT1}{LibreFranklin-TLF}{medium}{sl}{ + <-> ssub * LibreFranklin-TLF/medium/it +}{} + + +% ---- extralight ---- + +\DeclareFontShape{OT1}{LibreFranklin-TLF}{extralight}{n}{ + <-> \LibreFranklin@@scale LibreFranklin-ExtraLight-tlf-ot1 +}{} + +\DeclareFontShape{OT1}{LibreFranklin-TLF}{extralight}{it}{ + <-> \LibreFranklin@@scale LibreFranklin-ExtraLightItalic-tlf-ot1 +}{} + +\DeclareFontShape{OT1}{LibreFranklin-TLF}{extralight}{sl}{ + <-> ssub * LibreFranklin-TLF/extralight/it +}{} + +% +% Extra 'ssub' rules to map the standard NFSS codes to our fancy names +% + +% ul --> thin + +\DeclareFontShape{OT1}{LibreFranklin-TLF}{ul}{sl}{ + <-> ssub * LibreFranklin-TLF/thin/sl +}{} + +\DeclareFontShape{OT1}{LibreFranklin-TLF}{ul}{n}{ + <-> ssub * LibreFranklin-TLF/thin/n +}{} + +\DeclareFontShape{OT1}{LibreFranklin-TLF}{ul}{it}{ + <-> ssub * LibreFranklin-TLF/thin/it +}{} + + +% el --> extralight + +\DeclareFontShape{OT1}{LibreFranklin-TLF}{el}{sl}{ + <-> ssub * LibreFranklin-TLF/extralight/sl +}{} + +\DeclareFontShape{OT1}{LibreFranklin-TLF}{el}{n}{ + <-> ssub * LibreFranklin-TLF/extralight/n +}{} + +\DeclareFontShape{OT1}{LibreFranklin-TLF}{el}{it}{ + <-> ssub * LibreFranklin-TLF/extralight/it +}{} + + +% l --> light + +\DeclareFontShape{OT1}{LibreFranklin-TLF}{l}{sl}{ + <-> ssub * LibreFranklin-TLF/light/sl +}{} + +\DeclareFontShape{OT1}{LibreFranklin-TLF}{l}{n}{ + <-> ssub * LibreFranklin-TLF/light/n +}{} + +\DeclareFontShape{OT1}{LibreFranklin-TLF}{l}{it}{ + <-> ssub * LibreFranklin-TLF/light/it +}{} + + +% m --> regular + +\DeclareFontShape{OT1}{LibreFranklin-TLF}{m}{sl}{ + <-> ssub * LibreFranklin-TLF/regular/sl +}{} + +\DeclareFontShape{OT1}{LibreFranklin-TLF}{m}{n}{ + <-> ssub * LibreFranklin-TLF/regular/n +}{} + +\DeclareFontShape{OT1}{LibreFranklin-TLF}{m}{it}{ + <-> ssub * LibreFranklin-TLF/regular/it +}{} + + +% sb --> semibold + +\DeclareFontShape{OT1}{LibreFranklin-TLF}{sb}{sl}{ + <-> ssub * LibreFranklin-TLF/semibold/sl +}{} + +\DeclareFontShape{OT1}{LibreFranklin-TLF}{sb}{n}{ + <-> ssub * LibreFranklin-TLF/semibold/n +}{} + +\DeclareFontShape{OT1}{LibreFranklin-TLF}{sb}{it}{ + <-> ssub * LibreFranklin-TLF/semibold/it +}{} + + +% b --> bold + +\DeclareFontShape{OT1}{LibreFranklin-TLF}{b}{sl}{ + <-> ssub * LibreFranklin-TLF/bold/sl +}{} + +\DeclareFontShape{OT1}{LibreFranklin-TLF}{b}{n}{ + <-> ssub * LibreFranklin-TLF/bold/n +}{} + +\DeclareFontShape{OT1}{LibreFranklin-TLF}{b}{it}{ + <-> ssub * LibreFranklin-TLF/bold/it +}{} + + +% eb --> extrabold + +\DeclareFontShape{OT1}{LibreFranklin-TLF}{eb}{sl}{ + <-> ssub * LibreFranklin-TLF/extrabold/sl +}{} + +\DeclareFontShape{OT1}{LibreFranklin-TLF}{eb}{n}{ + <-> ssub * LibreFranklin-TLF/extrabold/n +}{} + +\DeclareFontShape{OT1}{LibreFranklin-TLF}{eb}{it}{ + <-> ssub * LibreFranklin-TLF/extrabold/it +}{} + + +% ub --> black + +\DeclareFontShape{OT1}{LibreFranklin-TLF}{ub}{sl}{ + <-> ssub * LibreFranklin-TLF/black/sl +}{} + +\DeclareFontShape{OT1}{LibreFranklin-TLF}{ub}{n}{ + <-> ssub * LibreFranklin-TLF/black/n +}{} + +\DeclareFontShape{OT1}{LibreFranklin-TLF}{ub}{it}{ + <-> ssub * LibreFranklin-TLF/black/it +}{} + +\DeclareFontShape{OT1}{LibreFranklin-TLF}{bx}{n}{ + <-> ssub * LibreFranklin-TLF/b/n +}{} + +\DeclareFontShape{OT1}{LibreFranklin-TLF}{bx}{sl}{ + <-> ssub * LibreFranklin-TLF/b/sl +}{} + +\DeclareFontShape{OT1}{LibreFranklin-TLF}{bx}{it}{ + <-> ssub * LibreFranklin-TLF/b/it +}{} + +\endinput diff --git a/fonts/librefranklin/latex/T1LibreFranklin-Sup.fd b/fonts/librefranklin/latex/T1LibreFranklin-Sup.fd new file mode 100644 index 0000000000..82dc65883f --- /dev/null +++ b/fonts/librefranklin/latex/T1LibreFranklin-Sup.fd @@ -0,0 +1,284 @@ +%% Generated by autoinst on 2019/05/10 +%% +\ProvidesFile{T1LibreFranklin-Sup.fd} + [2019/05/10 (autoinst) Font definitions for T1/LibreFranklin-Sup.] + +\expandafter\ifx\csname LibreFranklin@scale\endcsname\relax + \let\LibreFranklin@@scale\@empty +\else + \edef\LibreFranklin@@scale{s*[\csname LibreFranklin@scale\endcsname]}% +\fi + +\DeclareFontFamily{T1}{LibreFranklin-Sup}{} + + +% ---- regular ---- + +\DeclareFontShape{T1}{LibreFranklin-Sup}{regular}{n}{ + <-> \LibreFranklin@@scale LibreFranklin-Regular-sup-t1 +}{} + +\DeclareFontShape{T1}{LibreFranklin-Sup}{regular}{it}{ + <-> \LibreFranklin@@scale LibreFranklin-Italic-sup-t1 +}{} + +\DeclareFontShape{T1}{LibreFranklin-Sup}{regular}{sl}{ + <-> ssub * LibreFranklin-Sup/regular/it +}{} + + +% ---- thin ---- + +\DeclareFontShape{T1}{LibreFranklin-Sup}{thin}{n}{ + <-> \LibreFranklin@@scale LibreFranklin-Thin-sup-t1 +}{} + +\DeclareFontShape{T1}{LibreFranklin-Sup}{thin}{it}{ + <-> \LibreFranklin@@scale LibreFranklin-ThinItalic-sup-t1 +}{} + +\DeclareFontShape{T1}{LibreFranklin-Sup}{thin}{sl}{ + <-> ssub * LibreFranklin-Sup/thin/it +}{} + + +% ---- semibold ---- + +\DeclareFontShape{T1}{LibreFranklin-Sup}{semibold}{n}{ + <-> \LibreFranklin@@scale LibreFranklin-SemiBold-sup-t1 +}{} + +\DeclareFontShape{T1}{LibreFranklin-Sup}{semibold}{it}{ + <-> \LibreFranklin@@scale LibreFranklin-SemiBoldItalic-sup-t1 +}{} + +\DeclareFontShape{T1}{LibreFranklin-Sup}{semibold}{sl}{ + <-> ssub * LibreFranklin-Sup/semibold/it +}{} + + +% ---- bold ---- + +\DeclareFontShape{T1}{LibreFranklin-Sup}{bold}{n}{ + <-> \LibreFranklin@@scale LibreFranklin-Bold-sup-t1 +}{} + +\DeclareFontShape{T1}{LibreFranklin-Sup}{bold}{it}{ + <-> \LibreFranklin@@scale LibreFranklin-BoldItalic-sup-t1 +}{} + +\DeclareFontShape{T1}{LibreFranklin-Sup}{bold}{sl}{ + <-> ssub * LibreFranklin-Sup/bold/it +}{} + + +% ---- light ---- + +\DeclareFontShape{T1}{LibreFranklin-Sup}{light}{n}{ + <-> \LibreFranklin@@scale LibreFranklin-Light-sup-t1 +}{} + +\DeclareFontShape{T1}{LibreFranklin-Sup}{light}{it}{ + <-> \LibreFranklin@@scale LibreFranklin-LightItalic-sup-t1 +}{} + +\DeclareFontShape{T1}{LibreFranklin-Sup}{light}{sl}{ + <-> ssub * LibreFranklin-Sup/light/it +}{} + + +% ---- extrabold ---- + +\DeclareFontShape{T1}{LibreFranklin-Sup}{extrabold}{n}{ + <-> \LibreFranklin@@scale LibreFranklin-ExtraBold-sup-t1 +}{} + +\DeclareFontShape{T1}{LibreFranklin-Sup}{extrabold}{it}{ + <-> \LibreFranklin@@scale LibreFranklin-ExtraBoldItalic-sup-t1 +}{} + +\DeclareFontShape{T1}{LibreFranklin-Sup}{extrabold}{sl}{ + <-> ssub * LibreFranklin-Sup/extrabold/it +}{} + + +% ---- black ---- + +\DeclareFontShape{T1}{LibreFranklin-Sup}{black}{n}{ + <-> \LibreFranklin@@scale LibreFranklin-Black-sup-t1 +}{} + +\DeclareFontShape{T1}{LibreFranklin-Sup}{black}{it}{ + <-> \LibreFranklin@@scale LibreFranklin-BlackItalic-sup-t1 +}{} + +\DeclareFontShape{T1}{LibreFranklin-Sup}{black}{sl}{ + <-> ssub * LibreFranklin-Sup/black/it +}{} + + +% ---- medium ---- + +\DeclareFontShape{T1}{LibreFranklin-Sup}{medium}{n}{ + <-> \LibreFranklin@@scale LibreFranklin-Medium-sup-t1 +}{} + +\DeclareFontShape{T1}{LibreFranklin-Sup}{medium}{it}{ + <-> \LibreFranklin@@scale LibreFranklin-MediumItalic-sup-t1 +}{} + +\DeclareFontShape{T1}{LibreFranklin-Sup}{medium}{sl}{ + <-> ssub * LibreFranklin-Sup/medium/it +}{} + + +% ---- extralight ---- + +\DeclareFontShape{T1}{LibreFranklin-Sup}{extralight}{n}{ + <-> \LibreFranklin@@scale LibreFranklin-ExtraLight-sup-t1 +}{} + +\DeclareFontShape{T1}{LibreFranklin-Sup}{extralight}{it}{ + <-> \LibreFranklin@@scale LibreFranklin-ExtraLightItalic-sup-t1 +}{} + +\DeclareFontShape{T1}{LibreFranklin-Sup}{extralight}{sl}{ + <-> ssub * LibreFranklin-Sup/extralight/it +}{} + +% +% Extra 'ssub' rules to map the standard NFSS codes to our fancy names +% + +% ul --> thin + +\DeclareFontShape{T1}{LibreFranklin-Sup}{ul}{sl}{ + <-> ssub * LibreFranklin-Sup/thin/sl +}{} + +\DeclareFontShape{T1}{LibreFranklin-Sup}{ul}{n}{ + <-> ssub * LibreFranklin-Sup/thin/n +}{} + +\DeclareFontShape{T1}{LibreFranklin-Sup}{ul}{it}{ + <-> ssub * LibreFranklin-Sup/thin/it +}{} + + +% el --> extralight + +\DeclareFontShape{T1}{LibreFranklin-Sup}{el}{sl}{ + <-> ssub * LibreFranklin-Sup/extralight/sl +}{} + +\DeclareFontShape{T1}{LibreFranklin-Sup}{el}{n}{ + <-> ssub * LibreFranklin-Sup/extralight/n +}{} + +\DeclareFontShape{T1}{LibreFranklin-Sup}{el}{it}{ + <-> ssub * LibreFranklin-Sup/extralight/it +}{} + + +% l --> light + +\DeclareFontShape{T1}{LibreFranklin-Sup}{l}{sl}{ + <-> ssub * LibreFranklin-Sup/light/sl +}{} + +\DeclareFontShape{T1}{LibreFranklin-Sup}{l}{n}{ + <-> ssub * LibreFranklin-Sup/light/n +}{} + +\DeclareFontShape{T1}{LibreFranklin-Sup}{l}{it}{ + <-> ssub * LibreFranklin-Sup/light/it +}{} + + +% m --> regular + +\DeclareFontShape{T1}{LibreFranklin-Sup}{m}{sl}{ + <-> ssub * LibreFranklin-Sup/regular/sl +}{} + +\DeclareFontShape{T1}{LibreFranklin-Sup}{m}{n}{ + <-> ssub * LibreFranklin-Sup/regular/n +}{} + +\DeclareFontShape{T1}{LibreFranklin-Sup}{m}{it}{ + <-> ssub * LibreFranklin-Sup/regular/it +}{} + + +% sb --> semibold + +\DeclareFontShape{T1}{LibreFranklin-Sup}{sb}{sl}{ + <-> ssub * LibreFranklin-Sup/semibold/sl +}{} + +\DeclareFontShape{T1}{LibreFranklin-Sup}{sb}{n}{ + <-> ssub * LibreFranklin-Sup/semibold/n +}{} + +\DeclareFontShape{T1}{LibreFranklin-Sup}{sb}{it}{ + <-> ssub * LibreFranklin-Sup/semibold/it +}{} + + +% b --> bold + +\DeclareFontShape{T1}{LibreFranklin-Sup}{b}{sl}{ + <-> ssub * LibreFranklin-Sup/bold/sl +}{} + +\DeclareFontShape{T1}{LibreFranklin-Sup}{b}{n}{ + <-> ssub * LibreFranklin-Sup/bold/n +}{} + +\DeclareFontShape{T1}{LibreFranklin-Sup}{b}{it}{ + <-> ssub * LibreFranklin-Sup/bold/it +}{} + + +% eb --> extrabold + +\DeclareFontShape{T1}{LibreFranklin-Sup}{eb}{sl}{ + <-> ssub * LibreFranklin-Sup/extrabold/sl +}{} + +\DeclareFontShape{T1}{LibreFranklin-Sup}{eb}{n}{ + <-> ssub * LibreFranklin-Sup/extrabold/n +}{} + +\DeclareFontShape{T1}{LibreFranklin-Sup}{eb}{it}{ + <-> ssub * LibreFranklin-Sup/extrabold/it +}{} + + +% ub --> black + +\DeclareFontShape{T1}{LibreFranklin-Sup}{ub}{sl}{ + <-> ssub * LibreFranklin-Sup/black/sl +}{} + +\DeclareFontShape{T1}{LibreFranklin-Sup}{ub}{n}{ + <-> ssub * LibreFranklin-Sup/black/n +}{} + +\DeclareFontShape{T1}{LibreFranklin-Sup}{ub}{it}{ + <-> ssub * LibreFranklin-Sup/black/it +}{} + +\DeclareFontShape{T1}{LibreFranklin-Sup}{bx}{n}{ + <-> ssub * LibreFranklin-Sup/b/n +}{} + +\DeclareFontShape{T1}{LibreFranklin-Sup}{bx}{sl}{ + <-> ssub * LibreFranklin-Sup/b/sl +}{} + +\DeclareFontShape{T1}{LibreFranklin-Sup}{bx}{it}{ + <-> ssub * LibreFranklin-Sup/b/it +}{} + +\endinput diff --git a/fonts/librefranklin/latex/T1LibreFranklin-TLF.fd b/fonts/librefranklin/latex/T1LibreFranklin-TLF.fd new file mode 100644 index 0000000000..d45c4831a3 --- /dev/null +++ b/fonts/librefranklin/latex/T1LibreFranklin-TLF.fd @@ -0,0 +1,284 @@ +%% Generated by autoinst on 2019/05/10 +%% +\ProvidesFile{T1LibreFranklin-TLF.fd} + [2019/05/10 (autoinst) Font definitions for T1/LibreFranklin-TLF.] + +\expandafter\ifx\csname LibreFranklin@scale\endcsname\relax + \let\LibreFranklin@@scale\@empty +\else + \edef\LibreFranklin@@scale{s*[\csname LibreFranklin@scale\endcsname]}% +\fi + +\DeclareFontFamily{T1}{LibreFranklin-TLF}{} + + +% ---- regular ---- + +\DeclareFontShape{T1}{LibreFranklin-TLF}{regular}{n}{ + <-> \LibreFranklin@@scale LibreFranklin-Regular-tlf-t1 +}{} + +\DeclareFontShape{T1}{LibreFranklin-TLF}{regular}{it}{ + <-> \LibreFranklin@@scale LibreFranklin-Italic-tlf-t1 +}{} + +\DeclareFontShape{T1}{LibreFranklin-TLF}{regular}{sl}{ + <-> ssub * LibreFranklin-TLF/regular/it +}{} + + +% ---- thin ---- + +\DeclareFontShape{T1}{LibreFranklin-TLF}{thin}{n}{ + <-> \LibreFranklin@@scale LibreFranklin-Thin-tlf-t1 +}{} + +\DeclareFontShape{T1}{LibreFranklin-TLF}{thin}{it}{ + <-> \LibreFranklin@@scale LibreFranklin-ThinItalic-tlf-t1 +}{} + +\DeclareFontShape{T1}{LibreFranklin-TLF}{thin}{sl}{ + <-> ssub * LibreFranklin-TLF/thin/it +}{} + + +% ---- semibold ---- + +\DeclareFontShape{T1}{LibreFranklin-TLF}{semibold}{n}{ + <-> \LibreFranklin@@scale LibreFranklin-SemiBold-tlf-t1 +}{} + +\DeclareFontShape{T1}{LibreFranklin-TLF}{semibold}{it}{ + <-> \LibreFranklin@@scale LibreFranklin-SemiBoldItalic-tlf-t1 +}{} + +\DeclareFontShape{T1}{LibreFranklin-TLF}{semibold}{sl}{ + <-> ssub * LibreFranklin-TLF/semibold/it +}{} + + +% ---- bold ---- + +\DeclareFontShape{T1}{LibreFranklin-TLF}{bold}{n}{ + <-> \LibreFranklin@@scale LibreFranklin-Bold-tlf-t1 +}{} + +\DeclareFontShape{T1}{LibreFranklin-TLF}{bold}{it}{ + <-> \LibreFranklin@@scale LibreFranklin-BoldItalic-tlf-t1 +}{} + +\DeclareFontShape{T1}{LibreFranklin-TLF}{bold}{sl}{ + <-> ssub * LibreFranklin-TLF/bold/it +}{} + + +% ---- light ---- + +\DeclareFontShape{T1}{LibreFranklin-TLF}{light}{n}{ + <-> \LibreFranklin@@scale LibreFranklin-Light-tlf-t1 +}{} + +\DeclareFontShape{T1}{LibreFranklin-TLF}{light}{it}{ + <-> \LibreFranklin@@scale LibreFranklin-LightItalic-tlf-t1 +}{} + +\DeclareFontShape{T1}{LibreFranklin-TLF}{light}{sl}{ + <-> ssub * LibreFranklin-TLF/light/it +}{} + + +% ---- extrabold ---- + +\DeclareFontShape{T1}{LibreFranklin-TLF}{extrabold}{n}{ + <-> \LibreFranklin@@scale LibreFranklin-ExtraBold-tlf-t1 +}{} + +\DeclareFontShape{T1}{LibreFranklin-TLF}{extrabold}{it}{ + <-> \LibreFranklin@@scale LibreFranklin-ExtraBoldItalic-tlf-t1 +}{} + +\DeclareFontShape{T1}{LibreFranklin-TLF}{extrabold}{sl}{ + <-> ssub * LibreFranklin-TLF/extrabold/it +}{} + + +% ---- black ---- + +\DeclareFontShape{T1}{LibreFranklin-TLF}{black}{n}{ + <-> \LibreFranklin@@scale LibreFranklin-Black-tlf-t1 +}{} + +\DeclareFontShape{T1}{LibreFranklin-TLF}{black}{it}{ + <-> \LibreFranklin@@scale LibreFranklin-BlackItalic-tlf-t1 +}{} + +\DeclareFontShape{T1}{LibreFranklin-TLF}{black}{sl}{ + <-> ssub * LibreFranklin-TLF/black/it +}{} + + +% ---- medium ---- + +\DeclareFontShape{T1}{LibreFranklin-TLF}{medium}{n}{ + <-> \LibreFranklin@@scale LibreFranklin-Medium-tlf-t1 +}{} + +\DeclareFontShape{T1}{LibreFranklin-TLF}{medium}{it}{ + <-> \LibreFranklin@@scale LibreFranklin-MediumItalic-tlf-t1 +}{} + +\DeclareFontShape{T1}{LibreFranklin-TLF}{medium}{sl}{ + <-> ssub * LibreFranklin-TLF/medium/it +}{} + + +% ---- extralight ---- + +\DeclareFontShape{T1}{LibreFranklin-TLF}{extralight}{n}{ + <-> \LibreFranklin@@scale LibreFranklin-ExtraLight-tlf-t1 +}{} + +\DeclareFontShape{T1}{LibreFranklin-TLF}{extralight}{it}{ + <-> \LibreFranklin@@scale LibreFranklin-ExtraLightItalic-tlf-t1 +}{} + +\DeclareFontShape{T1}{LibreFranklin-TLF}{extralight}{sl}{ + <-> ssub * LibreFranklin-TLF/extralight/it +}{} + +% +% Extra 'ssub' rules to map the standard NFSS codes to our fancy names +% + +% ul --> thin + +\DeclareFontShape{T1}{LibreFranklin-TLF}{ul}{sl}{ + <-> ssub * LibreFranklin-TLF/thin/sl +}{} + +\DeclareFontShape{T1}{LibreFranklin-TLF}{ul}{n}{ + <-> ssub * LibreFranklin-TLF/thin/n +}{} + +\DeclareFontShape{T1}{LibreFranklin-TLF}{ul}{it}{ + <-> ssub * LibreFranklin-TLF/thin/it +}{} + + +% el --> extralight + +\DeclareFontShape{T1}{LibreFranklin-TLF}{el}{sl}{ + <-> ssub * LibreFranklin-TLF/extralight/sl +}{} + +\DeclareFontShape{T1}{LibreFranklin-TLF}{el}{n}{ + <-> ssub * LibreFranklin-TLF/extralight/n +}{} + +\DeclareFontShape{T1}{LibreFranklin-TLF}{el}{it}{ + <-> ssub * LibreFranklin-TLF/extralight/it +}{} + + +% l --> light + +\DeclareFontShape{T1}{LibreFranklin-TLF}{l}{sl}{ + <-> ssub * LibreFranklin-TLF/light/sl +}{} + +\DeclareFontShape{T1}{LibreFranklin-TLF}{l}{n}{ + <-> ssub * LibreFranklin-TLF/light/n +}{} + +\DeclareFontShape{T1}{LibreFranklin-TLF}{l}{it}{ + <-> ssub * LibreFranklin-TLF/light/it +}{} + + +% m --> regular + +\DeclareFontShape{T1}{LibreFranklin-TLF}{m}{sl}{ + <-> ssub * LibreFranklin-TLF/regular/sl +}{} + +\DeclareFontShape{T1}{LibreFranklin-TLF}{m}{n}{ + <-> ssub * LibreFranklin-TLF/regular/n +}{} + +\DeclareFontShape{T1}{LibreFranklin-TLF}{m}{it}{ + <-> ssub * LibreFranklin-TLF/regular/it +}{} + + +% sb --> semibold + +\DeclareFontShape{T1}{LibreFranklin-TLF}{sb}{sl}{ + <-> ssub * LibreFranklin-TLF/semibold/sl +}{} + +\DeclareFontShape{T1}{LibreFranklin-TLF}{sb}{n}{ + <-> ssub * LibreFranklin-TLF/semibold/n +}{} + +\DeclareFontShape{T1}{LibreFranklin-TLF}{sb}{it}{ + <-> ssub * LibreFranklin-TLF/semibold/it +}{} + + +% b --> bold + +\DeclareFontShape{T1}{LibreFranklin-TLF}{b}{sl}{ + <-> ssub * LibreFranklin-TLF/bold/sl +}{} + +\DeclareFontShape{T1}{LibreFranklin-TLF}{b}{n}{ + <-> ssub * LibreFranklin-TLF/bold/n +}{} + +\DeclareFontShape{T1}{LibreFranklin-TLF}{b}{it}{ + <-> ssub * LibreFranklin-TLF/bold/it +}{} + + +% eb --> extrabold + +\DeclareFontShape{T1}{LibreFranklin-TLF}{eb}{sl}{ + <-> ssub * LibreFranklin-TLF/extrabold/sl +}{} + +\DeclareFontShape{T1}{LibreFranklin-TLF}{eb}{n}{ + <-> ssub * LibreFranklin-TLF/extrabold/n +}{} + +\DeclareFontShape{T1}{LibreFranklin-TLF}{eb}{it}{ + <-> ssub * LibreFranklin-TLF/extrabold/it +}{} + + +% ub --> black + +\DeclareFontShape{T1}{LibreFranklin-TLF}{ub}{sl}{ + <-> ssub * LibreFranklin-TLF/black/sl +}{} + +\DeclareFontShape{T1}{LibreFranklin-TLF}{ub}{n}{ + <-> ssub * LibreFranklin-TLF/black/n +}{} + +\DeclareFontShape{T1}{LibreFranklin-TLF}{ub}{it}{ + <-> ssub * LibreFranklin-TLF/black/it +}{} + +\DeclareFontShape{T1}{LibreFranklin-TLF}{bx}{n}{ + <-> ssub * LibreFranklin-TLF/b/n +}{} + +\DeclareFontShape{T1}{LibreFranklin-TLF}{bx}{sl}{ + <-> ssub * LibreFranklin-TLF/b/sl +}{} + +\DeclareFontShape{T1}{LibreFranklin-TLF}{bx}{it}{ + <-> ssub * LibreFranklin-TLF/b/it +}{} + +\endinput diff --git a/fonts/librefranklin/latex/TS1LibreFranklin-TLF.fd b/fonts/librefranklin/latex/TS1LibreFranklin-TLF.fd new file mode 100644 index 0000000000..a61da4ed57 --- /dev/null +++ b/fonts/librefranklin/latex/TS1LibreFranklin-TLF.fd @@ -0,0 +1,284 @@ +%% Generated by autoinst on 2019/05/10 +%% +\ProvidesFile{TS1LibreFranklin-TLF.fd} + [2019/05/10 (autoinst) Font definitions for TS1/LibreFranklin-TLF.] + +\expandafter\ifx\csname LibreFranklin@scale\endcsname\relax + \let\LibreFranklin@@scale\@empty +\else + \edef\LibreFranklin@@scale{s*[\csname LibreFranklin@scale\endcsname]}% +\fi + +\DeclareFontFamily{TS1}{LibreFranklin-TLF}{} + + +% ---- regular ---- + +\DeclareFontShape{TS1}{LibreFranklin-TLF}{regular}{n}{ + <-> \LibreFranklin@@scale LibreFranklin-Regular-tlf-ts1 +}{} + +\DeclareFontShape{TS1}{LibreFranklin-TLF}{regular}{it}{ + <-> \LibreFranklin@@scale LibreFranklin-Italic-tlf-ts1 +}{} + +\DeclareFontShape{TS1}{LibreFranklin-TLF}{regular}{sl}{ + <-> ssub * LibreFranklin-TLF/regular/it +}{} + + +% ---- thin ---- + +\DeclareFontShape{TS1}{LibreFranklin-TLF}{thin}{n}{ + <-> \LibreFranklin@@scale LibreFranklin-Thin-tlf-ts1 +}{} + +\DeclareFontShape{TS1}{LibreFranklin-TLF}{thin}{it}{ + <-> \LibreFranklin@@scale LibreFranklin-ThinItalic-tlf-ts1 +}{} + +\DeclareFontShape{TS1}{LibreFranklin-TLF}{thin}{sl}{ + <-> ssub * LibreFranklin-TLF/thin/it +}{} + + +% ---- semibold ---- + +\DeclareFontShape{TS1}{LibreFranklin-TLF}{semibold}{n}{ + <-> \LibreFranklin@@scale LibreFranklin-SemiBold-tlf-ts1 +}{} + +\DeclareFontShape{TS1}{LibreFranklin-TLF}{semibold}{it}{ + <-> \LibreFranklin@@scale LibreFranklin-SemiBoldItalic-tlf-ts1 +}{} + +\DeclareFontShape{TS1}{LibreFranklin-TLF}{semibold}{sl}{ + <-> ssub * LibreFranklin-TLF/semibold/it +}{} + + +% ---- bold ---- + +\DeclareFontShape{TS1}{LibreFranklin-TLF}{bold}{n}{ + <-> \LibreFranklin@@scale LibreFranklin-Bold-tlf-ts1 +}{} + +\DeclareFontShape{TS1}{LibreFranklin-TLF}{bold}{it}{ + <-> \LibreFranklin@@scale LibreFranklin-BoldItalic-tlf-ts1 +}{} + +\DeclareFontShape{TS1}{LibreFranklin-TLF}{bold}{sl}{ + <-> ssub * LibreFranklin-TLF/bold/it +}{} + + +% ---- light ---- + +\DeclareFontShape{TS1}{LibreFranklin-TLF}{light}{n}{ + <-> \LibreFranklin@@scale LibreFranklin-Light-tlf-ts1 +}{} + +\DeclareFontShape{TS1}{LibreFranklin-TLF}{light}{it}{ + <-> \LibreFranklin@@scale LibreFranklin-LightItalic-tlf-ts1 +}{} + +\DeclareFontShape{TS1}{LibreFranklin-TLF}{light}{sl}{ + <-> ssub * LibreFranklin-TLF/light/it +}{} + + +% ---- extrabold ---- + +\DeclareFontShape{TS1}{LibreFranklin-TLF}{extrabold}{n}{ + <-> \LibreFranklin@@scale LibreFranklin-ExtraBold-tlf-ts1 +}{} + +\DeclareFontShape{TS1}{LibreFranklin-TLF}{extrabold}{it}{ + <-> \LibreFranklin@@scale LibreFranklin-ExtraBoldItalic-tlf-ts1 +}{} + +\DeclareFontShape{TS1}{LibreFranklin-TLF}{extrabold}{sl}{ + <-> ssub * LibreFranklin-TLF/extrabold/it +}{} + + +% ---- black ---- + +\DeclareFontShape{TS1}{LibreFranklin-TLF}{black}{n}{ + <-> \LibreFranklin@@scale LibreFranklin-Black-tlf-ts1 +}{} + +\DeclareFontShape{TS1}{LibreFranklin-TLF}{black}{it}{ + <-> \LibreFranklin@@scale LibreFranklin-BlackItalic-tlf-ts1 +}{} + +\DeclareFontShape{TS1}{LibreFranklin-TLF}{black}{sl}{ + <-> ssub * LibreFranklin-TLF/black/it +}{} + + +% ---- medium ---- + +\DeclareFontShape{TS1}{LibreFranklin-TLF}{medium}{n}{ + <-> \LibreFranklin@@scale LibreFranklin-Medium-tlf-ts1 +}{} + +\DeclareFontShape{TS1}{LibreFranklin-TLF}{medium}{it}{ + <-> \LibreFranklin@@scale LibreFranklin-MediumItalic-tlf-ts1 +}{} + +\DeclareFontShape{TS1}{LibreFranklin-TLF}{medium}{sl}{ + <-> ssub * LibreFranklin-TLF/medium/it +}{} + + +% ---- extralight ---- + +\DeclareFontShape{TS1}{LibreFranklin-TLF}{extralight}{n}{ + <-> \LibreFranklin@@scale LibreFranklin-ExtraLight-tlf-ts1 +}{} + +\DeclareFontShape{TS1}{LibreFranklin-TLF}{extralight}{it}{ + <-> \LibreFranklin@@scale LibreFranklin-ExtraLightItalic-tlf-ts1 +}{} + +\DeclareFontShape{TS1}{LibreFranklin-TLF}{extralight}{sl}{ + <-> ssub * LibreFranklin-TLF/extralight/it +}{} + +% +% Extra 'ssub' rules to map the standard NFSS codes to our fancy names +% + +% ul --> thin + +\DeclareFontShape{TS1}{LibreFranklin-TLF}{ul}{sl}{ + <-> ssub * LibreFranklin-TLF/thin/sl +}{} + +\DeclareFontShape{TS1}{LibreFranklin-TLF}{ul}{n}{ + <-> ssub * LibreFranklin-TLF/thin/n +}{} + +\DeclareFontShape{TS1}{LibreFranklin-TLF}{ul}{it}{ + <-> ssub * LibreFranklin-TLF/thin/it +}{} + + +% el --> extralight + +\DeclareFontShape{TS1}{LibreFranklin-TLF}{el}{sl}{ + <-> ssub * LibreFranklin-TLF/extralight/sl +}{} + +\DeclareFontShape{TS1}{LibreFranklin-TLF}{el}{n}{ + <-> ssub * LibreFranklin-TLF/extralight/n +}{} + +\DeclareFontShape{TS1}{LibreFranklin-TLF}{el}{it}{ + <-> ssub * LibreFranklin-TLF/extralight/it +}{} + + +% l --> light + +\DeclareFontShape{TS1}{LibreFranklin-TLF}{l}{sl}{ + <-> ssub * LibreFranklin-TLF/light/sl +}{} + +\DeclareFontShape{TS1}{LibreFranklin-TLF}{l}{n}{ + <-> ssub * LibreFranklin-TLF/light/n +}{} + +\DeclareFontShape{TS1}{LibreFranklin-TLF}{l}{it}{ + <-> ssub * LibreFranklin-TLF/light/it +}{} + + +% m --> regular + +\DeclareFontShape{TS1}{LibreFranklin-TLF}{m}{sl}{ + <-> ssub * LibreFranklin-TLF/regular/sl +}{} + +\DeclareFontShape{TS1}{LibreFranklin-TLF}{m}{n}{ + <-> ssub * LibreFranklin-TLF/regular/n +}{} + +\DeclareFontShape{TS1}{LibreFranklin-TLF}{m}{it}{ + <-> ssub * LibreFranklin-TLF/regular/it +}{} + + +% sb --> semibold + +\DeclareFontShape{TS1}{LibreFranklin-TLF}{sb}{sl}{ + <-> ssub * LibreFranklin-TLF/semibold/sl +}{} + +\DeclareFontShape{TS1}{LibreFranklin-TLF}{sb}{n}{ + <-> ssub * LibreFranklin-TLF/semibold/n +}{} + +\DeclareFontShape{TS1}{LibreFranklin-TLF}{sb}{it}{ + <-> ssub * LibreFranklin-TLF/semibold/it +}{} + + +% b --> bold + +\DeclareFontShape{TS1}{LibreFranklin-TLF}{b}{sl}{ + <-> ssub * LibreFranklin-TLF/bold/sl +}{} + +\DeclareFontShape{TS1}{LibreFranklin-TLF}{b}{n}{ + <-> ssub * LibreFranklin-TLF/bold/n +}{} + +\DeclareFontShape{TS1}{LibreFranklin-TLF}{b}{it}{ + <-> ssub * LibreFranklin-TLF/bold/it +}{} + + +% eb --> extrabold + +\DeclareFontShape{TS1}{LibreFranklin-TLF}{eb}{sl}{ + <-> ssub * LibreFranklin-TLF/extrabold/sl +}{} + +\DeclareFontShape{TS1}{LibreFranklin-TLF}{eb}{n}{ + <-> ssub * LibreFranklin-TLF/extrabold/n +}{} + +\DeclareFontShape{TS1}{LibreFranklin-TLF}{eb}{it}{ + <-> ssub * LibreFranklin-TLF/extrabold/it +}{} + + +% ub --> black + +\DeclareFontShape{TS1}{LibreFranklin-TLF}{ub}{sl}{ + <-> ssub * LibreFranklin-TLF/black/sl +}{} + +\DeclareFontShape{TS1}{LibreFranklin-TLF}{ub}{n}{ + <-> ssub * LibreFranklin-TLF/black/n +}{} + +\DeclareFontShape{TS1}{LibreFranklin-TLF}{ub}{it}{ + <-> ssub * LibreFranklin-TLF/black/it +}{} + +\DeclareFontShape{TS1}{LibreFranklin-TLF}{bx}{n}{ + <-> ssub * LibreFranklin-TLF/b/n +}{} + +\DeclareFontShape{TS1}{LibreFranklin-TLF}{bx}{sl}{ + <-> ssub * LibreFranklin-TLF/b/sl +}{} + +\DeclareFontShape{TS1}{LibreFranklin-TLF}{bx}{it}{ + <-> ssub * LibreFranklin-TLF/b/it +}{} + +\endinput diff --git a/fonts/librefranklin/latex/librefranklin.sty b/fonts/librefranklin/latex/librefranklin.sty new file mode 100644 index 0000000000..c1c39cc311 --- /dev/null +++ b/fonts/librefranklin/latex/librefranklin.sty @@ -0,0 +1,118 @@ +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{librefranklin} + [2019/05/10 (Bob Tennent) Supports LibreFranklin fonts for all LaTeX engines.] + +\RequirePackage{ifxetex,ifluatex,xkeyval,textcomp} + +\newif\iflibrefranklin@otf +\ifxetex + \librefranklin@otftrue +\else\ifluatex + \librefranklin@otftrue +\else % [pdf]LaTeX + \librefranklin@otffalse +\fi\fi + +\newif\iflibrefranklin@default \librefranklin@defaultfalse +\newif\iflibrefranklin@semibold \librefranklin@semiboldfalse +\newif\iflibrefranklin@extrabold \librefranklin@extraboldfalse +\newif\iflibrefranklin@black \librefranklin@blackfalse +\newif\iflibrefranklin@medium \librefranklin@mediumfalse +\newif\iflibrefranklin@light \librefranklin@lightfalse +\newif\iflibrefranklin@extralight \librefranklin@extralightfalse +\newif\iflibrefranklin@thin \librefranklin@thinfalse + +\newcommand*{\LibreFranklin@scale}{1} +\DeclareOptionX{scaled}{\renewcommand*{\LibreFranklin@scale}{#1}} +\DeclareOptionX{scale}{\renewcommand*{\LibreFranklin@scale}{#1}} + +\DeclareOptionX{default}{\librefranklin@defaulttrue} +\DeclareOptionX{sfdefault}{\librefranklin@defaulttrue} +\DeclareOptionX{type1}{\librefranklin@otffalse} +\DeclareOptionX{semibold}{\librefranklin@semiboldtrue} +\DeclareOptionX{extrabold}{\librefranklin@extraboldtrue} +\DeclareOptionX{black}{\librefranklin@blacktrue} +\DeclareOptionX{bold}{\librefranklin@semiboldfalse} +\DeclareOptionX{medium}{\librefranklin@mediumtrue} +\DeclareOptionX{regular}{\librefranklin@mediumfalse} +\DeclareOptionX{light}{\librefranklin@lightfalse} +\DeclareOptionX{extralight}{\librefranklin@extralightfalse} +\DeclareOptionX{thin}{\librefranklin@thinfalse} + +\ExecuteOptionsX{bold,regular} +\ProcessOptionsX\relax + +\iflibrefranklin@otf + \def\librefranklin@boldstyle{Bold} + \iflibrefranklin@semibold\def\librefranklin@boldstyle{SemiBold}\fi + \iflibrefranklin@extrabold\def\librefranklin@boldstyle{ExtraBold}\fi + \iflibrefranklin@black\def\librefranklin@boldstyle{Black}\fi + \def\librefranklin@regstyle{Regular} + \iflibrefranklin@medium\def\librefranklin@regstyle{Medium}\fi + \iflibrefranklin@light\def\librefranklin@regstyle{Light}\fi + \iflibrefranklin@extralight\def\librefranklin@regstyle{ExtraLight}\fi + \iflibrefranklin@thin\def\librefranklin@regstyle{Thin}\fi + +\else % type1 + + \def\bfseries@sf{bold} + \iflibrefranklin@semibold\def\bfseries@sf{semibold}\fi + \iflibrefranklin@extrabold\def\bfseries@sf{extrabold}\fi + \iflibrefranklin@black\def\bfseries@sf{black}\fi + \def\mdseries@sf{regular} + \iflibrefranklin@medium\def\mdseries@sf{medium}\fi + \iflibrefranklin@light\def\mdseries@sf{light}\fi + \iflibrefranklin@extralight\def\mdseries@sf{extralight}\fi + \iflibrefranklin@thin\def\mdseries@sf{thin}\fi + + + +\fi + +\iflibrefranklin@otf + \RequirePackage{fontspec} +\else + \RequirePackage{fontenc,fontaxes,mweights} +\fi + +\iflibrefranklin@otf + \def\librefranklin@regular{Regular} + \ifxetex\XeTeXtracingfonts=1\fi + \defaultfontfeatures{ + Ligatures = TeX , + Scale = \LibreFranklin@scale , + Extension = .otf } + \setsansfont + [ UprightFont = *-\librefranklin@regstyle , + ItalicFont = *-\ifx\librefranklin@regstyle\librefranklin@regular Italic\else\librefranklin@regstyle Italic\fi , + BoldFont = *-\librefranklin@boldstyle , + BoldItalicFont = *-\librefranklin@boldstyle Italic ] + {LibreFranklin} + % grab current family in case of subsequent change: + \let\librefranklinfamily\sfdefault + \iflibrefranklin@default\renewcommand*\familydefault{\librefranklinfamily}\fi + \providecommand\sufigures{\addfontfeatures{VerticalPosition=Superior}} + \newfontfamily\librefranklin + [ UprightFont = *-\librefranklin@regstyle , + ItalicFont = *-\ifx\librefranklin@regstyle\librefranklin@regular Italic\else\librefranklin@regstyle Italic\fi , + BoldFont = *-\librefranklin@boldstyle , + BoldItalicFont = *-\librefranklin@boldstyle Italic ] + {LibreFranklin} +\else % type1 + \fa@naming@exception{figures}{{superior}{tabular}}{Sup} + \def\sufigures{\@nomath\sufigures + \fontfigurestyle{superior}\selectfont} + \DeclareTextFontCommand{\textsu}{\sufigures} + \let\textsuperior\textsu + \def\librefranklinfamily{LibreFranklin-TLF} + \newcommand*\librefranklin{\fontfamily{\librefranklinfamily}\selectfont} + \def\sfdefault{\librefranklinfamily} + \iflibrefranklin@default\edef\familydefault{\sfdefault}\edef\seriesdefault{\mdseries@sf}\fi +\fi + +\iflibrefranklin@otf +% turn off defaults in case other fonts are selected: + \defaultfontfeatures{} +\fi + +\endinput |