diff options
author | Norbert Preining <norbert@preining.info> | 2020-02-29 03:02:30 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2020-02-29 03:02:30 +0000 |
commit | 4736ac744a8c914e0d5ced1d157e017a385bbf43 (patch) | |
tree | cc6b754ea0d704573dfffffdbf327e14057ce864 /fonts/ebgaramond/latex | |
parent | 02193cc5ca03abf234d3bc9d77b4821d85f58c62 (diff) |
CTAN sync 202002290302
Diffstat (limited to 'fonts/ebgaramond/latex')
-rw-r--r-- | fonts/ebgaramond/latex/ebgaramond.sty | 24 |
1 files changed, 10 insertions, 14 deletions
diff --git a/fonts/ebgaramond/latex/ebgaramond.sty b/fonts/ebgaramond/latex/ebgaramond.sty index a8bb5e7a8f..3f4de8d785 100644 --- a/fonts/ebgaramond/latex/ebgaramond.sty +++ b/fonts/ebgaramond/latex/ebgaramond.sty @@ -1,6 +1,6 @@ \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{ebgaramond} - [2019/10/22 (Bob Tennent and autoinst) Style file for EB Garamond fonts.] + [2020/02/27 (Bob Tennent and autoinst) Style file for EB Garamond fonts.] \RequirePackage{ifxetex,ifluatex,xkeyval,textcomp} @@ -105,6 +105,7 @@ \ifebgaramond@otf \ifxetex\XeTeXtracingfonts=1\fi \def\ebgaramond@regular{Regular} + \defaultfontfeatures{ Ligatures = TeX , Scale = \EBGaramond@scale , @@ -116,6 +117,8 @@ ItalicFont = *-\ifx\ebgaramond@regularstyle\ebgaramond@regular Italic\else\ebgaramond@regularstyle Italic\fi, BoldFont = *-\ebgaramond@boldstyle , BoldItalicFont = *-\ebgaramond@boldstyle Italic , + FontFace={m}{sw}{Font=*-\ifx\ebgaramond@regularstyle\ebgaramond@regular Italic\else\ebgaramond@regularstyle Italic\fi,Style=Swash}, + FontFace={b}{sw}{Font=*-\ebgaramond@boldstyle Italic,Style=Swash}, ] {EBGaramond} \newfontfamily\ebgaramond @@ -128,15 +131,6 @@ {EBGaramond} \providecommand\sufigures{\addfontfeatures{VerticalPosition=Superior}} \providecommand\infigures{\addfontfeatures{VerticalPosition=ScientificInferior}} - \newfontfamily\swshape - [ Style={Swash}, - Numbers = {\ebgaramond@figurealign,\ebgaramond@figurestyle}, - UprightFont = *-\ifx\ebgaramond@regularstyle\ebgaramond@regular Italic\else\ebgaramond@regularstyle Italic\fi , - ItalicFont = *-\ifx\ebgaramond@regularstyle\ebgaramond@regular Italic\else\ebgaramond@regularstyle Italic\fi , - BoldFont = *-\ebgaramond@boldstyle Italic, - BoldItalicFont = *-\ebgaramond@boldstyle Italic , - ] - {EBGaramond} \newfontfamily\ebgaramondOsF [ Numbers = {\ebgaramond@figurealign,OldStyle}, UprightFont = *-\ebgaramond@regularstyle , @@ -173,10 +167,12 @@ \fa@naming@exception{figures}{{inferior}{tabular}}{Inf} \def\infigures{\@nomath\infigures\fontfigurestyle{inferior}\selectfont} - \DeclareRobustCommand\swshape{\not@math@alphabet\swshape\relax - \fontprimaryshape\itdefault\fontsecondaryshape\swdefault\selectfont} - \fa@naming@exception{shape}{{n}{sw}}{nw} - \fa@naming@exception{shape}{{it}{sw}}{sw} + \ifx\swshape\@undefined + \DeclareRobustCommand\swshape{\not@math@alphabet\swshape\relax + \fontprimaryshape\itdefault\fontsecondaryshape\swdefault\selectfont} + \fa@naming@exception{shape}{{n}{sw}}{nw} + \fa@naming@exception{shape}{{it}{sw}}{sw} + \fi \def\initials{\fontfamily{EBGaramondInitials-TLF}\fontseries{m}\selectfont} |