Skip to content

Commit

Permalink
fix: use Doulos SIL to test extra_fonts function
Browse files Browse the repository at this point in the history
Because `NotoSans-Regular` is a built-in font in recent texlive versions,
so we change to an external font `Doulos SIL` to test the `extra_fonts`
  • Loading branch information
zydou authored and xu-cheng committed Aug 25, 2023
1 parent a9c06ad commit 6c9efba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,14 +83,14 @@ jobs:
latexmk_use_lualatex: true
- name: Download extra fonts
run: |
curl -OL https://github.com/google/fonts/raw/main/ofl/notosans/NotoSans-Regular.ttf
curl -OL https://github.com/silnrsi/font-doulos/raw/78bd59af3dd78e8276918471d8a228348bf741e8/references/v6200/DoulosSIL-Regular.ttf
- name: Compile LaTeX document with extra_fonts
uses: ./
with:
root_file: extra_fonts.tex
working_directory: test/
latexmk_use_xelatex: true
extra_fonts: "./../NotoSans-Regular.ttf"
extra_fonts: "./../DoulosSIL-Regular.ttf"
- name: Compile LaTeX document with arara and graphviz
uses: ./
with:
Expand Down
2 changes: 1 addition & 1 deletion test/extra_fonts.tex
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
\documentclass{article}
\usepackage{fontspec}
\setmainfont{NotoSans-Regular}
\setmainfont{Doulos SIL}
\begin{document}
Hello world!
\end{document}

0 comments on commit 6c9efba

Please sign in to comment.