From 4978fc50e9868db202f4b51324b37a4f2e201f1e Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 9 Apr 2017 22:50:14 +0000 Subject: gofonts (2apr17) git-svn-id: svn://tug.org/texlive/trunk@43726 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/gofonts/GoSans.sty | 29 ++++++++------------------ 1 file changed, 9 insertions(+), 20 deletions(-) (limited to 'Master/texmf-dist/tex/latex/gofonts') 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{} -- cgit v1.2.3