[XeTeX] XeTeX page on tug.org

Norbert Preining preining at logic.at
Fri Jun 19 16:27:46 CEST 2009


Interestingly, my original suggestion to drop
	<?xml version="1.0"?>
	<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
	<fontconfig>
	  <dir>/usr/local/texlive/2009/texmf-dist/fonts/opentype</dir>
	  <dir>/usr/local/texlive/2009/texmf-dist/fonts/truetype</dir>
	  <dir>/usr/local/texlive/2009/texmf-dist/fonts/type1</dir>
	</fontconfig>
into
	/etc/fonts/conf.d/09-texlive.conf
and calling
	fc-cache -fsv
did work, too, and would be much simpler.


Can some other try my above suggestion and tell me if the call to fc-cache -fsv
listed the newly added directories? Thanks


On Wed, 17 Jun 2009, Ken Brown wrote:
> -----------------------------
> 
> To set up the texlive fonts for system-wide use (assuming you have
> suitable privileges):
> 
> 1. Create a file /etc/fonts/texlive.conf with contents something
> like the following (suitably adapted to the texlive installation
> directory):
> 
> <?xml version="1.0"?>
> <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
>  <fontconfig>
>    <dir>/usr/local/texlive/2009/texmf-dist/fonts/opentype</dir>
>    <dir>/usr/local/texlive/2009/texmf-dist/fonts/truetype</dir>
>    <dir>/usr/local/texlive/2009/texmf-dist/fonts/type1</dir>
> </fontconfig>
> 
> 2. Create a file /etc/fonts/conf.avail/55-texlive.conf with the
> following contents:
> 
> <?xml version="1.0"?>
> <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
> <fontconfig>
>         <!-- Load texlive customization file -->
>         <include ignore_missing="yes">texlive.conf</include>
> </fontconfig>
> 
> 3. Create a symlink to the latter in /etc/fonts/conf.d:
> 
> $ cd /etc/fonts/conf.d
> $ ln -s ../conf.avail/55-texlive.conf .
> 
> 4. Run 'fc-cache -s' (or 'fc-cache -sv' if you want to see what's
> happening).
> 
> Xetex should now be able to find the texlive fonts.
> 
> If you do not have sufficient privileges to carry out the steps
> above, you can instead do the following to make the texlive fonts
> available to you as an individual xetex user:
> 
> a. Create a file .fonts.conf in your home directory, with contents
> like those in step 1.
> 
> b. Run 'fc-cache' (or 'fc-cache -v').  This step is optional; if you
> don't do it, xetex will do it for you the first time you run it.
> 

Best wishes

Norbert

-------------------------------------------------------------------------------
Dr. Norbert Preining <preining at logic.at>        Vienna University of Technology
Debian Developer <preining at debian.org>                         Debian TeX Group
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
PLYMOUTH (vb.)
To relate an amusing story to someone without remembering that it was
they who told it to you in the first place.
			--- Douglas Adams, The Meaning of Liff


More information about the XeTeX mailing list