[R] How to specify the type and size of font in bitmap format output?
Prof Brian Ripley
ripley at stats.ox.ac.uk
Mon Aug 11 09:12:29 CEST 2008
On Mon, 11 Aug 2008, Hyunchul Kim wrote:
> Hi, all
>
> I need to specify a font (for example, type=helvetica and size=10) in bitmap
> output (for example, dev.print(bitmap, 'test.png').
> How can I do this?
You would do better to use dev2bitmap(). In any case, please read the
help for bitmap:
pointsize: The pointsize to be used for text: defaults to something
reasonable given the width and height
...: Other parameters passed to 'postscript' or 'pdf'.
and you select a font via 'family' for all R graphics devices.
>
> Thanks.
>
> Hyunchul
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
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
More information about the R-help
mailing list