Skip to content

Commit

Permalink
Fixes posquit0#221 "Error: Command '\FA' already defined!"
Browse files Browse the repository at this point in the history
Fixes Compilation Error when commenting out the \newfont: xdvipdfmx:fatal: pdf_ref_obj(): passed invalid object.
As well als the Compilation Error: LaTeX3 Error: Command '\FA' already defined!For immediate help type H <return>.

Fixes posquit0#221 by unsetting /FA before redefining it.

In Contrary to other Pull Reqests posquit0#233 posquit0#235 and posquit0#236 i found, fontawsome works with this change.
Tested with MikTex on Windows.
  • Loading branch information
FloThinksPi authored Nov 11, 2018
1 parent 7c3fbce commit 1064980
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions awesome-cv.cls
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@
% Configuration for fonts
%-------------------------------------------------------------------------------
% Set the FontAwesome font to be up-to-date.
\let\FA\relax
\newfontfamily\FA[Path=\@fontdir]{FontAwesome}
% Set font for header (default is Roboto)
\newfontfamily\headerfont[
Expand Down

0 comments on commit 1064980

Please sign in to comment.