mirror of
https://github.com/posquit0/Awesome-CV.git
synced 2026-02-22 12:55:31 +08:00
Fix font not found error when MacTeX used (#608)
This commit is contained in:
parent
5e0b6e90be
commit
f05fc689d0
1 changed files with 20 additions and 8 deletions
|
|
@ -81,17 +81,29 @@
|
|||
\defaultfontfeatures{
|
||||
Renderer=HarfBuzz,
|
||||
}
|
||||
\setmainfont{SourceSans3}[
|
||||
FontFace={l}{n}{Font=*-Light},
|
||||
FontFace={l}{it}{Font=*-LightItalic},
|
||||
\setmainfont{Source Sans 3}[
|
||||
UprightFont=*,
|
||||
ItalicFont=* Italic,
|
||||
BoldFont=* Bold,
|
||||
BoldItalicFont=* Bold Italic,
|
||||
FontFace={l}{n}{Font=* Light},
|
||||
FontFace={l}{it}{Font=* Light Italic},
|
||||
]
|
||||
\setsansfont{SourceSans3}[
|
||||
FontFace={l}{n}{Font=*-Light},
|
||||
FontFace={l}{it}{Font=*-LightItalic},
|
||||
\setsansfont{Source Sans 3}[
|
||||
UprightFont=*,
|
||||
ItalicFont=* Italic,
|
||||
BoldFont=* Bold,
|
||||
BoldItalicFont=* Bold Italic,
|
||||
FontFace={l}{n}{Font=* Light},
|
||||
FontFace={l}{it}{Font=* Light Italic},
|
||||
]
|
||||
\newfontfamily\roboto{Roboto}[
|
||||
FontFace={l}{n}{Font=*-Light},
|
||||
FontFace={l}{it}{Font=*-LightItalic},
|
||||
UprightFont=*,
|
||||
ItalicFont=* Italic,
|
||||
BoldFont=* Bold,
|
||||
BoldItalicFont=* Bold Italic,
|
||||
FontFace={l}{n}{Font=* Light},
|
||||
FontFace={l}{it}{Font=* Light Italic},
|
||||
]
|
||||
% Needed for the photo ID
|
||||
\RequirePackage[skins]{tcolorbox}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue