[R-SIG-Mac] Cairo: Fontconfig error: Cannot load default config file

Simon Urbanek simon.urbanek at r-project.org
Fri Apr 18 22:42:02 CEST 2014


On Apr 18, 2014, at 4:22 PM, Jeroen Ooms <jeroen.ooms at stat.ucla.edu> wrote:

> I am also experiencing a performance regression for svg and png after
> upgrading to R 3.1 on Linux. Could that be related to this problem, or
> was this problem specific to OSX?
> 

That was specific to the fontconfig binary linked into R for the binary distribution and the config files shipped with it - it had nothing to do with R itself and thus shouldn't really be relevant to other platforms.

Cheers,
Simon



> On Wed, Apr 16, 2014 at 7:50 AM, Simon Urbanek
> <simon.urbanek at r-project.org> wrote:
>> Thanks, this was an issue in the fontconfig used by 3.1.0, now fixed. You will need to upgrade R and possibly packages that use fontconfig.
>> 
>> Cheers,
>> Simon
>> 
>> 
>> On Apr 15, 2014, at 7:55 PM, Jeroen Ooms <jeroen.ooms at stat.ucla.edu> wrote:
>> 
>>> Running on R 3.1 on my Mavericks laptop:
>>> 
>>> options(bitmapType = "cairo");
>>> svg("cars.svg", width=11.69, height=8.27)
>>> plot(cars)
>>> dev.off()
>>> 
>>> Gives a message: Fontconfig error: Cannot load default config file.
>>> The text in the svg seems heavily pixelated. The same happens when
>>> using png().
>>> 
>>> IIRC, this did not happen on R 3.0, although I am now starting to
>>> doubt this. Is there anything on my machine that I try to
>>> update/reinstall to fix this?
>>> 
>>> _______________________________________________
>>> R-SIG-Mac mailing list
>>> R-SIG-Mac at r-project.org
>>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>>> 
>> 
> 



More information about the R-SIG-Mac mailing list