On 7/28/08, bulia byak <buliabyak@...400...> wrote:
On Mon, Jul 28, 2008 at 6:01 PM, the Adib <theadib@...1439...> wrote:
Both where initially created by Miklos. I did some modifications. For me the second has the advantage because it is used for printing as well.
So, can't we switch to using the first one for printing as well? I think it's the best way to go, and Miklos agrees that we can now switch to the first one completely now that cairo has got a much better pdf support.
I'm wondering whether you are not both seeing the same exporter as favorable..
The "first"/older cairo exporter (CairoPdfOutput) uses PrintCairoPDF which implements the Extension::Print interface. It was probably based on the older native pdf exporter (which was based on the older native ps exporter).
The "second"/newer cairo exporter (CairoRendererPdfOutput) implements the Extension::Output interface which means that it is given the full document tree. It uses CairoRenderer and CairoRenderContext internally to do the work (those two are also used by postscript and printing via cairo).