I checked with my KDE 4.2 (Mandriva 2009 system, kde.org binaries)
with no font rendering issues in running demo(graphics).

It is quite possible that pango was not installed with Fedora (as it
is unnecessary for KDE 4.2 systems). Installing the relevant rpm may
fix things.

The packaging of the Fedora 2.8.1 rpm may need to take this into
account - if compiling, you'd have discovered at configure stage.

Paul Bivand

Paul Bivand

2009/4/1 Martyn Plummer <plum...@iarc.fr>:
> On Tue, 2009-03-31 at 18:36 -0700, dfermin wrote:
>> Nope. I checked this. Both those fonts are installed.
>
> Well it is some kind of font rendering problem. The default device is
> the Cairo X11 device, which uses the Pango layout engine for font
> rendering.
>
> If you set the environment variable FC_DEBUG to 1 before launching your
> R session, you will get some debugging information. It is very verbose,
> but we only need to see this bit:
>
> First font Pattern has 15 elts (size 15)
>        family: "Nimbus Sans L"(w)
>        style: "Regular"(w)
>        slant: 0(i)(w)
>        weight: 80(i)(w)
>        width: 100(i)(w)
>        foundry: "urw"(w)
>        file: "/usr/share/fonts/default/Type1/n019003l.pfb"(w)
>        index: 0(i)(w)
>        outline: FcTrue(w)
>        scalable: FcTrue(w)
>
>
>
>>
>> Martyn Plummer-2 wrote:
>> >
>> > Quoting dfermin <dfer...@umich.edu>:
>> >>
>> >> Hello.
>> >>
>> >> I've got a new workstation running Fedora 10 linux and I use the KDE 4.2
>> >> desktop which uses some kind of new desktop environment called 'plasma'.
>> >>
>> >> If I start up R and generate a plot (for example: hist(rnorm(10000,
>> >> mean=0,
>> >> sd=1), breaks=100) ). The plot appears but all text (the x/y axes, title,
>> >> etc..) is replaced by a square box. No font is rendered at all.
>> >>
>> >> Has anyone else got this problem? If so do you have a work around or a
>> >> solution?
>> >>
>> >> I'm using R version 2.8.1 installed from the Fedora 10 repositories if
>> >> that
>> >> helps.
>> >>
>> >> Thanks in advance.
>> >
>> > It sounds like you are missing some fonts. Check that the "urw-fonts" and
>> > "liberation-fonts" RPMs are installed.
>
>
> -----------------------------------------------------------------------
> This message and its attachments are strictly confidenti...{{dropped:8}}
>
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to