mirror of
https://github.com/posquit0/Awesome-CV.git
synced 2026-02-22 21:05:47 +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{
|
\defaultfontfeatures{
|
||||||
Renderer=HarfBuzz,
|
Renderer=HarfBuzz,
|
||||||
}
|
}
|
||||||
\setmainfont{SourceSans3}[
|
\setmainfont{Source Sans 3}[
|
||||||
FontFace={l}{n}{Font=*-Light},
|
UprightFont=*,
|
||||||
FontFace={l}{it}{Font=*-LightItalic},
|
ItalicFont=* Italic,
|
||||||
|
BoldFont=* Bold,
|
||||||
|
BoldItalicFont=* Bold Italic,
|
||||||
|
FontFace={l}{n}{Font=* Light},
|
||||||
|
FontFace={l}{it}{Font=* Light Italic},
|
||||||
]
|
]
|
||||||
\setsansfont{SourceSans3}[
|
\setsansfont{Source Sans 3}[
|
||||||
FontFace={l}{n}{Font=*-Light},
|
UprightFont=*,
|
||||||
FontFace={l}{it}{Font=*-LightItalic},
|
ItalicFont=* Italic,
|
||||||
|
BoldFont=* Bold,
|
||||||
|
BoldItalicFont=* Bold Italic,
|
||||||
|
FontFace={l}{n}{Font=* Light},
|
||||||
|
FontFace={l}{it}{Font=* Light Italic},
|
||||||
]
|
]
|
||||||
\newfontfamily\roboto{Roboto}[
|
\newfontfamily\roboto{Roboto}[
|
||||||
FontFace={l}{n}{Font=*-Light},
|
UprightFont=*,
|
||||||
FontFace={l}{it}{Font=*-LightItalic},
|
ItalicFont=* Italic,
|
||||||
|
BoldFont=* Bold,
|
||||||
|
BoldItalicFont=* Bold Italic,
|
||||||
|
FontFace={l}{n}{Font=* Light},
|
||||||
|
FontFace={l}{it}{Font=* Light Italic},
|
||||||
]
|
]
|
||||||
% Needed for the photo ID
|
% Needed for the photo ID
|
||||||
\RequirePackage[skins]{tcolorbox}
|
\RequirePackage[skins]{tcolorbox}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue