mirror of
https://github.com/posquit0/Awesome-CV.git
synced 2026-02-22 12:55:31 +08:00
Fix fonts not found error
This commit is contained in:
parent
669ac14d92
commit
852b04279f
6 changed files with 11 additions and 3 deletions
8
.github/workflows/main.yml
vendored
8
.github/workflows/main.yml
vendored
|
|
@ -13,6 +13,14 @@ jobs:
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Install fonts
|
||||||
|
run: |
|
||||||
|
apt update
|
||||||
|
apt install --yes \
|
||||||
|
fonts-roboto \
|
||||||
|
fonts-adobe-sourcesans3 \
|
||||||
|
;
|
||||||
|
|
||||||
- name: Compile
|
- name: Compile
|
||||||
run: make
|
run: make
|
||||||
|
|
||||||
|
|
|
||||||
2
Makefile
2
Makefile
|
|
@ -1,6 +1,6 @@
|
||||||
.PHONY: examples
|
.PHONY: examples
|
||||||
|
|
||||||
CC = xelatex
|
CC = lualatex
|
||||||
EXAMPLES_DIR = examples
|
EXAMPLES_DIR = examples
|
||||||
RESUME_DIR = examples/resume
|
RESUME_DIR = examples/resume
|
||||||
CV_DIR = examples/cv
|
CV_DIR = examples/cv
|
||||||
|
|
|
||||||
|
|
@ -80,11 +80,11 @@
|
||||||
\defaultfontfeatures{
|
\defaultfontfeatures{
|
||||||
Renderer=HarfBuzz,
|
Renderer=HarfBuzz,
|
||||||
}
|
}
|
||||||
\setmainfont{SourceSansPro}[
|
\setmainfont{SourceSans3}[
|
||||||
FontFace={l}{n}{Font=*-Light},
|
FontFace={l}{n}{Font=*-Light},
|
||||||
FontFace={l}{it}{Font=*-LightItalic},
|
FontFace={l}{it}{Font=*-LightItalic},
|
||||||
]
|
]
|
||||||
\setsansfont{SourceSansPro}[
|
\setsansfont{SourceSans3}[
|
||||||
FontFace={l}{n}{Font=*-Light},
|
FontFace={l}{n}{Font=*-Light},
|
||||||
FontFace={l}{it}{Font=*-LightItalic},
|
FontFace={l}{it}{Font=*-LightItalic},
|
||||||
]
|
]
|
||||||
|
|
|
||||||
Binary file not shown.
BIN
examples/cv.pdf
BIN
examples/cv.pdf
Binary file not shown.
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue