[Rd] Italics in svg output display as bold (PR#13463)

Brian D Ripley ripley at stats.ox.ac.uk
Thu Jan 22 12:58:38 CET 2009


It is a bug on your system: this is done by cairographics, and I 
suspect that the version you have is broken (or possibly your viewer).
I'll attach the version I get, which does display in italics on my 
system.

I used cairo-1.8.0-1.fc10.x86_64 (on Fedora 10).


On Wed, 21 Jan 2009, yan at pixie.org.uk wrote:

> Full_Name: Yan Wong
> Version: 2.8.1
> OS: Mac OS X 10.4

And how did you compile it?  This might be a bug in the cairographics 
or fontconfig library used for the CRAN binary build, if you used that 
(and report such issues to R-sig-mac -- see the posting guide).

> Submission from: (NULL) (78.149.167.246)
>
>
> When printing a plot to and svg file, text intended to be in italics is rendered
> in bold (svg file viewed using both Safari 3.2.1 and Firefox 2.0.0.9.
>
> For example, try viewing the test.svg file generated by
>
> svg("test.svg", width=4,4,8)
> plot.new(); text(0.5,0.5,labels=expression(italic("This should be in
> italics")))
> dev.off()
>
> Yan
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>

-- 
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-devel mailing list