[R] Fedora 10 KDE plasma font rendering issue

2009-03-31 Thread dfermin

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(1, 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. 

-- 
View this message in context: 
http://www.nabble.com/Fedora-10-KDE-plasma-font-rendering-issue-tp22810122p22810122.html
Sent from the R help mailing list archive at Nabble.com.

__
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.


Re: [R] Fedora 10 KDE plasma font rendering issue

2009-03-31 Thread plummer
Quoting dfermin :
>
> 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(1, 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.


Re: [R] Fedora 10 KDE plasma font rendering issue

2009-03-31 Thread dfermin

Nope. I checked this. Both those fonts are installed.



Martyn Plummer-2 wrote:
> 
> Quoting dfermin :
>>
>> 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(1,
>> 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.
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Fedora-10-KDE-plasma-font-rendering-issue-tp22810122p22818249.html
Sent from the R help mailing list archive at Nabble.com.

__
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.


Re: [R] Fedora 10 KDE plasma font rendering issue

2009-04-01 Thread José Matos
On Tuesday 31 March 2009 21:02:23 dfermin wrote:
> 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(1, 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?

What graphics card do you have?

I saw recently reports about this happening on grace when using intel graphic 
cards. I am starting to suspect that this could be the same problem.

> I'm using R version 2.8.1 installed from the Fedora 10 repositories if that
> helps.
>
> Thanks in advance.

-- 
José Abílio

__
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.


Re: [R] Fedora 10 KDE plasma font rendering issue

2009-04-01 Thread Martyn Plummer
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 :
> >>
> >> 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(1,
> >> 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.


Re: [R] Fedora 10 KDE plasma font rendering issue

2009-04-12 Thread Paul Bivand
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 :
> 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 :
>> >>
>> >> 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(1,
>> >> 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.


Re: [R] Fedora 10 KDE plasma font rendering issue

2009-04-14 Thread Martyn Plummer
On Sun, 2009-04-12 at 13:19 +0100, Paul Bivand wrote:
> 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 pango RPM should have been installed with R, as R requires the pango
and pangocairo libraries that it provides:

[mar...@seurat ~]$ rpm -q --requires R-core | grep pango -
libpango-1.0.so.0()(64bit)  
libpangocairo-1.0.so.0()(64bit)  

> 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 :
> > 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 :
> >> >>
> >> >> 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(1,
> >> >> 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.

---
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.


Re: [R] Fedora 10 KDE plasma font rendering issue

2009-04-15 Thread Stefan Grosse
On Tue, 31 Mar 2009 13:02:23 -0700 (PDT) dfermin 
wrote:

D> Has anyone else got this problem? If so do you have a work around or
D> a solution?
D> 
D> I'm using R version 2.8.1 installed from the Fedora 10 repositories
D> if that helps.

I have Fedora 10 and R 2.8.1 as well and have no problems. On KDE I see
the text in the histogram plot. 

R has been updated quite some times recently. Have you ensured you have
the latest package installed via yum?

Stefan

__
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.