[Rd] text() with large cex parameter crashes X11() (PR#553)
Tue, 23 May 2000 11:12:11 +0200 (CEST)
Well, I wasn't wrong. Here's R with DEBUG_X11 switched on
> points(1,1,pch="A", cex=10)
Program received signal SIGSEGV, Segmentation fault.
0x8126336 in SetFont (face=1, size=120, dd=0x8251168) at devX11.c:940
940 XSetFont(display, xd->wgc, xd->font->fid);
(gdb) p xd->font
$1 = (XFontStruct *) 0x0
RLoadFont ignores the fact that it has failed to load a font
and returns a null pointer.
If this works for you it is perhaps because you have the size 34 font
(the last resort) on your system.
R-devel gives the same result.
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: email@example.com