diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/stex/bin/installFonts.sh')
-rwxr-xr-x | Master/texmf-dist/source/latex/stex/bin/installFonts.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/stex/bin/installFonts.sh b/Master/texmf-dist/source/latex/stex/bin/installFonts.sh new file mode 100755 index 00000000000..a9a6b1bb303 --- /dev/null +++ b/Master/texmf-dist/source/latex/stex/bin/installFonts.sh @@ -0,0 +1,8 @@ +#!/bin/bash +# execute as root (via sudo) +fontdir="$(dirname $0)/../lib/fonts" +mkdir -p /usr/share/fonts/opentype/Fandol +mkdir -p /usr/share/fonts/truetype/cwTeX +cp "${fontdir}/FandolFang-Regular.otf" /usr/share/fonts/opentype/Fandol/ +cp "${fontdir}/cwTeXQKai-Medium.ttf" /usr/share/fonts/truetype/cwTeX/ +exec fc-cache |