Improve text layer as parsed by ATSs

This commit is contained in:
Oliver Ford 2025-12-29 00:40:11 +00:00
parent 0cd0625f2a
commit 6ce4862222
No known key found for this signature in database
GPG key ID: 15CCFACF010F70D2

View file

@ -76,8 +76,21 @@
\RequirePackage{unicode-math}
% Needed to use icons from font-awesome
\RequirePackage{fontawesome6}
\RequirePackage{roboto}
\RequirePackage[default,opentype]{sourcesanspro}
\defaultfontfeatures{
Renderer=HarfBuzz,
}
\setmainfont{SourceSansPro}[
FontFace={l}{n}{Font=*-Light},
FontFace={l}{it}{Font=*-LightItalic},
]
\setsansfont{SourceSansPro}[
FontFace={l}{n}{Font=*-Light},
FontFace={l}{it}{Font=*-LightItalic},
]
\newfontfamily\roboto{Roboto}[
FontFace={l}{n}{Font=*-Light},
FontFace={l}{it}{Font=*-LightItalic},
]
% Needed for the photo ID
\RequirePackage[skins]{tcolorbox}
% Needed to deal a paragraphs
@ -163,11 +176,11 @@
%-------------------------------------------------------------------------------
% Configuration for fonts
%-------------------------------------------------------------------------------
\newcommand*{\headerfont}{\roboto}
\newcommand*{\headerfontlight}{\robotolight}
\newcommand*{\footerfont}{\sourcesanspro}
\newcommand*{\bodyfont}{\sourcesanspro}
\newcommand*{\bodyfontlight}{\sourcesansprolight}
\newcommand*{\headerfont}{\roboto\selectfont}
\newcommand*{\headerfontlight}{\roboto\fontseries{l}\selectfont}
\newcommand*{\footerfont}{\sffamily}
\newcommand*{\bodyfont}{\sffamily}
\newcommand*{\bodyfontlight}{\sffamily\fontseries{l}\selectfont}
%-------------------------------------------------------------------------------
% Configuration for styles