Skip to content

Commit

Permalink
test: change extra_fonts test to use Doulos SIL
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 committed Aug 25, 2023
1 parent 798d736 commit 964adee
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-extra-fonts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ jobs:
- 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: Check pdf files
run: |
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 964adee

Please sign in to comment.