summaryrefslogtreecommitdiff
path: root/fonts/roboto
diff options
context:
space:
mode:
Diffstat (limited to 'fonts/roboto')
-rw-r--r--fonts/roboto/README2
-rw-r--r--fonts/roboto/latex/roboto-mono.sty24
-rw-r--r--fonts/roboto/latex/roboto.sty57
3 files changed, 42 insertions, 41 deletions
diff --git a/fonts/roboto/README b/fonts/roboto/README
index d730c628f5..df6b08567f 100644
--- a/fonts/roboto/README
+++ b/fonts/roboto/README
@@ -1,5 +1,5 @@
This is the README for the roboto package, version
-2019-06-03.
+2019-10-14.
This package provides LaTeX, pdfLaTeX, XeLaTeX and LuaLaTeX
support for the Roboto, RobotoCondensed, RobotoMono and
diff --git a/fonts/roboto/latex/roboto-mono.sty b/fonts/roboto/latex/roboto-mono.sty
index 91a99c497e..823a22c9c7 100644
--- a/fonts/roboto/latex/roboto-mono.sty
+++ b/fonts/roboto/latex/roboto-mono.sty
@@ -1,6 +1,6 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{roboto-mono}
- [2019/06/03 (Bob Tennent) Supports RobotoMono fonts for all LaTeX engines.]
+ [2019/10/14 (Bob Tennent) Supports RobotoMono fonts for all LaTeX engines.]
\RequirePackage{ifxetex,ifluatex,xkeyval,textcomp}
@@ -44,12 +44,12 @@
\else % type1
- \def\bfseries@tt{bold}
- \ifrobotomono@medium\def\bfseries@tt{medium}\fi
- \ifrobotomono@black\def\bfseries@tt{black}\fi
- \def\mdseries@tt{regular}
- \ifrobotomono@thin\def\mdseries@tt{thin}\fi
- \ifrobotomono@light\def\mdseries@tt{light}\fi
+ \def\bfseries@tt{b}
+ \ifrobotomono@medium\def\bfseries@tt{sb}\fi
+ \ifrobotomono@black\def\bfseries@tt{eb}\fi
+ \def\mdseries@tt{m}
+ \ifrobotomono@thin\def\mdseries@tt{el}\fi
+ \ifrobotomono@light\def\mdseries@tt{l}\fi
\fi
@@ -120,11 +120,11 @@
\def\robotomonofamily{RobotoMono-TLF}
\newcommand*\robotomono{\fontfamily{\robotomonofamily}\selectfont}
\def\ttdefault{\robotomonofamily}
- \def\robotomonoregular{\fontfamily{\ttdefault}\fontseries{regular}\selectfont}
- \def\robotomonomedium{\fontfamily{\ttdefault}\fontseries{medium}\selectfont}
- \def\robotomonothin{\fontfamily{\ttdefault}\fontseries{thin}\selectfont}
- \def\robotomonoklight{\fontfamily{\ttdefault}\fontseries{light}\selectfont}
- \def\robotomonobold{\fontfamily{\ttdefault}\fontseries{bold}\selectfont}
+ \def\robotomonoregular{\fontfamily{\ttdefault}\fontseries{m}\selectfont}
+ \def\robotomonomedium{\fontfamily{\ttdefault}\fontseries{sb}\selectfont}
+ \def\robotomonothin{\fontfamily{\ttdefault}\fontseries{el}\selectfont}
+ \def\robotomonoklight{\fontfamily{\ttdefault}\fontseries{l}\selectfont}
+ \def\robotomonobold{\fontfamily{\ttdefault}\fontseries{b}\selectfont}
\fi
\DeclareTextFontCommand{\robotomonoRegular}{\robotomonoregular}
diff --git a/fonts/roboto/latex/roboto.sty b/fonts/roboto/latex/roboto.sty
index ac70a062c0..068bd8ae0a 100644
--- a/fonts/roboto/latex/roboto.sty
+++ b/fonts/roboto/latex/roboto.sty
@@ -1,6 +1,6 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{roboto}
- [2019/04/19 (Bob Tennent) Supports Roboto fonts for all LaTeX engines.]
+ [2019/10/14 (Bob Tennent) Supports Roboto fonts for all LaTeX engines.]
\RequirePackage{ifxetex,ifluatex,xkeyval,textcomp}
@@ -28,8 +28,8 @@
\newif\ifroboto@condensed \roboto@condensedfalse
\newif\ifroboto@slab \roboto@slabfalse
-\DeclareOptionX{default}{\roboto@defaulttrue}
-\DeclareOptionX{sfdefault}{\roboto@defaulttrue}
+\DeclareOptionX{default}{\roboto@defaulttrue\roboto@slabfalse}
+\DeclareOptionX{sfdefault}{\roboto@defaulttrue\roboto@slabfalse}
\DeclareOptionX{type1}{\roboto@otffalse}
\DeclareOptionX{medium}{\roboto@mediumtrue\roboto@blackfalse}
\DeclareOptionX{bold}{\roboto@blackfalse\roboto@mediumfalse}
@@ -38,7 +38,7 @@
\DeclareOptionX{light}{\roboto@lighttrue\roboto@thinfalse}
\DeclareOptionX{regular}{\roboto@lightfalse\roboto@thinfalse}
\DeclareOptionX{condensed}{\roboto@condensedtrue\roboto@slabfalse\roboto@thinfalse}
-\DeclareOptionX{rm}{\roboto@slabtrue\roboto@condensedfalse}
+\DeclareOptionX{rm}{\roboto@slabtrue\roboto@condensedfalse\roboto@defaultfalse}
\DeclareOptionX{lining}{\roboto@liningtrue}
\DeclareOptionX{nf}{\roboto@liningtrue}
\DeclareOptionX{lf}{\roboto@liningtrue}
@@ -64,23 +64,24 @@
\else % type1
\ifroboto@condensed
- \def\bfseries@sf{boldcondensed}
- \def\mdseries@sf{condensed}
- \ifroboto@light\def\mdseries@sf{lightcondensed}\fi
+ \def\bfseries@sf{bc}
+ \def\mdseries@sf{c}
+ \ifroboto@light\def\mdseries@sf{lc}\fi
\def\seriesdefault{\mdseries@sf}
\else
- \def\bfseries@sf{bold}
- \ifroboto@medium\def\bfseries@sf{medium}\fi
- \ifroboto@black\def\bfseries@sf{black}\fi
\ifroboto@slab
- \def\mdseries@rm{regular}
+ \def\mdseries@rm{m}
+ \def\bfseries@rm{b}
\else
- \def\mdseries@sf{regular}
+ \def\mdseries@sf{m}
+ \def\bfseries@sf{b}
\fi
- \ifroboto@thin\def\mdseries@sf{thin}
- \ifroboto@slab\def\mdseries@rm{thin}\fi\fi
- \ifroboto@light\def\mdseries@sf{light}
- \ifroboto@slab\def\mdseries@rm{light}\fi\fi
+ \ifroboto@medium\def\bfseries@sf{sb}\fi
+ \ifroboto@black\def\bfseries@sf{eb}\fi
+ \ifroboto@thin\def\mdseries@sf{el}
+ \ifroboto@slab\def\mdseries@rm{el}\fi\fi
+ \ifroboto@light\def\mdseries@sf{l}
+ \ifroboto@slab\def\mdseries@rm{l}\fi\fi
\ifroboto@slab
\def\seriesdefault{\mdseries@rm}
\else
@@ -348,19 +349,19 @@
\ifroboto@slab\edef\rmdefault{\robotoslabfamily}\fi
\ifroboto@slab
- \def\robotoregular{\fontfamily{\rmdefault}\fontseries{regular}\selectfont}
- \def\robotomedium{\fontfamily{\rmdefault}\fontseries{medium}\selectfont}
- \def\robotothin{\fontfamily{\rmdefault}\fontseries{thin}\selectfont}
- \def\robotolight{\fontfamily{\rmdefault}\fontseries{light}\selectfont}
- \def\robotobold{\fontfamily{\rmdefault}\fontseries{bold}\selectfont}
- \def\robotoblack{\fontfamily{\rmdefault}\fontseries{black}\selectfont}
+ \def\robotoregular{\fontfamily{\rmdefault}\fontseries{m}\selectfont}
+ \def\robotomedium{\fontfamily{\rmdefault}\fontseries{sb}\selectfont}
+ \def\robotothin{\fontfamily{\rmdefault}\fontseries{el}\selectfont}
+ \def\robotolight{\fontfamily{\rmdefault}\fontseries{l}\selectfont}
+ \def\robotobold{\fontfamily{\rmdefault}\fontseries{b}\selectfont}
+ \def\robotoblack{\fontfamily{\rmdefault}\fontseries{eb}\selectfont}
\else
- \def\robotoregular{\fontfamily{\sfdefault}\fontseries{regular}\selectfont}
- \def\robotomedium{\fontfamily{\sfdefault}\fontseries{medium}\selectfont}
- \def\robotothin{\fontfamily{\sfdefault}\fontseries{thin}\selectfont}
- \def\robotolight{\fontfamily{\sfdefault}\fontseries{light}\selectfont}
- \def\robotobold{\fontfamily{\sfdefault}\fontseries{bold}\selectfont}
- \def\robotoblack{\fontfamily{\sfdefault}\fontseries{black}\selectfont}
+ \def\robotoregular{\fontfamily{\sfdefault}\fontseries{m}\selectfont}
+ \def\robotomedium{\fontfamily{\sfdefault}\fontseries{sb}\selectfont}
+ \def\robotothin{\fontfamily{\sfdefault}\fontseries{el}\selectfont}
+ \def\robotolight{\fontfamily{\sfdefault}\fontseries{l}\selectfont}
+ \def\robotobold{\fontfamily{\sfdefault}\fontseries{b}\selectfont}
+ \def\robotoblack{\fontfamily{\sfdefault}\fontseries{eb}\selectfont}
\fi
\ifroboto@condensed