X11 font at size 22 could not be loaded

Peter Kleiweg kleiweg@let.rug.nl
Tue, 1 Oct 2002 22:58:08 +0200 (CEST)

Peter Dalgaard BSA scribeva...

> Peter Kleiweg <kleiweg@let.rug.nl> writes:
> > I'm not sure this is a bug in R.
> >
> > Since a few weeks I have a new PC, SuSE 8.0 installed. When
> > running demo(graphics) I get after a few graphs:
> >
> >     Error in title(main = "January Pie Sales", cex.main = 1.8, font.main = 1) :
> >             X11 font at size 22 could not be loaded


> I've seen this on a SuSE install at our place too. The direct cause
> seems to be that the SuSE font server doesn't allow scaled versions of
> the standard Adobe fonts. However, the logic in the X11 driver should
> cause it to substitute a 20pt font in that case, but apparently it
> doesn't. A temporary workaround might be to add scaled versions of the
> PS fonts in /etc/X11/fs/config.

The weird thing is, in some cases, you do get another font size.
Sometimes I get a warning, not an error:

Warning message:
X11 used font size 8 when 6 was requested

Peter Kleiweg

r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch