summaryrefslogtreecommitdiff
path: root/fonts/tinos/latex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /fonts/tinos/latex
Initial commit
Diffstat (limited to 'fonts/tinos/latex')
-rw-r--r--fonts/tinos/latex/LY1Tinos-TLF.fd50
-rw-r--r--fonts/tinos/latex/OT1Tinos-TLF.fd50
-rw-r--r--fonts/tinos/latex/T1Tinos-TLF.fd50
-rw-r--r--fonts/tinos/latex/TS1Tinos-TLF.fd50
-rw-r--r--fonts/tinos/latex/tinos.sty62
5 files changed, 262 insertions, 0 deletions
diff --git a/fonts/tinos/latex/LY1Tinos-TLF.fd b/fonts/tinos/latex/LY1Tinos-TLF.fd
new file mode 100644
index 0000000000..790cfc2c38
--- /dev/null
+++ b/fonts/tinos/latex/LY1Tinos-TLF.fd
@@ -0,0 +1,50 @@
+%% Generated by autoinst on 2017/01/03
+%%
+\ProvidesFile{LY1Tinos-TLF.fd}
+ [2017/01/03 (autoinst) Font definitions for LY1/Tinos-TLF.]
+
+\expandafter\ifx\csname Tinos@scale\endcsname\relax
+ \let\Tinos@@scale\@empty
+\else
+ \edef\Tinos@@scale{s*[\csname Tinos@scale\endcsname]}%
+\fi
+
+\DeclareFontFamily{LY1}{Tinos-TLF}{}
+
+\DeclareFontShape{LY1}{Tinos-TLF}{b}{n}{
+ <-> \Tinos@@scale Tinos-Bold-tlf-ly1
+}{}
+
+\DeclareFontShape{LY1}{Tinos-TLF}{b}{it}{
+ <-> \Tinos@@scale Tinos-BoldItalic-tlf-ly1
+}{}
+
+\DeclareFontShape{LY1}{Tinos-TLF}{b}{sl}{
+ <-> ssub * Tinos-TLF/b/it
+}{}
+
+\DeclareFontShape{LY1}{Tinos-TLF}{m}{n}{
+ <-> \Tinos@@scale Tinos-tlf-ly1
+}{}
+
+\DeclareFontShape{LY1}{Tinos-TLF}{m}{it}{
+ <-> \Tinos@@scale Tinos-Italic-tlf-ly1
+}{}
+
+\DeclareFontShape{LY1}{Tinos-TLF}{m}{sl}{
+ <-> ssub * Tinos-TLF/m/it
+}{}
+
+\DeclareFontShape{LY1}{Tinos-TLF}{bx}{sl}{
+ <-> ssub * Tinos-TLF/b/sl
+}{}
+
+\DeclareFontShape{LY1}{Tinos-TLF}{bx}{n}{
+ <-> ssub * Tinos-TLF/b/n
+}{}
+
+\DeclareFontShape{LY1}{Tinos-TLF}{bx}{it}{
+ <-> ssub * Tinos-TLF/b/it
+}{}
+
+\endinput
diff --git a/fonts/tinos/latex/OT1Tinos-TLF.fd b/fonts/tinos/latex/OT1Tinos-TLF.fd
new file mode 100644
index 0000000000..44897a7c51
--- /dev/null
+++ b/fonts/tinos/latex/OT1Tinos-TLF.fd
@@ -0,0 +1,50 @@
+%% Generated by autoinst on 2017/01/03
+%%
+\ProvidesFile{OT1Tinos-TLF.fd}
+ [2017/01/03 (autoinst) Font definitions for OT1/Tinos-TLF.]
+
+\expandafter\ifx\csname Tinos@scale\endcsname\relax
+ \let\Tinos@@scale\@empty
+\else
+ \edef\Tinos@@scale{s*[\csname Tinos@scale\endcsname]}%
+\fi
+
+\DeclareFontFamily{OT1}{Tinos-TLF}{}
+
+\DeclareFontShape{OT1}{Tinos-TLF}{b}{n}{
+ <-> \Tinos@@scale Tinos-Bold-tlf-ot1
+}{}
+
+\DeclareFontShape{OT1}{Tinos-TLF}{b}{it}{
+ <-> \Tinos@@scale Tinos-BoldItalic-tlf-ot1
+}{}
+
+\DeclareFontShape{OT1}{Tinos-TLF}{b}{sl}{
+ <-> ssub * Tinos-TLF/b/it
+}{}
+
+\DeclareFontShape{OT1}{Tinos-TLF}{m}{n}{
+ <-> \Tinos@@scale Tinos-tlf-ot1
+}{}
+
+\DeclareFontShape{OT1}{Tinos-TLF}{m}{it}{
+ <-> \Tinos@@scale Tinos-Italic-tlf-ot1
+}{}
+
+\DeclareFontShape{OT1}{Tinos-TLF}{m}{sl}{
+ <-> ssub * Tinos-TLF/m/it
+}{}
+
+\DeclareFontShape{OT1}{Tinos-TLF}{bx}{sl}{
+ <-> ssub * Tinos-TLF/b/sl
+}{}
+
+\DeclareFontShape{OT1}{Tinos-TLF}{bx}{n}{
+ <-> ssub * Tinos-TLF/b/n
+}{}
+
+\DeclareFontShape{OT1}{Tinos-TLF}{bx}{it}{
+ <-> ssub * Tinos-TLF/b/it
+}{}
+
+\endinput
diff --git a/fonts/tinos/latex/T1Tinos-TLF.fd b/fonts/tinos/latex/T1Tinos-TLF.fd
new file mode 100644
index 0000000000..792727450b
--- /dev/null
+++ b/fonts/tinos/latex/T1Tinos-TLF.fd
@@ -0,0 +1,50 @@
+%% Generated by autoinst on 2017/01/03
+%%
+\ProvidesFile{T1Tinos-TLF.fd}
+ [2017/01/03 (autoinst) Font definitions for T1/Tinos-TLF.]
+
+\expandafter\ifx\csname Tinos@scale\endcsname\relax
+ \let\Tinos@@scale\@empty
+\else
+ \edef\Tinos@@scale{s*[\csname Tinos@scale\endcsname]}%
+\fi
+
+\DeclareFontFamily{T1}{Tinos-TLF}{}
+
+\DeclareFontShape{T1}{Tinos-TLF}{b}{n}{
+ <-> \Tinos@@scale Tinos-Bold-tlf-t1
+}{}
+
+\DeclareFontShape{T1}{Tinos-TLF}{b}{it}{
+ <-> \Tinos@@scale Tinos-BoldItalic-tlf-t1
+}{}
+
+\DeclareFontShape{T1}{Tinos-TLF}{b}{sl}{
+ <-> ssub * Tinos-TLF/b/it
+}{}
+
+\DeclareFontShape{T1}{Tinos-TLF}{m}{n}{
+ <-> \Tinos@@scale Tinos-tlf-t1
+}{}
+
+\DeclareFontShape{T1}{Tinos-TLF}{m}{it}{
+ <-> \Tinos@@scale Tinos-Italic-tlf-t1
+}{}
+
+\DeclareFontShape{T1}{Tinos-TLF}{m}{sl}{
+ <-> ssub * Tinos-TLF/m/it
+}{}
+
+\DeclareFontShape{T1}{Tinos-TLF}{bx}{sl}{
+ <-> ssub * Tinos-TLF/b/sl
+}{}
+
+\DeclareFontShape{T1}{Tinos-TLF}{bx}{n}{
+ <-> ssub * Tinos-TLF/b/n
+}{}
+
+\DeclareFontShape{T1}{Tinos-TLF}{bx}{it}{
+ <-> ssub * Tinos-TLF/b/it
+}{}
+
+\endinput
diff --git a/fonts/tinos/latex/TS1Tinos-TLF.fd b/fonts/tinos/latex/TS1Tinos-TLF.fd
new file mode 100644
index 0000000000..208b286198
--- /dev/null
+++ b/fonts/tinos/latex/TS1Tinos-TLF.fd
@@ -0,0 +1,50 @@
+%% Generated by autoinst on 2017/01/03
+%%
+\ProvidesFile{TS1Tinos-TLF.fd}
+ [2017/01/03 (autoinst) Font definitions for TS1/Tinos-TLF.]
+
+\expandafter\ifx\csname Tinos@scale\endcsname\relax
+ \let\Tinos@@scale\@empty
+\else
+ \edef\Tinos@@scale{s*[\csname Tinos@scale\endcsname]}%
+\fi
+
+\DeclareFontFamily{TS1}{Tinos-TLF}{}
+
+\DeclareFontShape{TS1}{Tinos-TLF}{b}{n}{
+ <-> \Tinos@@scale Tinos-Bold-tlf-ts1
+}{}
+
+\DeclareFontShape{TS1}{Tinos-TLF}{b}{it}{
+ <-> \Tinos@@scale Tinos-BoldItalic-tlf-ts1
+}{}
+
+\DeclareFontShape{TS1}{Tinos-TLF}{b}{sl}{
+ <-> ssub * Tinos-TLF/b/it
+}{}
+
+\DeclareFontShape{TS1}{Tinos-TLF}{m}{n}{
+ <-> \Tinos@@scale Tinos-tlf-ts1
+}{}
+
+\DeclareFontShape{TS1}{Tinos-TLF}{m}{it}{
+ <-> \Tinos@@scale Tinos-Italic-tlf-ts1
+}{}
+
+\DeclareFontShape{TS1}{Tinos-TLF}{m}{sl}{
+ <-> ssub * Tinos-TLF/m/it
+}{}
+
+\DeclareFontShape{TS1}{Tinos-TLF}{bx}{sl}{
+ <-> ssub * Tinos-TLF/b/sl
+}{}
+
+\DeclareFontShape{TS1}{Tinos-TLF}{bx}{n}{
+ <-> ssub * Tinos-TLF/b/n
+}{}
+
+\DeclareFontShape{TS1}{Tinos-TLF}{bx}{it}{
+ <-> ssub * Tinos-TLF/b/it
+}{}
+
+\endinput
diff --git a/fonts/tinos/latex/tinos.sty b/fonts/tinos/latex/tinos.sty
new file mode 100644
index 0000000000..087b29cb9e
--- /dev/null
+++ b/fonts/tinos/latex/tinos.sty
@@ -0,0 +1,62 @@
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{tinos}
+ [2017/01/05 (Bob Tennent) Supports Tinos fonts for all LaTeX engines.]
+
+\RequirePackage{ifxetex,ifluatex,xkeyval,textcomp}
+
+\newif\iftinos@ttf
+\ifxetex
+ \tinos@ttftrue
+\else\ifluatex
+ \tinos@ttftrue
+\else % [pdf]LaTeX
+ \tinos@ttffalse
+\fi\fi
+
+
+\newcommand*{\Tinos@scale}{1}
+\DeclareOptionX{scaled}{\renewcommand*{\Tinos@scale}{#1}}
+\DeclareOptionX{scale}{\renewcommand*{\Tinos@scale}{#1}}
+
+
+\DeclareOptionX{type1}{\tinos@ttffalse}
+
+\ProcessOptionsX\relax
+
+\iftinos@ttf\else % type1
+ \def\tinos@figurestyle{LF}
+ \def\tinos@figurealign{T}
+\fi
+
+
+\iftinos@ttf
+ \RequirePackage{fontspec}
+\else
+ \RequirePackage{fontenc,fontaxes}
+\fi
+
+\iftinos@ttf
+ \ifxetex\XeTeXtracingfonts=1\fi
+ \defaultfontfeatures{
+ Ligatures = TeX ,
+ Scale = \Tinos@scale ,
+ Extension = .ttf }
+ \setmainfont
+ [ UprightFont = *-Regular ,
+ ItalicFont = *-Italic ,
+ BoldFont = *-Bold ,
+ BoldItalicFont = *-BoldItalic ]
+ {Tinos}
+\else % type1
+ \def\tinosfamily{Tinos-\tinos@figurealign\tinos@figurestyle}
+ \newcommand*\tinos{\fontfamily{\tinos}\selectfont}
+ \def\rmdefault{\tinosfamily}
+\fi
+
+
+\iftinos@ttf
+ % turn off defaults in case other fonts are selected:
+ \defaultfontfeatures{}
+\fi
+
+\endinput