From 94ec53bd37e1f36540195f3aadee0aa1be7830ee Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 26 Sep 2011 00:01:09 +0000 Subject: a bit more doc about fontconfig git-svn-id: svn://tug.org/texlive/trunk@24091 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/tlpostcode/xetex.pl | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) (limited to 'Master/tlpkg') diff --git a/Master/tlpkg/tlpostcode/xetex.pl b/Master/tlpkg/tlpostcode/xetex.pl index f37fc491dfd..ad94e9ac506 100644 --- a/Master/tlpkg/tlpostcode/xetex.pl +++ b/Master/tlpkg/tlpostcode/xetex.pl @@ -1,15 +1,12 @@ # $Id$ -# post action for xetex -# Copyright 2008, 2009 Norbert Preining +# post action for xetex to handle system font stuff. +# Copyright 2008, 2009, 2011 Norbert Preining # This file is licensed under the GNU General Public License version 2 # or any later version. - -# TODO TODO TODO -# only on install (also on update???) we should copy all the fontconf files -# from tlpkg/installer/fontconfig (?? final position ??) to TEXMFSYSVAR for -# win32, and unix create a fonts.conf file and tell users to install it -# either as .fonts.conf or drop it into /etc/fonts/conf.d/texlive.conf or so - +# +# We create the fontconfig configuration file. On Windows, +# we also run fc-cache to make the fonts available. +# http://www.tug.org/texlive/doc/texlive-en/texlive-en.html#xetexfontconfig my $texdir; my $mode; @@ -93,11 +90,11 @@ sub do_install { warn("Cannot open $fconf/texlive-fontconfig.conf for writing\n"); } else { print FONTSCONF ' - - - '; + + +'; for my $t (qw/opentype truetype type1/) { - print FONTSCONF "$texdir/texmf-dist/fonts/$t\n"; + print FONTSCONF " $texdir/texmf-dist/fonts/$t\n"; } print FONTSCONF "\n"; close(FONTSCONF) || tlwarn("Cannot close filehandle for texmfsysvar/fonts/conf/texlive-fontconfig.conf\n"); -- cgit v1.2.3