diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/alegreya/AlegreyaSans.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/alegreya/AlegreyaSans.sty | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/latex/alegreya/AlegreyaSans.sty b/Master/texmf-dist/tex/latex/alegreya/AlegreyaSans.sty index 8c9c4472c21..a41396d4ba7 100644 --- a/Master/texmf-dist/tex/latex/alegreya/AlegreyaSans.sty +++ b/Master/texmf-dist/tex/latex/alegreya/AlegreyaSans.sty @@ -3,13 +3,13 @@ \RequirePackage{ifxetex,ifluatex,textcomp} -\newif\ifAlegreyaSans@otf +\newif\ifAlegreyaSans@ttf \ifxetex - \AlegreyaSans@otftrue + \AlegreyaSans@ttftrue \else\ifluatex - \AlegreyaSans@otftrue + \AlegreyaSans@ttftrue \else % [pdf]LaTeX - \AlegreyaSans@otffalse + \AlegreyaSans@ttffalse \fi\fi @@ -18,7 +18,7 @@ \DeclareOptionX{scaled}{\renewcommand*{\AlegreyaSans@scale}{#1}} \DeclareOptionX{scale}{\renewcommand*{\AlegreyaSans@scale}{#1}} -\DeclareOptionX{type1}{\AlegreyaSans@otffalse} +\DeclareOptionX{type1}{\AlegreyaSans@ttffalse} \newif\ifAlegreyaSans@default \AlegreyaSans@defaultfalse \DeclareOptionX{sfdefault}{\AlegreyaSans@defaulttrue} @@ -97,7 +97,7 @@ \ProcessOptionsX\relax -\ifAlegreyaSans@otf +\ifAlegreyaSans@ttf \ifAlegreyaSans@lining \def\AlegreyaSans@figurestyle{Lining} \else @@ -124,17 +124,17 @@ \fi -\ifAlegreyaSans@otf +\ifAlegreyaSans@ttf \RequirePackage{fontspec} \else \RequirePackage{fontenc,fontaxes,mweights} \fi -\ifAlegreyaSans@otf +\ifAlegreyaSans@ttf \ifxetex\XeTeXtracingfonts=1\fi \defaultfontfeatures{ Ligatures = TeX , - Extension = .otf , + Extension = .ttf , Scale = \AlegreyaSans@scale , } \setsansfont @@ -274,7 +274,7 @@ \DeclareTextFontCommand{\textin}{\infigures} % turn off defaults in case other fonts are selected: -\ifAlegreyaSans@otf +\ifAlegreyaSans@ttf \defaultfontfeatures{} \fi |