From 61e6a8c6274217f7bc746df4d620830d6c06b58a Mon Sep 17 00:00:00 2001 From: Cheng XU Date: Thu, 16 Sep 2021 17:33:53 -0700 Subject: [PATCH] configure font for XeTeX and LuaTeX Closes #10. --- setup.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/setup.sh b/setup.sh index afca38d..6f8ec07 100755 --- a/setup.sh +++ b/setup.sh @@ -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 \