From ripley at stats.ox.ac.uk  Tue Feb 26 16:09:59 2008
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Tue, 26 Feb 2008 15:09:59 +0000 (GMT)
Subject: [Rd] New version of X11, png and jpeg
In-Reply-To: <509e0620802260655m107eb2e8wf8eb98f9d7caced2@mail.gmail.com>
References: <alpine.LFD.1.00.0802201933470.25534@gannet.stats.ox.ac.uk>
	<66f3bd910802251055m818e1c2kb0056e729b8e5a11@mail.gmail.com>
	<alpine.LFD.1.00.0802251858380.1885@gannet.stats.ox.ac.uk>
	<alpine.LFD.1.00.0802261318300.29214@gannet.stats.ox.ac.uk>
	<509e0620802260655m107eb2e8wf8eb98f9d7caced2@mail.gmail.com>
Message-ID: <alpine.LFD.1.00.0802261507110.17412@gannet.stats.ox.ac.uk>

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



[Rd] New version of X11, png and jpeg
Prof Brian Ripley