Skip to content

Commit a2cb483

Browse files
committed
Fix fonts and letter footer
1 parent 21e93aa commit a2cb483

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

moderncvstylecustom.sty

+9-2
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939

4040
% moderncvstylecustom.sty:
4141
\RequirePackage{fontspec}
42-
\setmainfont{Garamond Premier Pro}
42+
\setmainfont{GaramondPremrPro}
4343
\setmonofont[Scale=MatchLowercase]{Fira Code Light}
4444

4545
% symbols
@@ -137,7 +137,14 @@
137137
{#3}}
138138

139139
% moderncvstylecustom.sty:
140-
%\patchcmd{\makeletterclosing}{\bfseries}{\bfseries\color{color1}}{}{}
140+
% Use Semibold for opening and closing
141+
\patchcmd{\makeletterhead}{\@opening}{{\fontspec{GaramondPremrPro-Smbd}\@opening}}{}{}
142+
\patchcmd{\makeletterclosing}{\@closing}{{\fontspec{GaramondPremrPro-Smbd}\@closing}}{}{}
143+
\patchcmd{\makeletterclosing}{\bfseries}{\fontspec{GaramondPremrPro-Smbd}}{}{}
144+
145+
% moderncvstylecustom.sty:
146+
% Remove the name from the letter footer.
147+
\patchcmd{\makeletterfoot}{\bfseries\upshape\@firstname~\@lastname}{}{}{}
141148

142149
\endinput
143150

0 commit comments

Comments
 (0)