[R] PostScript/PDF graphics with another font

Peter sverre_johnsen at hotmail.com
Mon Sep 6 23:00:59 CEST 2010


I am using the standard phonetic font "Doulos SIL" in a graph
(http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=DoulosSILfont)

This is an example:

windowsFonts(IPA="TT Doulos SIL")
barplot(c(1,2,3,4,5),names=c("\u{0251}","\u{0252}","\u{0253}","\u{0254}","\u{0255}"),family="IPA")

However, I am unable to make an eps or pdf file from this graph. I get the
following error message when trying to save as .eps:

Error: family 'IPA' not included in PostScript device
In addition: Warning messages:
1: font family not found in PostScript font database
[...]

And this when I try to save as .pdf:

Error: Invalid font type
In addition: Warning messages:
1: font family not found in PostScript font database
[...]

I have tried various applications of the functions postscript(),
postscriptFonts(), pdf(), but I only get error messages when I try to tell
it to make use of the Doulos SIL font. I've searched for answers in Nabble
and google as well, but haven't found a solution (at least not one I
understand).

I'm using R 2.11 for Windows.

Thank you
-- 
View this message in context: http://r.789695.n4.nabble.com/PostScript-PDF-graphics-with-another-font-tp2528875p2528875.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list