summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/opensans/opensans.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/opensans/opensans.sty')
-rw-r--r--Master/texmf-dist/tex/latex/opensans/opensans.sty13
1 files changed, 5 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/latex/opensans/opensans.sty b/Master/texmf-dist/tex/latex/opensans/opensans.sty
index 070cb6f3548..444dafc0d3c 100644
--- a/Master/texmf-dist/tex/latex/opensans/opensans.sty
+++ b/Master/texmf-dist/tex/latex/opensans/opensans.sty
@@ -15,7 +15,7 @@
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{opensans}[2019/06/15 Style file for Open Sans.]
+\ProvidesPackage{opensans}[2019/06/20 Style file for Open Sans.]
\RequirePackage{fontaxes}
\RequirePackage{ifluatex}
@@ -34,10 +34,7 @@
\fi
\newif\ifopensans@lining
-\newif\ifopensans@oldstyle
-
\newif\ifopensans@tabular
-\newif\ifopensans@proportional
\newif\ifopensans@default
\opensans@defaultfalse
@@ -66,7 +63,7 @@
\newcommand*{\opensans@figurewidth@pfb}{T}
\else
\newcommand*{\opensans@figurewidth@otf}{Proportional}
- \newcommand*{\opensans@figurewidth@pfb}{TLF}
+ \newcommand*{\opensans@figurewidth@pfb}{}
\fi
\ifopensans@lining
\newcommand*{\opensans@figurestyle@otf}{Lining}
@@ -89,7 +86,7 @@
\newcommand*{\opensans@otf@features}{%
Extension=.ttf,%
- Ligatures=Common,%
+ Ligatures={TeX,Common},%
Scale=\opensans@scale,%
FontFace={l}{n}{*-Light},%
FontFace={l}{it}{*-LightItalic},%
@@ -144,13 +141,13 @@
\setsansfont[%
\opensans@otf@features,%
Numbers={\opensans@figurewidth@otf,\opensans@figurestyle@otf},%
- ]{Open Sans}
+ ]{OpenSans}
\fi
\ifopensans@default
\setmainfont[%
\opensans@otf@features,%
Numbers={\opensans@figurewidth@otf,\opensans@figurestyle@otf},%
- ]{Open Sans}
+ ]{OpenSans}
\fi
\else
\newcommand*{\opensans}{\fontfamily{\opensansfamily}\selectfont}