Skip to content

Commit

Permalink
configure font for XeTeX and LuaTeX
Browse files Browse the repository at this point in the history
Closes #10.
  • Loading branch information
xu-cheng committed Sep 17, 2021
1 parent 294a0a2 commit 61e6a8c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,11 @@ if [ "$scheme" != "full" ]; then
texliveonfly
fi

# System font configuration for XeTeX and LuaTeX
# Ref: https://www.tug.org/texlive/doc/texlive-en/texlive-en.html#x1-330003.4.4
ln -s /opt/texlive/texdir/texmf-var/fonts/conf/texlive-fontconfig.conf /etc/fonts/conf.d/09-texlive.conf
fc-cache -fv

echo "==> Clean up"
rm -rf \
/opt/texlive/texdir/install-tl \
Expand Down

0 comments on commit 61e6a8c

Please sign in to comment.