Skip to content

Commit 1d17d21

Browse files
committed
Updated Font Awesome to version 6.4.2
1 parent a79de5d commit 1d17d21

7 files changed

+2048
-5
lines changed

awesome-cv.cls

+17-5
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
% Needed to manage math fonts
7676
\RequirePackage{unicode-math}
7777
% Needed to use icons from font-awesome
78-
\RequirePackage{fontawesome5}
78+
\RequirePackage{fontawesome6}
7979
\RequirePackage{roboto}
8080
\RequirePackage[default,opentype]{sourcesanspro}
8181
% Needed for the photo ID
@@ -99,6 +99,7 @@
9999
% Configure an optional directory location for fonts(default: 'fonts/')
100100
% Not required anymore but left in place for backward compatability.
101101
\newcommand*{\fontdir}[1][fonts/]{\def\@fontdir{#1}}
102+
\fontdir
102103

103104
%-------------------------------------------------------------------------------
104105
% Configuration for layout
@@ -163,6 +164,17 @@
163164
%-------------------------------------------------------------------------------
164165
% Configuration for fonts
165166
%-------------------------------------------------------------------------------
167+
% FontAwesome 6 fonts
168+
\newfontfamily\FAB[
169+
Path=\@fontdir,
170+
]{Font-Awesome-6-Brands-Regular-400}
171+
\newfontfamily\FAR[
172+
Path=\@fontdir,
173+
]{Font-Awesome-6-Free-Regular-400}
174+
\newfontfamily\FAS[
175+
Path=\@fontdir,
176+
]{Font-Awesome-6-Free-Solid-900}
177+
166178
\newcommand*{\headerfont}{\roboto}
167179
\newcommand*{\headerfontlight}{\robotolight}
168180
\newcommand*{\footerfont}{\sourcesanspro}
@@ -488,26 +500,26 @@
488500
{}%
489501
{%
490502
\ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}%
491-
\href{mailto:\@email}{\faEnvelope\acvHeaderIconSep\@email}%
503+
\href{mailto:\@email}{\faEnvelopeS\acvHeaderIconSep\@email}%
492504
}%
493505
\ifthenelse{\isundefined{\@dateofbirth}}%
494506
{}%
495507
{%
496508
\ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}%
497509
% \mbox prevents wrapping of elements%
498-
\mbox{\faBirthdayCake\acvHeaderIconSep\@dateofbirth}%
510+
\mbox{\faCakeCandles\acvHeaderIconSep\@dateofbirth}%
499511
}%
500512
\ifthenelse{\isundefined{\@homepage}}%
501513
{}%
502514
{%
503515
\ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}%
504-
\href{http://\@homepage}{\faHome\acvHeaderIconSep\@homepage}%
516+
\href{http://\@homepage}{\faHouseChimney\acvHeaderIconSep\@homepage}%
505517
}%
506518
\ifthenelse{\isundefined{\@github}}%
507519
{}%
508520
{%
509521
\ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}%
510-
\href{https://github.com/\@github}{\faGithubSquare\acvHeaderIconSep\@github}%
522+
\href{https://github.com/\@github}{\faSquareGithub\acvHeaderIconSep\@github}%
511523
}%
512524
\ifthenelse{\isundefined{\@gitlab}}%
513525
{}%

examples/fontawesome6.sty

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../fontawesome6.sty

examples/fonts

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../fonts

0 commit comments

Comments
 (0)