summaryrefslogtreecommitdiff
path: root/fonts/arvo/latex
diff options
context:
space:
mode:
Diffstat (limited to 'fonts/arvo/latex')
-rw-r--r--fonts/arvo/latex/Arvo.sty52
-rw-r--r--fonts/arvo/latex/LY1Arvo-TLF.fd91
-rw-r--r--fonts/arvo/latex/OT1Arvo-TLF.fd91
-rw-r--r--fonts/arvo/latex/T1Arvo-TLF.fd91
-rw-r--r--fonts/arvo/latex/TS1Arvo-TLF.fd91
5 files changed, 416 insertions, 0 deletions
diff --git a/fonts/arvo/latex/Arvo.sty b/fonts/arvo/latex/Arvo.sty
new file mode 100644
index 0000000000..37a8650f5e
--- /dev/null
+++ b/fonts/arvo/latex/Arvo.sty
@@ -0,0 +1,52 @@
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{Arvo}
+ [2020/12/21 (Carl-Clemens Ebinger and autoinst) Style file for Arvo fonts.]
+
+\RequirePackage{xkeyval}
+\newcommand*{\Arvo@scale}{1}
+\DeclareOptionX{scale}{\renewcommand*{\Arvo@scale}{#1}}
+\DeclareOptionX{scaled}{\renewcommand*{\Arvo@scale}{#1}}
+
+\DeclareOptionX{lining}{\edef\Arvo@figurestyle{LF}}
+\DeclareOptionX{tabular}{\edef\Arvo@figurealign{T}}
+\DeclareOptionX{mainfont}{
+ \renewcommand{\familydefault}{\rmdefault}
+}
+\DeclareOptionX{bold}{\edef\bfseries@rm{bold}}
+\DeclareOptionX{regular}{\edef\mdseries@rm{regular}}
+\ExecuteOptionsX{lining,tabular}
+\ProcessOptionsX\relax
+
+\RequirePackage{fontenc,textcomp}
+\RequirePackage{ifthen}
+\RequirePackage{mweights}
+
+\IfFileExists{fontaxes.sty}{
+ \RequirePackage{fontaxes}
+}{}
+
+% Here we implement the scale=MatchLowercase option.
+% If this is given, we must compute the correct value of
+% the "\Arvo@scale" parameter before loading the .fd files;
+% but to determine that value we of course need the font's x-height.
+% To avoid triggering the loading of .fd files,
+% we use plain TeX's \font primitive to load the testfont.
+% We then compute the ratio of the current x-height to our font's x-height;
+% this is the "\Arvo@scale" we will pass to the .fd files.
+\ifthenelse{\equal{\Arvo@scale}{MatchLowercase}}
+ { \newlength{\Arvo@currentx}
+ \settoheight{\Arvo@currentx}{x}
+ \newlength{\Arvo@xheight}
+ \settoheight{\Arvo@xheight}
+ {{\font\testfont=Arvo-tlf-ot1 at \f@size pt\testfont x}}
+ \renewcommand*{\Arvo@scale}
+ {\strip@pt\dimexpr\number\numexpr\number\dimexpr\Arvo@currentx\relax*65536/\number\dimexpr\Arvo@xheight\relax\relax sp\relax}}
+ {}
+
+\renewcommand*
+ {\rmdefault}
+ {Arvo-\Arvo@figurealign\Arvo@figurestyle}
+ \def\Arvotabular{\fontfamily{Arvo-TLF}\selectfont}
+ \def\Arvoproportional{\fontfamily{Arvo-LF}\selectfont}
+\endinput
+
diff --git a/fonts/arvo/latex/LY1Arvo-TLF.fd b/fonts/arvo/latex/LY1Arvo-TLF.fd
new file mode 100644
index 0000000000..ba46d26cdf
--- /dev/null
+++ b/fonts/arvo/latex/LY1Arvo-TLF.fd
@@ -0,0 +1,91 @@
+%% Generated by autoinst on 2020/12/21
+%%
+\ProvidesFile{LY1Arvo-TLF.fd}
+ [2020/12/21 (autoinst) Font definitions for LY1/Arvo-TLF.]
+
+\ifcsname s@fct@alias\endcsname\else
+\gdef\s@fct@alias{\sub@sfcnt\@font@aliasinfo}
+\gdef\@font@aliasinfo#1{%
+ \@font@info{Font\space shape\space `\curr@fontshape'\space will
+ \space be\space aliased\MessageBreak to\space `\mandatory@arg'}%
+}
+\fi
+
+\expandafter\ifx\csname Arvo@scale\endcsname\relax
+ \let\Arvo@@scale\@empty
+\else
+ \edef\Arvo@@scale{s*[\csname Arvo@scale\endcsname]}%
+\fi
+
+\DeclareFontFamily{LY1}{Arvo-TLF}{}
+
+
+% ---- b = bold ----
+
+\DeclareFontShape{LY1}{Arvo-TLF}{b}{n}{
+ <-> \Arvo@@scale Arvo-Bold-tlf-ly1
+}{}
+
+\DeclareFontShape{LY1}{Arvo-TLF}{bold}{n}{
+ <-> alias * Arvo-TLF/b/n
+}{}
+
+\DeclareFontShape{LY1}{Arvo-TLF}{b}{it}{
+ <-> \Arvo@@scale Arvo-BoldItalic-tlf-ly1
+}{}
+
+\DeclareFontShape{LY1}{Arvo-TLF}{bold}{it}{
+ <-> alias * Arvo-TLF/b/it
+}{}
+
+\DeclareFontShape{LY1}{Arvo-TLF}{b}{sl}{
+ <-> ssub * Arvo-TLF/b/it
+}{}
+
+\DeclareFontShape{LY1}{Arvo-TLF}{bold}{sl}{
+ <-> ssub * Arvo-TLF/bold/it
+}{}
+
+
+% ---- m = regular ----
+
+\DeclareFontShape{LY1}{Arvo-TLF}{m}{n}{
+ <-> \Arvo@@scale Arvo-tlf-ly1
+}{}
+
+\DeclareFontShape{LY1}{Arvo-TLF}{regular}{n}{
+ <-> alias * Arvo-TLF/m/n
+}{}
+
+\DeclareFontShape{LY1}{Arvo-TLF}{m}{it}{
+ <-> \Arvo@@scale Arvo-Italic-tlf-ly1
+}{}
+
+\DeclareFontShape{LY1}{Arvo-TLF}{regular}{it}{
+ <-> alias * Arvo-TLF/m/it
+}{}
+
+\DeclareFontShape{LY1}{Arvo-TLF}{m}{sl}{
+ <-> ssub * Arvo-TLF/m/it
+}{}
+
+\DeclareFontShape{LY1}{Arvo-TLF}{regular}{sl}{
+ <-> ssub * Arvo-TLF/regular/it
+}{}
+
+
+% ---- Extra 'ssub' rules to map 'bx' to 'b' ----
+
+\DeclareFontShape{LY1}{Arvo-TLF}{bx}{sl}{
+ <-> ssub * Arvo-TLF/b/sl
+}{}
+
+\DeclareFontShape{LY1}{Arvo-TLF}{bx}{n}{
+ <-> ssub * Arvo-TLF/b/n
+}{}
+
+\DeclareFontShape{LY1}{Arvo-TLF}{bx}{it}{
+ <-> ssub * Arvo-TLF/b/it
+}{}
+
+\endinput
diff --git a/fonts/arvo/latex/OT1Arvo-TLF.fd b/fonts/arvo/latex/OT1Arvo-TLF.fd
new file mode 100644
index 0000000000..b1404c9607
--- /dev/null
+++ b/fonts/arvo/latex/OT1Arvo-TLF.fd
@@ -0,0 +1,91 @@
+%% Generated by autoinst on 2020/12/21
+%%
+\ProvidesFile{OT1Arvo-TLF.fd}
+ [2020/12/21 (autoinst) Font definitions for OT1/Arvo-TLF.]
+
+\ifcsname s@fct@alias\endcsname\else
+\gdef\s@fct@alias{\sub@sfcnt\@font@aliasinfo}
+\gdef\@font@aliasinfo#1{%
+ \@font@info{Font\space shape\space `\curr@fontshape'\space will
+ \space be\space aliased\MessageBreak to\space `\mandatory@arg'}%
+}
+\fi
+
+\expandafter\ifx\csname Arvo@scale\endcsname\relax
+ \let\Arvo@@scale\@empty
+\else
+ \edef\Arvo@@scale{s*[\csname Arvo@scale\endcsname]}%
+\fi
+
+\DeclareFontFamily{OT1}{Arvo-TLF}{}
+
+
+% ---- b = bold ----
+
+\DeclareFontShape{OT1}{Arvo-TLF}{b}{it}{
+ <-> \Arvo@@scale Arvo-BoldItalic-tlf-ot1
+}{}
+
+\DeclareFontShape{OT1}{Arvo-TLF}{bold}{it}{
+ <-> alias * Arvo-TLF/b/it
+}{}
+
+\DeclareFontShape{OT1}{Arvo-TLF}{b}{n}{
+ <-> \Arvo@@scale Arvo-Bold-tlf-ot1
+}{}
+
+\DeclareFontShape{OT1}{Arvo-TLF}{bold}{n}{
+ <-> alias * Arvo-TLF/b/n
+}{}
+
+\DeclareFontShape{OT1}{Arvo-TLF}{b}{sl}{
+ <-> ssub * Arvo-TLF/b/it
+}{}
+
+\DeclareFontShape{OT1}{Arvo-TLF}{bold}{sl}{
+ <-> ssub * Arvo-TLF/bold/it
+}{}
+
+
+% ---- m = regular ----
+
+\DeclareFontShape{OT1}{Arvo-TLF}{m}{n}{
+ <-> \Arvo@@scale Arvo-tlf-ot1
+}{}
+
+\DeclareFontShape{OT1}{Arvo-TLF}{regular}{n}{
+ <-> alias * Arvo-TLF/m/n
+}{}
+
+\DeclareFontShape{OT1}{Arvo-TLF}{m}{it}{
+ <-> \Arvo@@scale Arvo-Italic-tlf-ot1
+}{}
+
+\DeclareFontShape{OT1}{Arvo-TLF}{regular}{it}{
+ <-> alias * Arvo-TLF/m/it
+}{}
+
+\DeclareFontShape{OT1}{Arvo-TLF}{m}{sl}{
+ <-> ssub * Arvo-TLF/m/it
+}{}
+
+\DeclareFontShape{OT1}{Arvo-TLF}{regular}{sl}{
+ <-> ssub * Arvo-TLF/regular/it
+}{}
+
+
+% ---- Extra 'ssub' rules to map 'bx' to 'b' ----
+
+\DeclareFontShape{OT1}{Arvo-TLF}{bx}{n}{
+ <-> ssub * Arvo-TLF/b/n
+}{}
+
+\DeclareFontShape{OT1}{Arvo-TLF}{bx}{sl}{
+ <-> ssub * Arvo-TLF/b/sl
+}{}
+
+\DeclareFontShape{OT1}{Arvo-TLF}{bx}{it}{
+ <-> ssub * Arvo-TLF/b/it
+}{}
+
+\endinput
diff --git a/fonts/arvo/latex/T1Arvo-TLF.fd b/fonts/arvo/latex/T1Arvo-TLF.fd
new file mode 100644
index 0000000000..2b19dfcfbe
--- /dev/null
+++ b/fonts/arvo/latex/T1Arvo-TLF.fd
@@ -0,0 +1,91 @@
+%% Generated by autoinst on 2020/12/21
+%%
+\ProvidesFile{T1Arvo-TLF.fd}
+ [2020/12/21 (autoinst) Font definitions for T1/Arvo-TLF.]
+
+\ifcsname s@fct@alias\endcsname\else
+\gdef\s@fct@alias{\sub@sfcnt\@font@aliasinfo}
+\gdef\@font@aliasinfo#1{%
+ \@font@info{Font\space shape\space `\curr@fontshape'\space will
+ \space be\space aliased\MessageBreak to\space `\mandatory@arg'}%
+}
+\fi
+
+\expandafter\ifx\csname Arvo@scale\endcsname\relax
+ \let\Arvo@@scale\@empty
+\else
+ \edef\Arvo@@scale{s*[\csname Arvo@scale\endcsname]}%
+\fi
+
+\DeclareFontFamily{T1}{Arvo-TLF}{}
+
+
+% ---- b = bold ----
+
+\DeclareFontShape{T1}{Arvo-TLF}{b}{it}{
+ <-> \Arvo@@scale Arvo-BoldItalic-tlf-t1
+}{}
+
+\DeclareFontShape{T1}{Arvo-TLF}{bold}{it}{
+ <-> alias * Arvo-TLF/b/it
+}{}
+
+\DeclareFontShape{T1}{Arvo-TLF}{b}{n}{
+ <-> \Arvo@@scale Arvo-Bold-tlf-t1
+}{}
+
+\DeclareFontShape{T1}{Arvo-TLF}{bold}{n}{
+ <-> alias * Arvo-TLF/b/n
+}{}
+
+\DeclareFontShape{T1}{Arvo-TLF}{b}{sl}{
+ <-> ssub * Arvo-TLF/b/it
+}{}
+
+\DeclareFontShape{T1}{Arvo-TLF}{bold}{sl}{
+ <-> ssub * Arvo-TLF/bold/it
+}{}
+
+
+% ---- m = regular ----
+
+\DeclareFontShape{T1}{Arvo-TLF}{m}{it}{
+ <-> \Arvo@@scale Arvo-Italic-tlf-t1
+}{}
+
+\DeclareFontShape{T1}{Arvo-TLF}{regular}{it}{
+ <-> alias * Arvo-TLF/m/it
+}{}
+
+\DeclareFontShape{T1}{Arvo-TLF}{m}{n}{
+ <-> \Arvo@@scale Arvo-tlf-t1
+}{}
+
+\DeclareFontShape{T1}{Arvo-TLF}{regular}{n}{
+ <-> alias * Arvo-TLF/m/n
+}{}
+
+\DeclareFontShape{T1}{Arvo-TLF}{m}{sl}{
+ <-> ssub * Arvo-TLF/m/it
+}{}
+
+\DeclareFontShape{T1}{Arvo-TLF}{regular}{sl}{
+ <-> ssub * Arvo-TLF/regular/it
+}{}
+
+
+% ---- Extra 'ssub' rules to map 'bx' to 'b' ----
+
+\DeclareFontShape{T1}{Arvo-TLF}{bx}{it}{
+ <-> ssub * Arvo-TLF/b/it
+}{}
+
+\DeclareFontShape{T1}{Arvo-TLF}{bx}{n}{
+ <-> ssub * Arvo-TLF/b/n
+}{}
+
+\DeclareFontShape{T1}{Arvo-TLF}{bx}{sl}{
+ <-> ssub * Arvo-TLF/b/sl
+}{}
+
+\endinput
diff --git a/fonts/arvo/latex/TS1Arvo-TLF.fd b/fonts/arvo/latex/TS1Arvo-TLF.fd
new file mode 100644
index 0000000000..24c76a9733
--- /dev/null
+++ b/fonts/arvo/latex/TS1Arvo-TLF.fd
@@ -0,0 +1,91 @@
+%% Generated by autoinst on 2020/12/21
+%%
+\ProvidesFile{TS1Arvo-TLF.fd}
+ [2020/12/21 (autoinst) Font definitions for TS1/Arvo-TLF.]
+
+\ifcsname s@fct@alias\endcsname\else
+\gdef\s@fct@alias{\sub@sfcnt\@font@aliasinfo}
+\gdef\@font@aliasinfo#1{%
+ \@font@info{Font\space shape\space `\curr@fontshape'\space will
+ \space be\space aliased\MessageBreak to\space `\mandatory@arg'}%
+}
+\fi
+
+\expandafter\ifx\csname Arvo@scale\endcsname\relax
+ \let\Arvo@@scale\@empty
+\else
+ \edef\Arvo@@scale{s*[\csname Arvo@scale\endcsname]}%
+\fi
+
+\DeclareFontFamily{TS1}{Arvo-TLF}{}
+
+
+% ---- b = bold ----
+
+\DeclareFontShape{TS1}{Arvo-TLF}{b}{it}{
+ <-> \Arvo@@scale Arvo-BoldItalic-tlf-ts1
+}{}
+
+\DeclareFontShape{TS1}{Arvo-TLF}{bold}{it}{
+ <-> alias * Arvo-TLF/b/it
+}{}
+
+\DeclareFontShape{TS1}{Arvo-TLF}{b}{n}{
+ <-> \Arvo@@scale Arvo-Bold-tlf-ts1
+}{}
+
+\DeclareFontShape{TS1}{Arvo-TLF}{bold}{n}{
+ <-> alias * Arvo-TLF/b/n
+}{}
+
+\DeclareFontShape{TS1}{Arvo-TLF}{b}{sl}{
+ <-> ssub * Arvo-TLF/b/it
+}{}
+
+\DeclareFontShape{TS1}{Arvo-TLF}{bold}{sl}{
+ <-> ssub * Arvo-TLF/bold/it
+}{}
+
+
+% ---- m = regular ----
+
+\DeclareFontShape{TS1}{Arvo-TLF}{m}{n}{
+ <-> \Arvo@@scale Arvo-tlf-ts1
+}{}
+
+\DeclareFontShape{TS1}{Arvo-TLF}{regular}{n}{
+ <-> alias * Arvo-TLF/m/n
+}{}
+
+\DeclareFontShape{TS1}{Arvo-TLF}{m}{it}{
+ <-> \Arvo@@scale Arvo-Italic-tlf-ts1
+}{}
+
+\DeclareFontShape{TS1}{Arvo-TLF}{regular}{it}{
+ <-> alias * Arvo-TLF/m/it
+}{}
+
+\DeclareFontShape{TS1}{Arvo-TLF}{m}{sl}{
+ <-> ssub * Arvo-TLF/m/it
+}{}
+
+\DeclareFontShape{TS1}{Arvo-TLF}{regular}{sl}{
+ <-> ssub * Arvo-TLF/regular/it
+}{}
+
+
+% ---- Extra 'ssub' rules to map 'bx' to 'b' ----
+
+\DeclareFontShape{TS1}{Arvo-TLF}{bx}{sl}{
+ <-> ssub * Arvo-TLF/b/sl
+}{}
+
+\DeclareFontShape{TS1}{Arvo-TLF}{bx}{n}{
+ <-> ssub * Arvo-TLF/b/n
+}{}
+
+\DeclareFontShape{TS1}{Arvo-TLF}{bx}{it}{
+ <-> ssub * Arvo-TLF/b/it
+}{}
+
+\endinput