From 52d7d5208192503858acc177a81ce338580073ec Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 6 Jan 2017 22:24:20 +0000 Subject: tinos (6jan17) git-svn-id: svn://tug.org/texlive/trunk@42882 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/tinos/tinos.sty | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'Master/texmf-dist/tex') diff --git a/Master/texmf-dist/tex/latex/tinos/tinos.sty b/Master/texmf-dist/tex/latex/tinos/tinos.sty index 47beb1ee66f..087b29cb9ea 100644 --- a/Master/texmf-dist/tex/latex/tinos/tinos.sty +++ b/Master/texmf-dist/tex/latex/tinos/tinos.sty @@ -1,16 +1,16 @@ \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{tinos} - [2017/01/03 (Bob Tennent) Supports Tinos fonts for all LaTeX engines.] + [2017/01/05 (Bob Tennent) Supports Tinos fonts for all LaTeX engines.] \RequirePackage{ifxetex,ifluatex,xkeyval,textcomp} -\newif\iftinos@otf +\newif\iftinos@ttf \ifxetex - \tinos@otftrue + \tinos@ttftrue \else\ifluatex - \tinos@otftrue + \tinos@ttftrue \else % [pdf]LaTeX - \tinos@otffalse + \tinos@ttffalse \fi\fi @@ -19,28 +19,28 @@ \DeclareOptionX{scale}{\renewcommand*{\Tinos@scale}{#1}} -\DeclareOptionX{type1}{\tinos@otffalse} +\DeclareOptionX{type1}{\tinos@ttffalse} \ProcessOptionsX\relax -\iftinos@otf\else % type1 +\iftinos@ttf\else % type1 \def\tinos@figurestyle{LF} \def\tinos@figurealign{T} \fi -\iftinos@otf +\iftinos@ttf \RequirePackage{fontspec} \else \RequirePackage{fontenc,fontaxes} \fi -\iftinos@otf +\iftinos@ttf \ifxetex\XeTeXtracingfonts=1\fi \defaultfontfeatures{ Ligatures = TeX , Scale = \Tinos@scale , - Extension = .otf } + Extension = .ttf } \setmainfont [ UprightFont = *-Regular , ItalicFont = *-Italic , @@ -54,7 +54,7 @@ \fi -\iftinos@otf +\iftinos@ttf % turn off defaults in case other fonts are selected: \defaultfontfeatures{} \fi -- cgit v1.2.3