diff options
author | Karl Berry <karl@freefriends.org> | 2020-07-29 21:34:25 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-07-29 21:34:25 +0000 |
commit | 36496123436944e870fec51acc0e50c79d2c81bc (patch) | |
tree | b4f7d0239d93bb649ec16cef48538cc91dfdc4fd /Master/texmf-dist/tex | |
parent | ba9765989cdf7729cd58417d41092eeb6f152eaa (diff) |
librebaskerville (29jul20)
git-svn-id: svn://tug.org/texlive/trunk@55986 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
9 files changed, 230 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/librebaskerville/LY1LibreBskvl-LF.fd b/Master/texmf-dist/tex/latex/librebaskerville/LY1LibreBskvl-LF.fd index 255f55f7b3a..61da1d13090 100644 --- a/Master/texmf-dist/tex/latex/librebaskerville/LY1LibreBskvl-LF.fd +++ b/Master/texmf-dist/tex/latex/librebaskerville/LY1LibreBskvl-LF.fd @@ -41,6 +41,14 @@ <-> \LibreBskvl@@scale LibreBskvl-Bold-lf-ly1 }{} +\DeclareFontShape{LY1}{LibreBskvl-LF}{bold}{it}{ + <-> \LibreBskvl@@scale LibreBskvl-BoldItalic-lf-ly1 +}{} + +\DeclareFontShape{LY1}{LibreBskvl-LF}{bold}{sl}{ + <-> ssub * LibreBskvl-LF/bold/it +}{} + % % Extra 'alias' rules to map the standard NFSS codes to our fancy names % @@ -62,12 +70,28 @@ % b --> bold +\DeclareFontShape{LY1}{LibreBskvl-LF}{b}{sl}{ + <-> alias * LibreBskvl-LF/bold/sl +}{} + \DeclareFontShape{LY1}{LibreBskvl-LF}{b}{n}{ <-> alias * LibreBskvl-LF/bold/n }{} +\DeclareFontShape{LY1}{LibreBskvl-LF}{b}{it}{ + <-> alias * LibreBskvl-LF/bold/it +}{} + \DeclareFontShape{LY1}{LibreBskvl-LF}{bx}{n}{ <-> ssub * LibreBskvl-LF/b/n }{} +\DeclareFontShape{LY1}{LibreBskvl-LF}{bx}{sl}{ + <-> ssub * LibreBskvl-LF/b/sl +}{} + +\DeclareFontShape{LY1}{LibreBskvl-LF}{bx}{it}{ + <-> ssub * LibreBskvl-LF/b/it +}{} + \endinput diff --git a/Master/texmf-dist/tex/latex/librebaskerville/LY1LibreBskvl-Sup.fd b/Master/texmf-dist/tex/latex/librebaskerville/LY1LibreBskvl-Sup.fd index e625f92b534..5788223301b 100644 --- a/Master/texmf-dist/tex/latex/librebaskerville/LY1LibreBskvl-Sup.fd +++ b/Master/texmf-dist/tex/latex/librebaskerville/LY1LibreBskvl-Sup.fd @@ -41,6 +41,14 @@ <-> \LibreBskvl@@scale LibreBskvl-Bold-sup-ly1 }{} +\DeclareFontShape{LY1}{LibreBskvl-Sup}{bold}{it}{ + <-> \LibreBskvl@@scale LibreBskvl-BoldItalic-sup-ly1 +}{} + +\DeclareFontShape{LY1}{LibreBskvl-Sup}{bold}{sl}{ + <-> ssub * LibreBskvl-Sup/bold/it +}{} + % % Extra 'alias' rules to map the standard NFSS codes to our fancy names % @@ -62,12 +70,28 @@ % b --> bold +\DeclareFontShape{LY1}{LibreBskvl-Sup}{b}{sl}{ + <-> alias * LibreBskvl-Sup/bold/sl +}{} + \DeclareFontShape{LY1}{LibreBskvl-Sup}{b}{n}{ <-> alias * LibreBskvl-Sup/bold/n }{} +\DeclareFontShape{LY1}{LibreBskvl-Sup}{b}{it}{ + <-> alias * LibreBskvl-Sup/bold/it +}{} + \DeclareFontShape{LY1}{LibreBskvl-Sup}{bx}{n}{ <-> ssub * LibreBskvl-Sup/b/n }{} +\DeclareFontShape{LY1}{LibreBskvl-Sup}{bx}{sl}{ + <-> ssub * LibreBskvl-Sup/b/sl +}{} + +\DeclareFontShape{LY1}{LibreBskvl-Sup}{bx}{it}{ + <-> ssub * LibreBskvl-Sup/b/it +}{} + \endinput diff --git a/Master/texmf-dist/tex/latex/librebaskerville/LibreBskvl.sty b/Master/texmf-dist/tex/latex/librebaskerville/LibreBskvl.sty new file mode 100644 index 00000000000..7576135f433 --- /dev/null +++ b/Master/texmf-dist/tex/latex/librebaskerville/LibreBskvl.sty @@ -0,0 +1,59 @@ +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{LibreBskvl} + [2020/07/27 (autoinst) Style file for LibreBskvl fonts.] + +\RequirePackage{xkeyval} +\newcommand*{\LibreBskvl@scale}{1} +\DeclareOptionX{scale}{\renewcommand*{\LibreBskvl@scale}{#1}} +\DeclareOptionX{scaled}{\renewcommand*{\LibreBskvl@scale}{#1}} + +\DeclareOptionX{lining}{\edef\LibreBskvl@figurestyle{LF}} +\DeclareOptionX{proportional}{\edef\LibreBskvl@figurealign{}} +\DeclareOptionX{mainfont}{ + \renewcommand{\familydefault}{\rmdefault} +} +\DeclareOptionX{bold}{\edef\bfseries@rm{bold}} +\DeclareOptionX{regular}{\edef\mdseries@rm{regular}} +\ExecuteOptionsX{lining,proportional,bold,regular} +\ProcessOptionsX\relax + +\RequirePackage{fontenc,textcomp} +\RequirePackage{ifthen} +\RequirePackage{mweights} + +\IfFileExists{fontaxes.sty}{ + \RequirePackage{fontaxes} + \fa@naming@exception{figures}{{superior}{proportional}}{Sup} + \fa@naming@exception{figures}{{superior}{tabular}}{Sup} + \def\supfigures{\@nomath\supfigures + \fontfigurestyle{superior}\selectfont} + \let\sufigures\supfigures + \DeclareTextFontCommand{\textsup}{\supfigures} + \let\textsu\textsup + \let\textsuperior\textsup + +}{} + +% Here we implement the scale=MatchLowercase option. +% If this is given, we must compute the correct value of +% the "\LibreBskvl@scale" parameter before loading the .fd files; +% but to determine that value we of course need the font's x-height. +% To avoid triggering the loading of .fd files, +% we use plain TeX's \font primitive to load the testfont. +% We then compute the ratio of the current x-height to our font's x-height; +% this is the "\LibreBskvl@scale" we will pass to the .fd files. +\ifthenelse{\equal{\LibreBskvl@scale}{MatchLowercase}} + { \newlength{\LibreBskvl@currentx} + \settoheight{\LibreBskvl@currentx}{x} + \newlength{\LibreBskvl@xheight} + \settoheight{\LibreBskvl@xheight} + {{\font\testfont=LibreBskvl-Regular-lf-ot1 at \f@size pt\testfont x}} + \renewcommand*{\LibreBskvl@scale} + {\strip@pt\dimexpr\number\numexpr\number\dimexpr\LibreBskvl@currentx\relax*65536/\number\dimexpr\LibreBskvl@xheight\relax\relax sp\relax}} + {} + +\renewcommand* + {\rmdefault} + {LibreBskvl-\LibreBskvl@figurealign\LibreBskvl@figurestyle} + +\endinput diff --git a/Master/texmf-dist/tex/latex/librebaskerville/OT1LibreBskvl-LF.fd b/Master/texmf-dist/tex/latex/librebaskerville/OT1LibreBskvl-LF.fd index 28cc8889133..d6febb4e225 100644 --- a/Master/texmf-dist/tex/latex/librebaskerville/OT1LibreBskvl-LF.fd +++ b/Master/texmf-dist/tex/latex/librebaskerville/OT1LibreBskvl-LF.fd @@ -41,6 +41,14 @@ <-> \LibreBskvl@@scale LibreBskvl-Bold-lf-ot1 }{} +\DeclareFontShape{OT1}{LibreBskvl-LF}{bold}{it}{ + <-> \LibreBskvl@@scale LibreBskvl-BoldItalic-lf-ot1 +}{} + +\DeclareFontShape{OT1}{LibreBskvl-LF}{bold}{sl}{ + <-> ssub * LibreBskvl-LF/bold/it +}{} + % % Extra 'alias' rules to map the standard NFSS codes to our fancy names % @@ -62,12 +70,28 @@ % b --> bold +\DeclareFontShape{OT1}{LibreBskvl-LF}{b}{sl}{ + <-> alias * LibreBskvl-LF/bold/sl +}{} + \DeclareFontShape{OT1}{LibreBskvl-LF}{b}{n}{ <-> alias * LibreBskvl-LF/bold/n }{} +\DeclareFontShape{OT1}{LibreBskvl-LF}{b}{it}{ + <-> alias * LibreBskvl-LF/bold/it +}{} + \DeclareFontShape{OT1}{LibreBskvl-LF}{bx}{n}{ <-> ssub * LibreBskvl-LF/b/n }{} +\DeclareFontShape{OT1}{LibreBskvl-LF}{bx}{sl}{ + <-> ssub * LibreBskvl-LF/b/sl +}{} + +\DeclareFontShape{OT1}{LibreBskvl-LF}{bx}{it}{ + <-> ssub * LibreBskvl-LF/b/it +}{} + \endinput diff --git a/Master/texmf-dist/tex/latex/librebaskerville/OT1LibreBskvl-Sup.fd b/Master/texmf-dist/tex/latex/librebaskerville/OT1LibreBskvl-Sup.fd index 34a543bba0e..38ed25bd2ca 100644 --- a/Master/texmf-dist/tex/latex/librebaskerville/OT1LibreBskvl-Sup.fd +++ b/Master/texmf-dist/tex/latex/librebaskerville/OT1LibreBskvl-Sup.fd @@ -41,6 +41,14 @@ <-> \LibreBskvl@@scale LibreBskvl-Bold-sup-ot1 }{} +\DeclareFontShape{OT1}{LibreBskvl-Sup}{bold}{it}{ + <-> \LibreBskvl@@scale LibreBskvl-BoldItalic-sup-ot1 +}{} + +\DeclareFontShape{OT1}{LibreBskvl-Sup}{bold}{sl}{ + <-> ssub * LibreBskvl-Sup/bold/it +}{} + % % Extra 'alias' rules to map the standard NFSS codes to our fancy names % @@ -62,12 +70,28 @@ % b --> bold +\DeclareFontShape{OT1}{LibreBskvl-Sup}{b}{sl}{ + <-> alias * LibreBskvl-Sup/bold/sl +}{} + \DeclareFontShape{OT1}{LibreBskvl-Sup}{b}{n}{ <-> alias * LibreBskvl-Sup/bold/n }{} +\DeclareFontShape{OT1}{LibreBskvl-Sup}{b}{it}{ + <-> alias * LibreBskvl-Sup/bold/it +}{} + \DeclareFontShape{OT1}{LibreBskvl-Sup}{bx}{n}{ <-> ssub * LibreBskvl-Sup/b/n }{} +\DeclareFontShape{OT1}{LibreBskvl-Sup}{bx}{sl}{ + <-> ssub * LibreBskvl-Sup/b/sl +}{} + +\DeclareFontShape{OT1}{LibreBskvl-Sup}{bx}{it}{ + <-> ssub * LibreBskvl-Sup/b/it +}{} + \endinput diff --git a/Master/texmf-dist/tex/latex/librebaskerville/T1LibreBskvl-LF.fd b/Master/texmf-dist/tex/latex/librebaskerville/T1LibreBskvl-LF.fd index 56ed58e0f9e..a521c01269b 100644 --- a/Master/texmf-dist/tex/latex/librebaskerville/T1LibreBskvl-LF.fd +++ b/Master/texmf-dist/tex/latex/librebaskerville/T1LibreBskvl-LF.fd @@ -41,6 +41,14 @@ <-> \LibreBskvl@@scale LibreBskvl-Bold-lf-t1 }{} +\DeclareFontShape{T1}{LibreBskvl-LF}{bold}{it}{ + <-> \LibreBskvl@@scale LibreBskvl-BoldItalic-lf-t1 +}{} + +\DeclareFontShape{T1}{LibreBskvl-LF}{bold}{sl}{ + <-> ssub * LibreBskvl-LF/bold/it +}{} + % % Extra 'alias' rules to map the standard NFSS codes to our fancy names % @@ -62,12 +70,28 @@ % b --> bold +\DeclareFontShape{T1}{LibreBskvl-LF}{b}{sl}{ + <-> alias * LibreBskvl-LF/bold/sl +}{} + \DeclareFontShape{T1}{LibreBskvl-LF}{b}{n}{ <-> alias * LibreBskvl-LF/bold/n }{} +\DeclareFontShape{T1}{LibreBskvl-LF}{b}{it}{ + <-> alias * LibreBskvl-LF/bold/it +}{} + \DeclareFontShape{T1}{LibreBskvl-LF}{bx}{n}{ <-> ssub * LibreBskvl-LF/b/n }{} +\DeclareFontShape{T1}{LibreBskvl-LF}{bx}{sl}{ + <-> ssub * LibreBskvl-LF/b/sl +}{} + +\DeclareFontShape{T1}{LibreBskvl-LF}{bx}{it}{ + <-> ssub * LibreBskvl-LF/b/it +}{} + \endinput diff --git a/Master/texmf-dist/tex/latex/librebaskerville/T1LibreBskvl-Sup.fd b/Master/texmf-dist/tex/latex/librebaskerville/T1LibreBskvl-Sup.fd index 0f0fccc70f8..9f1f45e5030 100644 --- a/Master/texmf-dist/tex/latex/librebaskerville/T1LibreBskvl-Sup.fd +++ b/Master/texmf-dist/tex/latex/librebaskerville/T1LibreBskvl-Sup.fd @@ -41,6 +41,14 @@ <-> \LibreBskvl@@scale LibreBskvl-Bold-sup-t1 }{} +\DeclareFontShape{T1}{LibreBskvl-Sup}{bold}{it}{ + <-> \LibreBskvl@@scale LibreBskvl-BoldItalic-sup-t1 +}{} + +\DeclareFontShape{T1}{LibreBskvl-Sup}{bold}{sl}{ + <-> ssub * LibreBskvl-Sup/bold/it +}{} + % % Extra 'alias' rules to map the standard NFSS codes to our fancy names % @@ -62,12 +70,28 @@ % b --> bold +\DeclareFontShape{T1}{LibreBskvl-Sup}{b}{sl}{ + <-> alias * LibreBskvl-Sup/bold/sl +}{} + \DeclareFontShape{T1}{LibreBskvl-Sup}{b}{n}{ <-> alias * LibreBskvl-Sup/bold/n }{} +\DeclareFontShape{T1}{LibreBskvl-Sup}{b}{it}{ + <-> alias * LibreBskvl-Sup/bold/it +}{} + \DeclareFontShape{T1}{LibreBskvl-Sup}{bx}{n}{ <-> ssub * LibreBskvl-Sup/b/n }{} +\DeclareFontShape{T1}{LibreBskvl-Sup}{bx}{sl}{ + <-> ssub * LibreBskvl-Sup/b/sl +}{} + +\DeclareFontShape{T1}{LibreBskvl-Sup}{bx}{it}{ + <-> ssub * LibreBskvl-Sup/b/it +}{} + \endinput diff --git a/Master/texmf-dist/tex/latex/librebaskerville/TS1LibreBskvl-LF.fd b/Master/texmf-dist/tex/latex/librebaskerville/TS1LibreBskvl-LF.fd index 053893001ec..e7bd770a82d 100644 --- a/Master/texmf-dist/tex/latex/librebaskerville/TS1LibreBskvl-LF.fd +++ b/Master/texmf-dist/tex/latex/librebaskerville/TS1LibreBskvl-LF.fd @@ -41,6 +41,14 @@ <-> \LibreBskvl@@scale LibreBskvl-Bold-lf-ts1 }{} +\DeclareFontShape{TS1}{LibreBskvl-LF}{bold}{it}{ + <-> \LibreBskvl@@scale LibreBskvl-BoldItalic-lf-ts1 +}{} + +\DeclareFontShape{TS1}{LibreBskvl-LF}{bold}{sl}{ + <-> ssub * LibreBskvl-LF/bold/it +}{} + % % Extra 'alias' rules to map the standard NFSS codes to our fancy names % @@ -62,12 +70,28 @@ % b --> bold +\DeclareFontShape{TS1}{LibreBskvl-LF}{b}{sl}{ + <-> alias * LibreBskvl-LF/bold/sl +}{} + \DeclareFontShape{TS1}{LibreBskvl-LF}{b}{n}{ <-> alias * LibreBskvl-LF/bold/n }{} +\DeclareFontShape{TS1}{LibreBskvl-LF}{b}{it}{ + <-> alias * LibreBskvl-LF/bold/it +}{} + \DeclareFontShape{TS1}{LibreBskvl-LF}{bx}{n}{ <-> ssub * LibreBskvl-LF/b/n }{} +\DeclareFontShape{TS1}{LibreBskvl-LF}{bx}{sl}{ + <-> ssub * LibreBskvl-LF/b/sl +}{} + +\DeclareFontShape{TS1}{LibreBskvl-LF}{bx}{it}{ + <-> ssub * LibreBskvl-LF/b/it +}{} + \endinput diff --git a/Master/texmf-dist/tex/latex/librebaskerville/librebaskerville.sty b/Master/texmf-dist/tex/latex/librebaskerville/librebaskerville.sty index 8700cdfa358..e30362dcb8b 100644 --- a/Master/texmf-dist/tex/latex/librebaskerville/librebaskerville.sty +++ b/Master/texmf-dist/tex/latex/librebaskerville/librebaskerville.sty @@ -1,5 +1,5 @@ \ProvidesPackage{librebaskerville}[% - 2020/07/28 (Bob Tennent) Supports LibreBaskerville fonts for all LaTeX engines. ] + 2020/07/29 (Bob Tennent) Supports LibreBaskerville fonts for all LaTeX engines. ] \RequirePackage{ifxetex,ifluatex,textcomp} @@ -37,12 +37,14 @@ [ UprightFont = *-Regular , ItalicFont = *-Italic , BoldFont = *-Bold , + BoldItalicFont = LibreBskvl-BoldItalic, ] {LibreBaskerville} \newfontfamily\librebaskerville [ UprightFont = *-Regular , ItalicFont = *-Italic , BoldFont = *-Bold , + BoldItalicFont = LibreBskvl-BoldItalic, ] {LibreBaskerville} \providecommand\sufigures{\addfontfeatures{VerticalPosition=Superior}} |