[R] Fonts and Line widths

Prof Brian D Ripley ripley at stats.ox.ac.uk
Mon Jul 17 08:38:04 CEST 2000

On Mon, 17 Jul 2000, Redding, Matthew wrote:

> 	Hi All R guru's, 
> 	A couple of simple questions which I cannot find answers to in "an
> introduction to R" or in the reference manuals.

[..., using Win95]

> 	Second problem, I find that the text quality when I export to a PNG
> file is pretty bad...not good enough for publication.
> 	I thought that I might be able to get HErshey fonts to improve
> this...but can't get them to work.  

This is a standard problem with bitmapped graphics like PNG.  Hershey
fonts won't improve it and will probably make it worse, as at least the
standard TrueType fonts are designed to be rasterized, unlike vector
Hershey fonts.

Text quality will be particularly bad unless the PNG plot is printed at 
a small exact multiple of the design size (in pixels).

Don't think in terms of PNG for publication (except Web publication). Use
PostScript or (on Windows only) Windows MetaFiles as these are vector/font
description formats. You can create or export to Windows metafiles
directly, or via the clipboard.


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 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

r-help 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-help-request at stat.math.ethz.ch

More information about the R-help mailing list