From 257e9defa24f3bb4745b0d42ffe6856d8181fcb9 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 5 Jan 2017 22:58:16 +0000 Subject: arimo (5jan17) git-svn-id: svn://tug.org/texlive/trunk@42870 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/arimo/LY1Arimo-TLF.fd | 50 +++++++++++++++++ Master/texmf-dist/tex/latex/arimo/OT1Arimo-TLF.fd | 50 +++++++++++++++++ Master/texmf-dist/tex/latex/arimo/T1Arimo-TLF.fd | 50 +++++++++++++++++ Master/texmf-dist/tex/latex/arimo/TS1Arimo-TLF.fd | 50 +++++++++++++++++ Master/texmf-dist/tex/latex/arimo/arimo.sty | 66 +++++++++++++++++++++++ 5 files changed, 266 insertions(+) create mode 100644 Master/texmf-dist/tex/latex/arimo/LY1Arimo-TLF.fd create mode 100644 Master/texmf-dist/tex/latex/arimo/OT1Arimo-TLF.fd create mode 100644 Master/texmf-dist/tex/latex/arimo/T1Arimo-TLF.fd create mode 100644 Master/texmf-dist/tex/latex/arimo/TS1Arimo-TLF.fd create mode 100644 Master/texmf-dist/tex/latex/arimo/arimo.sty (limited to 'Master/texmf-dist/tex') diff --git a/Master/texmf-dist/tex/latex/arimo/LY1Arimo-TLF.fd b/Master/texmf-dist/tex/latex/arimo/LY1Arimo-TLF.fd new file mode 100644 index 00000000000..f578a8cec78 --- /dev/null +++ b/Master/texmf-dist/tex/latex/arimo/LY1Arimo-TLF.fd @@ -0,0 +1,50 @@ +%% Generated by autoinst on 2017/01/04 +%% +\ProvidesFile{LY1Arimo-TLF.fd} + [2017/01/04 (autoinst) Font definitions for LY1/Arimo-TLF.] + +\expandafter\ifx\csname Arimo@scale\endcsname\relax + \let\Arimo@@scale\@empty +\else + \edef\Arimo@@scale{s*[\csname Arimo@scale\endcsname]}% +\fi + +\DeclareFontFamily{LY1}{Arimo-TLF}{} + +\DeclareFontShape{LY1}{Arimo-TLF}{b}{n}{ + <-> \Arimo@@scale Arimo-Bold-tlf-ly1 +}{} + +\DeclareFontShape{LY1}{Arimo-TLF}{b}{it}{ + <-> \Arimo@@scale Arimo-BoldItalic-tlf-ly1 +}{} + +\DeclareFontShape{LY1}{Arimo-TLF}{b}{sl}{ + <-> ssub * Arimo-TLF/b/it +}{} + +\DeclareFontShape{LY1}{Arimo-TLF}{m}{n}{ + <-> \Arimo@@scale Arimo-tlf-ly1 +}{} + +\DeclareFontShape{LY1}{Arimo-TLF}{m}{it}{ + <-> \Arimo@@scale Arimo-Italic-tlf-ly1 +}{} + +\DeclareFontShape{LY1}{Arimo-TLF}{m}{sl}{ + <-> ssub * Arimo-TLF/m/it +}{} + +\DeclareFontShape{LY1}{Arimo-TLF}{bx}{sl}{ + <-> ssub * Arimo-TLF/b/sl +}{} + +\DeclareFontShape{LY1}{Arimo-TLF}{bx}{n}{ + <-> ssub * Arimo-TLF/b/n +}{} + +\DeclareFontShape{LY1}{Arimo-TLF}{bx}{it}{ + <-> ssub * Arimo-TLF/b/it +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/arimo/OT1Arimo-TLF.fd b/Master/texmf-dist/tex/latex/arimo/OT1Arimo-TLF.fd new file mode 100644 index 00000000000..f33808f57a8 --- /dev/null +++ b/Master/texmf-dist/tex/latex/arimo/OT1Arimo-TLF.fd @@ -0,0 +1,50 @@ +%% Generated by autoinst on 2017/01/04 +%% +\ProvidesFile{OT1Arimo-TLF.fd} + [2017/01/04 (autoinst) Font definitions for OT1/Arimo-TLF.] + +\expandafter\ifx\csname Arimo@scale\endcsname\relax + \let\Arimo@@scale\@empty +\else + \edef\Arimo@@scale{s*[\csname Arimo@scale\endcsname]}% +\fi + +\DeclareFontFamily{OT1}{Arimo-TLF}{} + +\DeclareFontShape{OT1}{Arimo-TLF}{b}{n}{ + <-> \Arimo@@scale Arimo-Bold-tlf-ot1 +}{} + +\DeclareFontShape{OT1}{Arimo-TLF}{b}{it}{ + <-> \Arimo@@scale Arimo-BoldItalic-tlf-ot1 +}{} + +\DeclareFontShape{OT1}{Arimo-TLF}{b}{sl}{ + <-> ssub * Arimo-TLF/b/it +}{} + +\DeclareFontShape{OT1}{Arimo-TLF}{m}{n}{ + <-> \Arimo@@scale Arimo-tlf-ot1 +}{} + +\DeclareFontShape{OT1}{Arimo-TLF}{m}{it}{ + <-> \Arimo@@scale Arimo-Italic-tlf-ot1 +}{} + +\DeclareFontShape{OT1}{Arimo-TLF}{m}{sl}{ + <-> ssub * Arimo-TLF/m/it +}{} + +\DeclareFontShape{OT1}{Arimo-TLF}{bx}{sl}{ + <-> ssub * Arimo-TLF/b/sl +}{} + +\DeclareFontShape{OT1}{Arimo-TLF}{bx}{n}{ + <-> ssub * Arimo-TLF/b/n +}{} + +\DeclareFontShape{OT1}{Arimo-TLF}{bx}{it}{ + <-> ssub * Arimo-TLF/b/it +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/arimo/T1Arimo-TLF.fd b/Master/texmf-dist/tex/latex/arimo/T1Arimo-TLF.fd new file mode 100644 index 00000000000..0ba3e1c0d94 --- /dev/null +++ b/Master/texmf-dist/tex/latex/arimo/T1Arimo-TLF.fd @@ -0,0 +1,50 @@ +%% Generated by autoinst on 2017/01/04 +%% +\ProvidesFile{T1Arimo-TLF.fd} + [2017/01/04 (autoinst) Font definitions for T1/Arimo-TLF.] + +\expandafter\ifx\csname Arimo@scale\endcsname\relax + \let\Arimo@@scale\@empty +\else + \edef\Arimo@@scale{s*[\csname Arimo@scale\endcsname]}% +\fi + +\DeclareFontFamily{T1}{Arimo-TLF}{} + +\DeclareFontShape{T1}{Arimo-TLF}{b}{n}{ + <-> \Arimo@@scale Arimo-Bold-tlf-t1 +}{} + +\DeclareFontShape{T1}{Arimo-TLF}{b}{it}{ + <-> \Arimo@@scale Arimo-BoldItalic-tlf-t1 +}{} + +\DeclareFontShape{T1}{Arimo-TLF}{b}{sl}{ + <-> ssub * Arimo-TLF/b/it +}{} + +\DeclareFontShape{T1}{Arimo-TLF}{m}{n}{ + <-> \Arimo@@scale Arimo-tlf-t1 +}{} + +\DeclareFontShape{T1}{Arimo-TLF}{m}{it}{ + <-> \Arimo@@scale Arimo-Italic-tlf-t1 +}{} + +\DeclareFontShape{T1}{Arimo-TLF}{m}{sl}{ + <-> ssub * Arimo-TLF/m/it +}{} + +\DeclareFontShape{T1}{Arimo-TLF}{bx}{sl}{ + <-> ssub * Arimo-TLF/b/sl +}{} + +\DeclareFontShape{T1}{Arimo-TLF}{bx}{n}{ + <-> ssub * Arimo-TLF/b/n +}{} + +\DeclareFontShape{T1}{Arimo-TLF}{bx}{it}{ + <-> ssub * Arimo-TLF/b/it +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/arimo/TS1Arimo-TLF.fd b/Master/texmf-dist/tex/latex/arimo/TS1Arimo-TLF.fd new file mode 100644 index 00000000000..74185940ab4 --- /dev/null +++ b/Master/texmf-dist/tex/latex/arimo/TS1Arimo-TLF.fd @@ -0,0 +1,50 @@ +%% Generated by autoinst on 2017/01/04 +%% +\ProvidesFile{TS1Arimo-TLF.fd} + [2017/01/04 (autoinst) Font definitions for TS1/Arimo-TLF.] + +\expandafter\ifx\csname Arimo@scale\endcsname\relax + \let\Arimo@@scale\@empty +\else + \edef\Arimo@@scale{s*[\csname Arimo@scale\endcsname]}% +\fi + +\DeclareFontFamily{TS1}{Arimo-TLF}{} + +\DeclareFontShape{TS1}{Arimo-TLF}{b}{n}{ + <-> \Arimo@@scale Arimo-Bold-tlf-ts1 +}{} + +\DeclareFontShape{TS1}{Arimo-TLF}{b}{it}{ + <-> \Arimo@@scale Arimo-BoldItalic-tlf-ts1 +}{} + +\DeclareFontShape{TS1}{Arimo-TLF}{b}{sl}{ + <-> ssub * Arimo-TLF/b/it +}{} + +\DeclareFontShape{TS1}{Arimo-TLF}{m}{n}{ + <-> \Arimo@@scale Arimo-tlf-ts1 +}{} + +\DeclareFontShape{TS1}{Arimo-TLF}{m}{it}{ + <-> \Arimo@@scale Arimo-Italic-tlf-ts1 +}{} + +\DeclareFontShape{TS1}{Arimo-TLF}{m}{sl}{ + <-> ssub * Arimo-TLF/m/it +}{} + +\DeclareFontShape{TS1}{Arimo-TLF}{bx}{sl}{ + <-> ssub * Arimo-TLF/b/sl +}{} + +\DeclareFontShape{TS1}{Arimo-TLF}{bx}{n}{ + <-> ssub * Arimo-TLF/b/n +}{} + +\DeclareFontShape{TS1}{Arimo-TLF}{bx}{it}{ + <-> ssub * Arimo-TLF/b/it +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/arimo/arimo.sty b/Master/texmf-dist/tex/latex/arimo/arimo.sty new file mode 100644 index 00000000000..392f949c392 --- /dev/null +++ b/Master/texmf-dist/tex/latex/arimo/arimo.sty @@ -0,0 +1,66 @@ +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{arimo} + [2017/01/04 (Bob Tennent) Supports Arimo fonts for all LaTeX engines.] + +\RequirePackage{ifxetex,ifluatex,xkeyval,textcomp} + +\newif\ifarimo@otf +\ifxetex + \arimo@otftrue +\else\ifluatex + \arimo@otftrue +\else % [pdf]LaTeX + \arimo@otffalse +\fi\fi + +\newif\ifarimo@default \arimo@defaultfalse + +\newcommand*{\Arimo@scale}{1} +\DeclareOptionX{scaled}{\renewcommand*{\Arimo@scale}{#1}} +\DeclareOptionX{scale}{\renewcommand*{\Arimo@scale}{#1}} + +\DeclareOptionX{sfdefault}{\arimo@defaulttrue} +\DeclareOptionX{type1}{\arimo@otffalse} + +\ProcessOptionsX\relax + +\ifarimo@otf + \RequirePackage{fontspec} +\else + \RequirePackage{fontenc,fontaxes} +\fi + +\ifarimo@otf + \ifxetex\XeTeXtracingfonts=1\fi + \defaultfontfeatures{ + Ligatures = TeX , + Scale = \Arimo@scale , + Extension = .otf } + \setsansfont + [ UprightFont = *-Regular , + ItalicFont = *-Italic , + BoldFont = *-Bold , + BoldItalicFont = *-BoldItalic ] + {Arimo} + % grab current family in case of subsequent change: + \let\arimofamily\sfdefault + \ifarimo@default\renewcommand*\familydefault{\arimofamily}\fi + \newfontfamily\arimo + [ UprightFont = *-Regular , + ItalicFont = *-Italic , + BoldFont = *-Bold , + BoldItalicFont = *-BoldItalic ] + {Arimo} +\else % type1 + \def\arimofamily{Arimo-TLF} + \newcommand*\arimo{\fontfamily{\arimofamily}\selectfont} + \def\sfdefault{\arimofamily} + \ifarimo@default\edef\familydefault{\sfdefault}\fi +\fi + +\ifarimo@otf +% turn off defaults in case other fonts are selected: + \defaultfontfeatures{} +\fi + +\endinput -- cgit v1.2.3