Skip to content

text() with large cex parameter crashes X11() (PR#553)

2 messages · Brian Ripley, Martyn Plummer

#
<ligges@statistik.uni-dortmund.de>, Martin Maechler 
<maechler@stat.math.ethz.ch>, Prof Brian Ripley <ripley@stats.ox.ac.uk>
I think it is SetFont that ignores the null pointer.
I at least have Helvetica in type 1 and so do have 120pt Helevetica
(and have used such a system all the time I have been using X11).
What should we do in this circumstance?  Drop back to fixed?  Try a
smaller size?   What sizes do you have?   A quick look around on an R6.0
system suggests that it has 8,10,12,14,18,24, which is what Solaris
has as bitmaps too.  And at this point basefontsize must have succeeded.
So should we:

try 34 then 24 then basefontsize.

Should we issue a warning if the displayed fontsize differs by more than
10%, say, from that requested?
#
On 23-May-00 Prof Brian Ripley wrote:
Yes.
Apparently I had an error in the configuration file for the font server
(due to the fact that RPM kept the old configuration file when I upgraded)
As a result, all my 75dpi fonts were considered non-scaleable by the
font server. I have now fixed this and everything works.
This seems like a good plan.  If failure to load a large font is indicative
of a problem with the X setup then it would be a good idea to issue a warning.

Sorry to trouble everyone over what is basically a problem with my setup.

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