On Tue, 2008-06-17 at 14:41 +0200, Tavmjong Bah wrote:
The "Save As" and "Print" PDF use two different Cairo routines. What is the history of this? It seems to be a bit of a waste of effort.
At the core they should be the same, IIRC. What we were doing with the printing was trying to go in and grab the core of the Cairo stuff out of the save and repurpose it to use GTK Print. I can't say that we didn't screw up at that, but that was the goal. I'm surprised there is differences between the two, could it have something to do with what GTK + is doing with the CairoContext?
Unfortunately Kees and I were doing with with only enough knowledge to be dangerous (Kees did all the real work, I just prodded). I wouldn't be surprised if we made a mistake somewhere along the line.
--Ted