I view plots on my screen with X11(width=.455*11, height=.455*8.5), which creates a small window with the American standard aspect ratio. Under R-2.0.1 and earlier, the default fonts were a reasonable size, but under R-2.1.0 they are too big and fat. I now have to either set pointsize=10 in X11(), or par(cex=.7) afterwards. The NEWS file has this to say about X11 fonts: The changes to font handling in the X11 module are based on the Japanization patches of Eiji Nakama. I'm not sure if that's relevant to the change I'm seeing. Has anyone else noticed a difference in the X11 fonts? (I assume this is different from Xiang-Jun Lu's problem, since I do not get any error messages that fonts "could not be loaded".) -- David Brahm (brahm at alum.mit.edu)
On Thu, 19 May 2005, Brahm, David wrote:> I view plots on my screen with X11(width=.455*11, height=.455*8.5), > which creates a small window with the American standard aspect ratio. > Under R-2.0.1 and earlier, the default fonts were a reasonable size, > but under R-2.1.0 they are too big and fat. I now have to either set > pointsize=10 in X11(), or par(cex=.7) afterwards.So you should. We have corrected a bug: you now get the size you ask for and 12pt on such a small window will be too large. DId you think to actually measure the sizes? Might be interesting (although you may need to measure the window too).> The NEWS file has this to say about X11 fonts: > The changes to font handling in the X11 module are based on the > Japanization patches of Eiji Nakama.The change is more likely to be o X11() was only scaling its fonts to pointsize if the dpi was within 0.5 of 100dpi. in the BUGS list. I happen to have 99.4 and 120 dpi screens, and I assure you the previous default of 75dpi fonts was way too small for the default 7" window. -- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595
Thanks very much to Prof Brian Ripley <ripley at stats.ox.ac.uk> for the quick and illuminating reply:> We have corrected a bug: you now get the size you ask for... > DId you think to actually measure the sizes? Might be interesting > (although you may need to measure the window too).Sticking a ruler up to my screen, I measure the "12pt" font at 13.5 pt (where 1 pt = 1/72 inch), and the "10pt" at 9.5 pt. My window as a whole is about 1.2x as large as I asked for, though. So the "10pt" font is a little small, but the sizes are roughly right (in R-2.1.0). -- David Brahm (brahm at alum.mit.edu)