diff --git a/awesome-cv.cls b/awesome-cv.cls index 6569d46..137509c 100644 --- a/awesome-cv.cls +++ b/awesome-cv.cls @@ -75,6 +75,7 @@ % Needed to use icons from font-awesome % (https://github.com/posquit0/latex-fontawesome) \RequirePackage{fontawesome} +\RequirePackage[default,opentype]{sourcesanspro} % Needed to deal a paragraphs \RequirePackage{parskip} % Needed to deal hyperlink @@ -174,40 +175,9 @@ BoldItalicFont=*-MediumItalic, ]{Roboto} -% Set font for footer (default is Source Sans Pro) -\newfontfamily\footerfont[ - Path=\@fontdir, - UprightFont=*-Regular, - ItalicFont=*-It, - BoldFont=*-Bold -]{SourceSansPro} - -% Set font for body (default is Source Sans Pro) -\newfontfamily\bodyfont[ - Path=\@fontdir, - UprightFont=*-Regular, - ItalicFont=*-It, - BoldFont=*-Bold, - BoldItalicFont=*-BoldIt -]{SourceSansPro} - -\newfontfamily\bodyfontlight[ - Path=\@fontdir, - UprightFont=*-Light, - ItalicFont=*-LightIt, - BoldFont=*-Semibold, - BoldItalicFont=*-SemiboldIt -]{SourceSansPro} - -% Set main font -\setmainfont[ - Path=\@fontdir, - UprightFont=*-Regular, - ItalicFont=*-It, - BoldFont=*-Bold, - BoldItalicFont=*-BoldIt -]{SourceSansPro} - +\newcommand*{\footerfont}{\sourcesanspro} +\newcommand*{\bodyfont}{\sourcesanspro} +\newcommand*{\bodyfontlight}{\sourcesansprolight} %------------------------------------------------------------------------------- % Configuration for styles diff --git a/fonts/SourceSansPro-Bold.otf b/fonts/SourceSansPro-Bold.otf deleted file mode 100644 index 98dbee7..0000000 Binary files a/fonts/SourceSansPro-Bold.otf and /dev/null differ diff --git a/fonts/SourceSansPro-BoldIt.otf b/fonts/SourceSansPro-BoldIt.otf deleted file mode 100644 index 6600c86..0000000 Binary files a/fonts/SourceSansPro-BoldIt.otf and /dev/null differ diff --git a/fonts/SourceSansPro-It.otf b/fonts/SourceSansPro-It.otf deleted file mode 100644 index 2d627d9..0000000 Binary files a/fonts/SourceSansPro-It.otf and /dev/null differ diff --git a/fonts/SourceSansPro-Light.otf b/fonts/SourceSansPro-Light.otf deleted file mode 100644 index 159979f..0000000 Binary files a/fonts/SourceSansPro-Light.otf and /dev/null differ diff --git a/fonts/SourceSansPro-LightIt.otf b/fonts/SourceSansPro-LightIt.otf deleted file mode 100644 index e3d49b5..0000000 Binary files a/fonts/SourceSansPro-LightIt.otf and /dev/null differ diff --git a/fonts/SourceSansPro-Regular.otf b/fonts/SourceSansPro-Regular.otf deleted file mode 100644 index bdcfb27..0000000 Binary files a/fonts/SourceSansPro-Regular.otf and /dev/null differ diff --git a/fonts/SourceSansPro-Semibold.otf b/fonts/SourceSansPro-Semibold.otf deleted file mode 100644 index fffdbaf..0000000 Binary files a/fonts/SourceSansPro-Semibold.otf and /dev/null differ diff --git a/fonts/SourceSansPro-SemiboldIt.otf b/fonts/SourceSansPro-SemiboldIt.otf deleted file mode 100644 index e90515b..0000000 Binary files a/fonts/SourceSansPro-SemiboldIt.otf and /dev/null differ