[R-sig-Fedora] Pango/cairo and symbol fonts

Peter Dalgaard P.Dalgaard at biostat.ku.dk
Mon Jun 30 16:48:42 CEST 2008


Marc Schwartz wrote:
> on 06/30/2008 04:26 AM Roger Bivand wrote:
>> Excuse my asking here than on R-help, but it may be a Fedora
>> question. On Fedora 7, I'm running a fresh R 2.7.1 built from source,
>> usually in en_GB, but also tried in en_GB.UTF8. Running
>> example(plotmath) generates lots of:
>>
>> Pango-WARNING **: shape engine failure, expect ugly output. the
>> offending font is 'Symbol Not-Rotated ...'
>>
>> Setting:
>>
>> x11(type="Xlib")
>>
>> relieves the problem, but I'd like to use cairo if possible. I have
>> both urw-fonts and liberation-fonts installed. I'm pretty sure it is
>> my F7, not R, and would be grateful for any advice. It's the same
>> story with the png device.
>>
>> Roger
>
> Roger,
>
> Check capabilities() to be sure that 'cairo' shows as TRUE.
>
> If it shows FALSE, be sure to install the cairo and cairo-devel RPMs
> and re-build R so that cairo support is available. You may just need
> the 'cairo-devel' RPM if the 'cairo' RPM is already present.
>
> Also, as an aside, F7 went EOL on June 13.
>
> If that is not helpful, post back.
I suspect that is isn't helpful. If cairo is not there, you'd just get
Xlib and no warnings (and no features either).  So my suspicion is that
something needs to be upgraded beyond the F7 level, which could get a
little sticky.

-- 
   O__  ---- Peter Dalgaard             Øster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark      Ph:  (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)              FAX: (+45) 35327907



More information about the R-SIG-Fedora mailing list