Updated Font Awesome to version 6.4.2

This commit is contained in:
Xavier Mawet 2022-06-20 23:45:20 +02:00
parent e6efa6be7b
commit 901cf6763a
7 changed files with 2048 additions and 5 deletions

View file

@ -75,7 +75,7 @@
% Needed to manage math fonts % Needed to manage math fonts
\RequirePackage{unicode-math} \RequirePackage{unicode-math}
% Needed to use icons from font-awesome % Needed to use icons from font-awesome
\RequirePackage{fontawesome5} \RequirePackage{fontawesome6}
\RequirePackage{roboto} \RequirePackage{roboto}
\RequirePackage[default,opentype]{sourcesanspro} \RequirePackage[default,opentype]{sourcesanspro}
% Needed for the photo ID % Needed for the photo ID
@ -99,6 +99,7 @@
% Configure an optional directory location for fonts(default: 'fonts/') % Configure an optional directory location for fonts(default: 'fonts/')
% Not required anymore but left in place for backward compatability. % Not required anymore but left in place for backward compatability.
\newcommand*{\fontdir}[1][fonts/]{\def\@fontdir{#1}} \newcommand*{\fontdir}[1][fonts/]{\def\@fontdir{#1}}
\fontdir
%------------------------------------------------------------------------------- %-------------------------------------------------------------------------------
% Configuration for layout % Configuration for layout
@ -163,6 +164,17 @@
%------------------------------------------------------------------------------- %-------------------------------------------------------------------------------
% Configuration for fonts % Configuration for fonts
%------------------------------------------------------------------------------- %-------------------------------------------------------------------------------
% FontAwesome 6 fonts
\newfontfamily\FAB[
Path=\@fontdir,
]{Font-Awesome-6-Brands-Regular-400}
\newfontfamily\FAR[
Path=\@fontdir,
]{Font-Awesome-6-Free-Regular-400}
\newfontfamily\FAS[
Path=\@fontdir,
]{Font-Awesome-6-Free-Solid-900}
\newcommand*{\headerfont}{\roboto} \newcommand*{\headerfont}{\roboto}
\newcommand*{\headerfontlight}{\robotolight} \newcommand*{\headerfontlight}{\robotolight}
\newcommand*{\footerfont}{\sourcesanspro} \newcommand*{\footerfont}{\sourcesanspro}
@ -488,26 +500,26 @@
{}% {}%
{% {%
\ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}%
\href{mailto:\@email}{\faEnvelope\acvHeaderIconSep\@email}% \href{mailto:\@email}{\faEnvelopeS\acvHeaderIconSep\@email}%
}% }%
\ifthenelse{\isundefined{\@dateofbirth}}% \ifthenelse{\isundefined{\@dateofbirth}}%
{}% {}%
{% {%
\ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}%
% \mbox prevents wrapping of elements% % \mbox prevents wrapping of elements%
\mbox{\faBirthdayCake\acvHeaderIconSep\@dateofbirth}% \mbox{\faCakeCandles\acvHeaderIconSep\@dateofbirth}%
}% }%
\ifthenelse{\isundefined{\@homepage}}% \ifthenelse{\isundefined{\@homepage}}%
{}% {}%
{% {%
\ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}%
\href{http://\@homepage}{\faHome\acvHeaderIconSep\@homepage}% \href{http://\@homepage}{\faHouseChimney\acvHeaderIconSep\@homepage}%
}% }%
\ifthenelse{\isundefined{\@github}}% \ifthenelse{\isundefined{\@github}}%
{}% {}%
{% {%
\ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}%
\href{https://github.com/\@github}{\faGithubSquare\acvHeaderIconSep\@github}% \href{https://github.com/\@github}{\faSquareGithub\acvHeaderIconSep\@github}%
}% }%
\ifthenelse{\isundefined{\@gitlab}}% \ifthenelse{\isundefined{\@gitlab}}%
{}% {}%

1
examples/fontawesome6.sty Symbolic link
View file

@ -0,0 +1 @@
../fontawesome6.sty

1
examples/fonts Symbolic link
View file

@ -0,0 +1 @@
../fonts

2029
fontawesome6.sty Normal file

File diff suppressed because it is too large Load diff

Binary file not shown.

Binary file not shown.

Binary file not shown.