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

2014-04-18 Thread Simon Urbanek
On Apr 18, 2014, at 4:22 PM, Jeroen Ooms  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
>  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  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@r-project.org
>>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>>> 
>> 
> 

___
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


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

2014-04-18 Thread Jeroen Ooms
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?






On Wed, Apr 16, 2014 at 7:50 AM, Simon Urbanek
 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  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@r-project.org
>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>>
>

___
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


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

2014-04-17 Thread Yue Li
Fixed! Thanks a lot!

On Apr 17, 2014, at 10:13 PM, Simon Urbanek  wrote:

> 
> On Apr 17, 2014, at 9:56 PM, Yue Li  wrote:
> 
>> Dear Simon,
>> 
>> I saw your post on this thread. I'm experiencing exactly the same issue 
>> right now and don't know how it is "now fixed". Could you please enlighten 
>> me on that?
>> 
> 
> Download and install the latest R 3.1.0 Patched from 
> 
> http://r.research.att.com/
> 
> Cheers,
> Simon
> 
> 

___
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


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

2014-04-17 Thread Simon Urbanek

On Apr 17, 2014, at 9:56 PM, Yue Li  wrote:

> Dear Simon,
> 
> I saw your post on this thread. I'm experiencing exactly the same issue right 
> now and don't know how it is "now fixed". Could you please enlighten me on 
> that?
> 

Download and install the latest R 3.1.0 Patched from 

http://r.research.att.com/

Cheers,
Simon

___
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


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

2014-04-17 Thread Yue Li
Dear Simon,

I saw your post on this thread. I'm experiencing exactly the same issue right 
now and don't know how it is "now fixed". Could you please enlighten me on that?

Thanks much,
Yue
___
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


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

2014-04-16 Thread Simon Urbanek
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  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@r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
> 

___
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


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

2014-04-15 Thread Murray Stokely
Can you try setting FC_DEBUG environment variable to see what fonts.conf
file it is loading, what fonts it tries to read, etc?  The fontconfig
library will print useful output to stderr when the right env bars are set.

Murray (mobile)
On Apr 15, 2014 7:57 PM, "Jeroen Ooms"  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@r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>

[[alternative HTML version deleted]]

___
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


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

2014-04-15 Thread Jeroen Ooms
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@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac