summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-12-21 22:10:44 +0000
committerKarl Berry <karl@freefriends.org>2020-12-21 22:10:44 +0000
commitfc9f80df3b4160ff1a58170d6e3a7cf523011757 (patch)
tree696a5a3551acd674ad604eff3377793b1c952741 /Master/texmf-dist/tex/latex
parent55de2da667a45a8269b59b299be7b44cb11906f7 (diff)
arvo (21dec20)
git-svn-id: svn://tug.org/texlive/trunk@57191 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r--Master/texmf-dist/tex/latex/arvo/Arvo.sty52
-rw-r--r--Master/texmf-dist/tex/latex/arvo/LY1Arvo-TLF.fd91
-rw-r--r--Master/texmf-dist/tex/latex/arvo/OT1Arvo-TLF.fd91
-rw-r--r--Master/texmf-dist/tex/latex/arvo/T1Arvo-TLF.fd91
-rw-r--r--Master/texmf-dist/tex/latex/arvo/TS1Arvo-TLF.fd91
5 files changed, 416 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/arvo/Arvo.sty b/Master/texmf-dist/tex/latex/arvo/Arvo.sty
new file mode 100644
index 00000000000..37a8650f5ed
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/arvo/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/Master/texmf-dist/tex/latex/arvo/LY1Arvo-TLF.fd b/Master/texmf-dist/tex/latex/arvo/LY1Arvo-TLF.fd
new file mode 100644
index 00000000000..ba46d26cdf3
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/arvo/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/Master/texmf-dist/tex/latex/arvo/OT1Arvo-TLF.fd b/Master/texmf-dist/tex/latex/arvo/OT1Arvo-TLF.fd
new file mode 100644
index 00000000000..b1404c9607c
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/arvo/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/Master/texmf-dist/tex/latex/arvo/T1Arvo-TLF.fd b/Master/texmf-dist/tex/latex/arvo/T1Arvo-TLF.fd
new file mode 100644
index 00000000000..2b19dfcfbe7
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/arvo/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/Master/texmf-dist/tex/latex/arvo/TS1Arvo-TLF.fd b/Master/texmf-dist/tex/latex/arvo/TS1Arvo-TLF.fd
new file mode 100644
index 00000000000..24c76a9733d
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/arvo/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