Since fontconfig-2.11 the xml:space attribute makes it reject
/etc/fonts/fonts.conf, so it renders garbage and eats lots of CPU.
To use anything linked to fontconfig-2.11 you need to have this patch
applied to your running NixOS. That's why I'm pushing it to master
before the fontconfig update (as soon as I found and tested the fix).
Otherwise the user won't be able to override anything specified in
NixOS' /etc/fonts/conf.d, since ~/.config/fontconfig is included from
upstream fonts/conf.5/50-user.conf.
support.
* New function makeFontsConf to generate a fontconfig configuration
file. Moved from NixOS.
* dot2pdf: use makeFontsConf to generate a fonts.conf containing just
the Ghostscript fonts (see NIXPKGS-29).
* dot2pdf: generate PDF directly, don't go through PS. Note that this
and using fontconfig changes the interpretation of "fontname"
attributes in dot graphs.
svn path=/nixpkgs/trunk/; revision=12251