diff options
author | Norbert Preining <norbert@preining.info> | 2022-09-18 03:08:21 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2022-09-18 03:08:21 +0000 |
commit | baa3e10650110291de10e0e8e6a1e48ac4579afe (patch) | |
tree | 8eff974515ba91e538c94002db56558182e59a4e /fonts/librebaskerville | |
parent | 9ae94dce28ea17b97ef24019e324353cd6af4dba (diff) |
CTAN sync 202209180308
Diffstat (limited to 'fonts/librebaskerville')
-rw-r--r-- | fonts/librebaskerville/README | 2 | ||||
-rw-r--r-- | fonts/librebaskerville/latex/LibreBskvl.sty | 59 | ||||
-rw-r--r-- | fonts/librebaskerville/latex/librebaskerville.sty | 3 |
3 files changed, 2 insertions, 62 deletions
diff --git a/fonts/librebaskerville/README b/fonts/librebaskerville/README index c4bd857f0c..94b56fc627 100644 --- a/fonts/librebaskerville/README +++ b/fonts/librebaskerville/README @@ -1,5 +1,5 @@ This is the README for the librebaskerville package, version -2020-07-31. +2022-09-17. This package provides LaTeX, pdfLaTeX, XeLaTeX and LuaLaTeX support for the Libre Baskerville family of fonts, designed by Pablo Impallari. diff --git a/fonts/librebaskerville/latex/LibreBskvl.sty b/fonts/librebaskerville/latex/LibreBskvl.sty deleted file mode 100644 index 7576135f43..0000000000 --- a/fonts/librebaskerville/latex/LibreBskvl.sty +++ /dev/null @@ -1,59 +0,0 @@ -\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/fonts/librebaskerville/latex/librebaskerville.sty b/fonts/librebaskerville/latex/librebaskerville.sty index 47f8b7efd1..5817293e89 100644 --- a/fonts/librebaskerville/latex/librebaskerville.sty +++ b/fonts/librebaskerville/latex/librebaskerville.sty @@ -1,5 +1,5 @@ \ProvidesPackage{librebaskerville}[% - 2020/07/31 (Bob Tennent) Supports LibreBaskerville fonts for all LaTeX engines. ] + 2022/09/17 (Bob Tennent) Supports LibreBaskerville fonts for all LaTeX engines. ] \RequirePackage{ifxetex,ifluatex,textcomp} @@ -28,7 +28,6 @@ \fi \iflibrebaskerville@ttf - \ifxetex\XeTeXtracingfonts=1\fi \defaultfontfeatures{ Ligatures = TeX , Extension = .ttf , |