[R] Kerning issues with CairoPDF
    Karl Ove Hufthammer 
    karl at huftis.org
       
    Thu Nov 26 16:41:56 CET 2009
    
    
  
Karl Ove Hufthammer wrote:
> I'm using CairoPDF to generate PDF (because of its font embedding and
> support for transparent colours). However, at least on my (Windows)
> system, the text it outputs seems to have completely wrong kerning.
> Here's an example:
> 
> CairoPDF("test.pdf")
>   plot(rnorm(100),xlab="Ovreset")
> dev.off()
> 
> The v is (slightly) too far away from the O, it's much too close to the
> r, partially overlapping it, and the e is too far away from the s.
For the record, there are no problems with R 2.9.2 on my Mandriva Linux 2010 
system. But it’s a different font which gets embedded (Liberation Sans on 
Linux vs. Arial on Windows).
-- 
Karl Ove Hufthammer
E-mail: karl at huftis.org
Jabber: huftis at jabber.no
    
    
More information about the R-help
mailing list