ugly default font in plots (x.org configuration problem?)

Bug #35059 reported by Manuel López-Ibáñez
12
Affects Status Importance Assigned to Milestone
r-base (Ubuntu)
Invalid
Low
Unassigned

Bug Description

The default font in the plots of R is badly rendered or scaled. A partial workaround is to specify a family of fonts, however, the rendering is still not as good as it should be.

I think this is a problem with the default configuration of X.org since other applications show also ugly fonts.

Revision history for this message
Manuel López-Ibáñez (manuellopezibanez) wrote : default font: y-axis text is unreadable.

manu@~ $ R
[snip]
> a <- runif(100)
> b <- rnorm(100)
> boxplot(a,b)

Revision history for this message
Manuel López-Ibáñez (manuellopezibanez) wrote : same plot using mono family

Much better although the "3" in the y-axis is still badly rendered.

Obtained with:
> par(family="mono")
> boxplot(a,b)

Revision history for this message
Manuel López-Ibáñez (manuellopezibanez) wrote :

Perhaps related with bug 25584 ?

Revision history for this message
Manuel López-Ibáñez (manuellopezibanez) wrote : the font of xfontsel looks strange

I noticed that the font used by xfontsel is strange. Any ideas? Some relation? Different bug?

Revision history for this message
Manuel López-Ibáñez (manuellopezibanez) wrote :

Installing xfs (X font server) fixed the font issues for R. However, the font of xfontsel is still weird.

Revision history for this message
Barry deFreese (bddebian) wrote :

This works fine for me on an up-to-date Dapper install. Can you please confirm this? Thank you.

Changed in r-base:
status: Unconfirmed → Needs Info
Revision history for this message
Marcus Dapp (digisus) wrote : Works for me (Breezy)

Tried the 3 R commands in the initial post and attached the boxplot. Looks fine with me (on Breezy, no specific font configurations set).

Revision history for this message
Manuel López-Ibáñez (manuellopezibanez) wrote :

Hi Marcus, do you have xfs installed?

Anyway, it must be some configuration problem or conflict between packages that only shows up if a particular combination of packages are installed. I had many problems with the fonts in xmms, R, xfontsel and other programs. xfontsel still looks weird...

I would report again after upgrading to Dapper.

Revision history for this message
Manuel López-Ibáñez (manuellopezibanez) wrote :

Lowering Severity and Priority since it seems that not many people are experimenting this problem. I will close the bug if I cannot reproduce it in Dapper (and nobody else reports it either).

Revision history for this message
Manuel López-Ibáñez (manuellopezibanez) wrote :

Works in Dapper. I am going to close the bug report now. Since nobody else experimented the issue, I guess it was some problem with my fonts configuration, so closing as rejected.

Changed in r-base:
status: Needs Info → Rejected
Revision history for this message
Manuel López-Ibáñez (manuellopezibanez) wrote :

This happens again in Edgy. :(

Changed in r-base:
status: Invalid → New
Revision history for this message
Manuel López-Ibáñez (manuellopezibanez) wrote :

It still happens in Feisty. :(

Revision history for this message
ubuntu-man (zap-halden) wrote :

I also have this problem in R (using Gutsy). The strange thing however is that par(family="symbol") produces some good-looking plots without rendering problems.

Revision history for this message
Bryan Quigley (bryanquigley) wrote :

Works fine for me in 9.10, please reopen if it is still an issue for you. Thanks!

Changed in r-base (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.