diff options
author | Karl Berry <karl@freefriends.org> | 2017-04-09 22:50:14 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-04-09 22:50:14 +0000 |
commit | 4978fc50e9868db202f4b51324b37a4f2e201f1e (patch) | |
tree | 70e822084e0bd5291f909be3a5705448e1fe7b7e /Master/texmf-dist/tex/latex | |
parent | 06dc2ac0c58e7afd9bf81aefca0a466f5c026c91 (diff) |
gofonts (2apr17)
git-svn-id: svn://tug.org/texlive/trunk@43726 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r-- | Master/texmf-dist/tex/latex/gofonts/GoSans.sty | 29 |
1 files changed, 9 insertions, 20 deletions
diff --git a/Master/texmf-dist/tex/latex/gofonts/GoSans.sty b/Master/texmf-dist/tex/latex/gofonts/GoSans.sty index 767001078d2..b312799fc18 100644 --- a/Master/texmf-dist/tex/latex/gofonts/GoSans.sty +++ b/Master/texmf-dist/tex/latex/gofonts/GoSans.sty @@ -1,6 +1,6 @@ \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{GoSans} - [2017/04/01 (Bob Tennent and autoinst) Style file for Go Sans fonts.] + [2017/04/02 (Bob Tennent and autoinst) Style file for Go Sans fonts.] \RequirePackage{ifxetex,ifluatex,xkeyval,textcomp} @@ -63,38 +63,27 @@ BoldItalicFont = *-\go@boldstyle-Italic , SmallCapsFont = {GoSmallcaps}, ItalicFeatures = {SmallCapsFont=GoSmallcaps-Italic}, + FontFace = {mb}{n}{Font=*-Medium}, + FontFace = {mb}{it}{Font=*-Medium-Italic}, + FontFace = {b}{n}{Font=*-Bold}, + FontFace = {b}{it}{Font=*-Bold-Italic}, ] {Go} % grab current family in case of subsequent change: \let\gofamily\sfdefault \ifgo@default\renewcommand*\familydefault{\gofamily}\fi - \newfontfamily\gomedium - [ UprightFont = *-Regular , - ItalicFont = *-Regular-Italic , - BoldFont = *-Medium , - BoldItalicFont = *-Medium-Italic - ] - {Go} - \newfontfamily\gobold - [ UprightFont = *-Regular , - ItalicFont = *-Regular-Italic , - BoldFont = *-Bold , - BoldItalicFont = *-Bold-Italic , - ] - {Go} - \else % type1 - \def\go@family{Go-TLF} - \renewcommand*\sfdefault{\go@family} + \def\gofamily{Go-TLF} + \renewcommand*\sfdefault{\gofamily} \ifgo@default\edef\familydefault{\sfdefault}\edef\seriesdefault{\mdseries@sf}\fi - \def\gomedium{\fontfamily{\go@family}\fontseries{mb}\selectfont} - \def\gobold{\fontfamily{\go@family}\fontseries{b}\selectfont} \fi +\def\gomedium{\fontfamily{\gofamily}\fontseries{mb}\selectfont} +\def\gobold{\fontfamily{\gofamily}\fontseries{b}\selectfont} \ifgo@ttf \defaultfontfeatures{} |