texlive-specs-a/xetex.post

11 lines
293 B
Plaintext

fconf=%{_texmfvardir}/fonts/conf/texlive-fontconfig.conf
(cat > $fconf)<<-'EOF'
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
EOF
for t in opentype truetype type1
do echo " <dir>%{_texmfdistdir}/fonts/$t</dir>"
done >> $fconf
echo '</fontconfig>' >> $fconf