[tex-live] [XeTeX] Three questions on XeTeX, TeXLive 2008, and Ubuntu

Manuel Pégourié-Gonnard mpg at elzevir.fr
Tue May 12 19:06:31 CEST 2009


Pander a écrit :
> On Mon, Apr 06, 2009 at 11:12:20PM +0200, Pander wrote:
>>> However, the lmodern files in TexLive2008 are not picked up by Inkscape,
>>> Scribus, OpenOffice, etc.
> 
> You can edit your fontconfig configuration to pick those fonts. e.g.:
> 
> $ cat ~/.fonts.conf
> <?xml version='1.0'?>
> <!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
>   <fontconfig>
>     <dir>/whereever/are/lmodern/fonts</dir>
> </fontconfig>
> 
Thanks for the tip. Currently I was using symlinks into ~/.fonts, but I think
this method is cleaner.

By the way, you don't need to restrict to lmodern, you can include eg all of

/usr/local/texlive/2008/texmf-dist/fonts/opentype
/usr/local/texlive/2008/texmf-dist/fonts/truetype
/usr/local/texlive/2008/texmf-dist/fonts/type1

(and so on for texmf-local if necessary) in order to make all your TeX fonts
visible to fontconfig.

Manuel.


More information about the tex-live mailing list