summaryrefslogtreecommitdiff
path: root/fonts/ebgaramond/latex/ebgaramond.sty
diff options
context:
space:
mode:
Diffstat (limited to 'fonts/ebgaramond/latex/ebgaramond.sty')
-rw-r--r--fonts/ebgaramond/latex/ebgaramond.sty10
1 files changed, 5 insertions, 5 deletions
diff --git a/fonts/ebgaramond/latex/ebgaramond.sty b/fonts/ebgaramond/latex/ebgaramond.sty
index 3f4de8d785..f84061b34d 100644
--- a/fonts/ebgaramond/latex/ebgaramond.sty
+++ b/fonts/ebgaramond/latex/ebgaramond.sty
@@ -1,6 +1,6 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{ebgaramond}
- [2020/02/27 (Bob Tennent and autoinst) Style file for EB Garamond fonts.]
+ [2020/04/12 (Bob Tennent and autoinst) Style file for EB Garamond fonts.]
\RequirePackage{ifxetex,ifluatex,xkeyval,textcomp}
@@ -149,8 +149,8 @@
{EBGaramond}
\newfontface\initials{EBGaramond-Initials}
- \DeclareTextFontCommand{\oldstylenums}{\ebgaramondOsF}
- \DeclareTextFontCommand{\liningnums}{\ebgaramondLF}
+ \DeclareTextFontCommand{\oldstylenums}{\addfontfeatures{Numbers=OldStyle}}
+ \DeclareTextFontCommand{\liningnums}{\addfontfeatures{Numbers=Lining}}
\DeclareTextFontCommand{\textin}{\initials}
\else % type1
@@ -203,8 +203,8 @@
BoldItalicFont = *-\ebgaramond@boldstyle Italic ,
]
{EBGaramond}
- \DeclareTextFontCommand{\tabularnums}{\ebgaramondtabular}
- \DeclareTextFontCommand{\proportionalnums}{\ebgaramondproportional}
+ \DeclareTextFontCommand{\tabularnums}{\addfontfeatures{Numbers=Tabular}}
+ \DeclareTextFontCommand{\proportionalnums}{\addfontfeatures{Numbers=Proportional}}
\else % type1
\DeclareTextFontCommand{\tabularnums}{\fontfamily{EBGaramond-T\ebgaramond@figurestyle}\selectfont}
\DeclareTextFontCommand{\proportionalnums}{\fontfamily{EBGaramond-\ebgaramond@figurestyle}\selectfont}