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
>
> And the demo stops.
>
> This is in R 1.6.0. I get the same in R 1.5.1 on HP-UX, but
> using my PC as the X-server.
>
> So, it could be there is something wrong with the set-up of my
> machine. SuSE 8.0 is pretty much up-to-date, but I can't
> guarantee I didn't something stupid during installation. I will
> try to find out what could be wrong with my fonts.
>
> However, so far I haven't noticed any font problems with other
> programs. If R can't load the font it wants, shouldn't it
> continue with the next best thing, instead of stopping with an
> error message?
Hmm, yes...
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.
--
O__ ---- Peter Dalgaard Blegdamsvej 3
c/ /'_ --- Dept. of Biostatistics 2200 Cph. N
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk) FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._