Skip to content
Back to formatted view

Raw Message

Message-ID: <251857123.DkJXe2EyXB@ID-99504.news.uni-berlin.de>
Date: 2009-11-26T15:41:56Z
From: Karl Ove Hufthammer
Subject: Kerning issues with CairoPDF

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