summaryrefslogtreecommitdiff
path: root/fonts/cormorantgaramond
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2020-04-13 03:03:00 +0000
committerNorbert Preining <norbert@preining.info>2020-04-13 03:03:00 +0000
commitc98e9ebef816f09dc54c52a01df4f978e1b210fc (patch)
tree0073017824e78ee91d2356f76d2b2944437da5d9 /fonts/cormorantgaramond
parentffcfe2bb60911db71a31e4c12541eae3e9df29f3 (diff)
CTAN sync 202004130303
Diffstat (limited to 'fonts/cormorantgaramond')
-rw-r--r--fonts/cormorantgaramond/README2
-rw-r--r--fonts/cormorantgaramond/latex/CormorantGaramond.sty42
2 files changed, 6 insertions, 38 deletions
diff --git a/fonts/cormorantgaramond/README b/fonts/cormorantgaramond/README
index 70cc1c3233..9b6c36f118 100644
--- a/fonts/cormorantgaramond/README
+++ b/fonts/cormorantgaramond/README
@@ -1,5 +1,5 @@
This is the README for the cormorantgaramond package,
-version 3.601 (2020-01-06).
+version 3.601 (2020-04-12).
This package provides LaTeX, pdfLaTeX, XeLaTeX and LuaLaTeX
support for the Cormorant Garamond family of fonts, designed by
diff --git a/fonts/cormorantgaramond/latex/CormorantGaramond.sty b/fonts/cormorantgaramond/latex/CormorantGaramond.sty
index 40e40806df..d9f58b1672 100644
--- a/fonts/cormorantgaramond/latex/CormorantGaramond.sty
+++ b/fonts/cormorantgaramond/latex/CormorantGaramond.sty
@@ -1,6 +1,6 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{CormorantGaramond}
- [2020/01/06 (Bob Tennent and autoinst) Style file for Cormorant Garamond fonts.]
+ [2020/04/12 (Bob Tennent and autoinst) Style file for Cormorant Garamond fonts.]
\RequirePackage{ifxetex,ifluatex,xkeyval,textcomp}
@@ -110,42 +110,10 @@
{CormorantGaramond}
\providecommand\sufigures{\addfontfeatures{VerticalPosition=Superior}}
\providecommand\infigures{\addfontfeatures{VerticalPosition=ScientificInferior}}
- \newfontfamily\cormorantgaramondOsF
- [ Numbers = {\cormorantgaramond@figurealign,OldStyle},
- UprightFont = *-\cormorantgaramond@regstyle ,
- ItalicFont = *-\ifx\cormorantgaramond@regstyle\cormorantgaramond@regular Italic\else\cormorantgaramond@regstyle Italic\fi ,
- BoldFont = *-\cormorantgaramond@boldstyle ,
- BoldItalicFont = *-\cormorantgaramond@boldstyle Italic ,
- ]
- {CormorantGaramond}
- \newfontfamily\cormorantgaramondLF
- [ Numbers = {\cormorantgaramond@figurealign,Lining},
- UprightFont = *-\cormorantgaramond@regstyle ,
- ItalicFont = *-\ifx\cormorantgaramond@regstyle\cormorantgaramond@regular Italic\else\cormorantgaramond@regstyle Italic\fi ,
- BoldFont = *-\cormorantgaramond@boldstyle ,
- BoldItalicFont = *-\cormorantgaramond@boldstyle Italic ,
- ]
- {CormorantGaramond}
- \newfontfamily\cormorantgaramondtabular
- [ Numbers = {Monospaced,\cormorantgaramond@figurestyle},
- UprightFont = *-\cormorantgaramond@regstyle ,
- ItalicFont = *-\ifx\cormorantgaramond@regstyle\cormorantgaramond@regular Italic\else\cormorantgaramond@regstyle Italic\fi ,
- BoldFont = *-\cormorantgaramond@boldstyle ,
- BoldItalicFont = *-\cormorantgaramond@boldstyle Italic ,
- ]
- {CormorantGaramond}
- \newfontfamily\cormorantgaramondproportional
- [ Numbers = {\cormorantgaramond@figurestyle},
- UprightFont = *-\cormorantgaramond@regstyle ,
- ItalicFont = *-\ifx\cormorantgaramond@regstyle\cormorantgaramond@regular Italic\else\cormorantgaramond@regstyle Italic\fi ,
- BoldFont = *-\cormorantgaramond@boldstyle ,
- BoldItalicFont = *-\cormorantgaramond@boldstyle Italic ,
- ]
- {CormorantGaramond}
- \DeclareTextFontCommand{\oldstylenums}{\cormorantgaramondOsF}
- \DeclareTextFontCommand{\liningnums}{\cormorantgaramondLF}
- \DeclareTextFontCommand{\tabularnums}{\cormorantgaramondtabular}
- \DeclareTextFontCommand{\proportionalnums}{\cormorantgaramondproportional}
+ \DeclareTextFontCommand{\oldstylenums}{\addfontfeatures{Numbers=OldStyle}}
+ \DeclareTextFontCommand{\liningnums}{\addfontfeatures{Numbers=Lining}}
+ \DeclareTextFontCommand{\tabularnums}{\addfontfeatures{Numbers=Tabular}}
+ \DeclareTextFontCommand{\proportionalnums}{\addfontfeatures{Numbers=Lining}} % pnum not supported
\else % type1