Skip to content
Prev 5576 / 15076 Next

Possible mac-specific bug in svg (cairo) graphics

I think you got the corresponding response to your post before -  
cairographics cannot locate an italic version of the font - switching  
to a font which has the desired traits will produce the desired  
output, e.g.:

svg("test.svg", width=4,4,8)
par(family="Arial")
plot.new()
text(0.5,0.5,labels=expression(italic("This should be in italics")))
dev.off()

Cheers,
S
On Jan 27, 2009, at 10:33 , Yan Wong wrote: