[R] CairoPDF, Fonts, and Windows 7
Liviu Andronic
landronimirc at gmail.com
Sat Apr 16 23:36:08 CEST 2011
On Sat, Apr 16, 2011 at 6:39 PM, Al Roark <hrbuilder at hotmail.com> wrote:
>
> Hi All:
> I have some basic questions about Cairo graphics engine. I'm trying to use the Cairo package to produce PDF output, mainly because I perceive it to be easy to use with a wide variety of fonts.
>
You may also want to try cairo_pdf() that, I think, supports Windows
since 2.13.0.
> But right now, I'm stuck trying to figure out what fonts are available to be used with Cairo, specifically the CairoPDF function. I've been able to successfully produce some test PDFs with grid graphics and CairoPDF (and the font "Georgia"), so my basic setup is working.
> I've tried to experiment with the CairoFonts() function but get the message:
> "the R Cairo package was not installed with fontconfig. Please consider installing the cairo graphics engine (www.cairographics.org) with freetype and fontconfig support"
> I'm not quite sure how to interpret this. My version of Cairo comes from the GTK+ 2.22 bundle from the GTK+ Project website.
>
It is possible that you need to install fontconfig separately. On
Linux it is a separate package, but I know that it is widely used in
LaTeX, so it might be possible that you need to have a LaTeX
distribution installed, such as miktex. Or install LyX (complete);
this should also take care of fontconfig. But these are mere guesses.
Regards
Liviu
> I'm running R 2.12.2 on Windows 7.
> Any feedback or direction toward informative resources is much appreciated.
> Cheers,Al
> [[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.
>
--
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
More information about the R-help
mailing list