summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/stex/bin/installFonts.sh
blob: a9a6b1bb30396f5a97adaa39e803a75f96c96aeb (plain)
1
2
3
4
5
6
7
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