[Rd] New version of X11, png and jpeg
Prof Brian Ripley
ripley at stats.ox.ac.uk
Tue Feb 26 16:09:59 CET 2008
On Tue, 26 Feb 2008, Michael Lawrence wrote:
> On Tue, Feb 26, 2008 at 8:18 AM, Prof Brian Ripley <ripley at stats.ox.ac.uk>
> wrote:
>
>> Revision r44621 supports (in a limited way) cairo 1.0 and hence I believe
>> vanilla FC5 -- I found what purports to be a vanilla FC5 box and it works
>> quite well there.
>>
>> Two people have reported that the svg(), cairo-pdf() and cairo-ps()
>> devices produce blank (but not empty) files. I was able to confirm that
>> on Debian etch (cairo 1.2.4). They do work on cairo 1.4.14 (F8) and
>> better on a 1.5.10 snapshot.
>>
>
> My intuition is that there is a missing call to cairo_show_page(). I believe
> this became unnecessary in the 1.4.x series. This should probably be called
> any time there is new page (after the first) and when the device is closed.
Yes, you are quite right (and of course the 1.5.x docs I was reading
didn't say it was needed). Unfortunately, that only defers the problems
as fonts are not handled correctly in 1.2.x, at least on my test machine.
--
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