diff --git a/OpenFonts/deedy-resume-openfont.cls b/OpenFonts/deedy-resume-openfont.cls index 8a2941b6..435826d5 100644 --- a/OpenFonts/deedy-resume-openfont.cls +++ b/OpenFonts/deedy-resume-openfont.cls @@ -25,8 +25,8 @@ % Set main fonts \usepackage{fontspec} -\setmainfont[Color=primary, Path = fonts/lato/,BoldItalicFont=Lato-RegIta,BoldFont=Lato-Reg,ItalicFont=Lato-LigIta]{Lato-Lig} -\setsansfont[Scale=MatchLowercase,Mapping=tex-text, Path = fonts/raleway/]{Raleway-ExtraLight} +\setmainfont[Color=primary, ExternalLocation = fonts/lato/,BoldItalicFont=Lato-RegIta,BoldFont=Lato-Reg,ItalicFont=Lato-LigIta]{Lato-Lig.ttf} +\setsansfont[Scale=MatchLowercase,Mapping=tex-text, ExternalLocation = fonts/raleway/]{Raleway-ExtraLight.otf} % Date command \usepackage[absolute]{textpos} @@ -34,7 +34,7 @@ \setlength{\TPHorizModule}{1mm} \setlength{\TPVertModule}{1mm} \newcommand{\lastupdated}{\begin{textblock}{60}(155,5) -\color{date}\fontspec[Path = fonts/raleway/]{Raleway-ExtraLight}\fontsize{8pt}{10pt}\selectfont +\color{date}\fontspec[ExternalLocation = fonts/raleway/]{Raleway-ExtraLight.otf}\fontsize{8pt}{10pt}\selectfont Last Updated on \today \end{textblock}} @@ -42,12 +42,12 @@ Last Updated on \today \newcommand{\namesection}[3]{ \centering{ \fontsize{40pt}{60pt} -\fontspec[Path = fonts/lato/]{Lato-Hai}\selectfont #1 -\fontspec[Path = fonts/lato/]{Lato-Lig}\selectfont #2 +\fontspec[ExternalLocation = fonts/lato/]{Lato-Hai.ttf}\selectfont #1 +\fontspec[ExternalLocation = fonts/lato/]{Lato-Lig.ttf}\selectfont #2 } \\[5pt] \centering{ \color{headings} -\fontspec[Path = fonts/raleway/]{Raleway-Medium}\fontsize{11pt}{14pt}\selectfont #3} +\fontspec[ExternalLocation = fonts/raleway/]{Raleway-Medium.otf}\fontsize{11pt}{14pt}\selectfont #3} \noindent\makebox[\linewidth]{\color{headings}\rule{\paperwidth}{0.4pt}} \vspace{-5pt} } @@ -60,22 +60,22 @@ Last Updated on \today % Headings command \titleformat{\section}{\color{headings} -\scshape\fontspec[Path = fonts/lato/]{Lato-Lig}\fontsize{16pt}{24pt}\selectfont \raggedright\uppercase}{}{0em}{} +\scshape\fontspec[ExternalLocation = fonts/lato/]{Lato-Lig.ttf}\fontsize{16pt}{24pt}\selectfont \raggedright\uppercase}{}{0em}{} % Subeadings command \titleformat{\subsection}{ -\color{subheadings}\fontspec[Path = fonts/lato/]{Lato-Bol}\fontsize{12pt}{12pt}\selectfont\bfseries\uppercase}{}{0em}{} +\color{subheadings}\fontspec[ExternalLocation = fonts/lato/]{Lato-Bol.ttf}\fontsize{12pt}{12pt}\selectfont\bfseries\uppercase}{}{0em}{} \newcommand{\runsubsection}[1]{ -\color{subheadings}\fontspec[Path = fonts/lato/]{Lato-Bol}\fontsize{12pt}{12pt}\selectfont\bfseries\uppercase {#1} \normalfont} +\color{subheadings}\fontspec[ExternalLocation = fonts/lato/]{Lato-Bol.ttf}\fontsize{12pt}{12pt}\selectfont\bfseries\uppercase {#1} \normalfont} % Descriptors command \newcommand{\descript}[1]{ -\color{subheadings}\raggedright\scshape\fontspec[Path = fonts/raleway/]{Raleway-Medium}\fontsize{11pt}{13pt}\selectfont {#1 \\} \normalfont} +\color{subheadings}\raggedright\scshape\fontspec[ExternalLocation = fonts/raleway/]{Raleway-Medium.otf}\fontsize{11pt}{13pt}\selectfont {#1 \\} \normalfont} % Location command \newcommand{\location}[1]{ -\color{headings}\raggedright\fontspec[Path = fonts/raleway/]{Raleway-Medium}\fontsize{10pt}{12pt}\selectfont {#1\\} \normalfont} +\color{headings}\raggedright\fontspec[ExternalLocation = fonts/raleway/]{Raleway-Medium.otf}\fontsize{10pt}{12pt}\selectfont {#1\\} \normalfont} % Bullet Lists with fewer gaps command \newenvironment{tightemize}{ diff --git a/OpenFonts/deedy_resume-openfont.pdf b/OpenFonts/deedy_resume-openfont.pdf index b5d8d451..bca934ed 100644 Binary files a/OpenFonts/deedy_resume-openfont.pdf and b/OpenFonts/deedy_resume-openfont.pdf differ