[tex-live] Fontconfig for XeTeX versus regular fontconfig

Dr. Werner Fink werner at suse.de
Tue Oct 25 15:49:14 CEST 2011


On Tue, Oct 25, 2011 at 01:56:44PM +0200, Werner Fink wrote:
> Hi,
> 
> with several bug reports here I've the final problem that the
> fontconfig setup used for XeTeX does not work well with all
> other fontconfig.
> 
> With fontconfig setup for XeTeX, e.g. by using a
> 
>   /etc/fonts/conf.d/09-texlive.conf
> 
> there are reports of e.g.:
> 
>   ** ERROR ** Invalid glyph index (gid 2447)
> 
> and also reports of a slowdown of e.g. programs like Inkscape.
> 
> On the other hand users of XeTeX seems to rely on an
> enabled fontconfig for XeTeX.
> 
> Is there a solution or a simple way to disentangle the usage
> of fontconfig for both the non-XeTeX and the XeTeX users on
> the *same* system.
> 
> E.g. it would help a lot if Xe(La)TeX and xdvipdfmx would
> use the path mentioned in texmf.cnf (FC_CACHEDIR, FONTCONFIG_FILE,
> and FONTCONFIG_FILE) instead of /etc/fonts/conf.d/09-texlive.conf

Is there any way that kpathsea does *not* ignore FONTCONFIG_FILE,
FONTCONFIG_PATH, and FC_CACHEDIR?  With this it could be an option
to use a differenet fontconfig setup for Xe(La)TeX/xdvipdfmx
in comparision to the normal setup.

    Werner

-- 
  "Having a smoking section in a restaurant is like having
          a peeing section in a swimming pool." -- Edward Burr


More information about the tex-live mailing list