Dave Malcolm wrote at 11 Apr 2003 18:35:19 +0100:
> (i) Am I right in thinking that this lets you render a PangoLayout to a
> GnomePrintContext, and, in theory, wouldn't require PDFLib? (avoids
> dependencies, and licensing issues)
Correct. There is no PDFlib dependency in the pangogp backend.
> (ii) Am I right in thinking that the next stage is to have xmlroff
> implement GnomePrint as a FoDoc backend and that this isn't yet
> implemented?
Correct, including the fact that this is not implemented yet.
There's more to it than just implementing a GNOME Print child type of
the existing FoDoc since, for example, PDFlib and GNOME Print have
different ways of handling graphics so presumably FoDoc has to provide
functions for handling graphics.
There's also the question that I put on the PangoPDF Wiki about
whether the GNOME Print glyphlist for a layout should be part of the
PangoContext (actually, PangoGPContext) or a parameter to
pango_gp_render(), etc. Right now, pangogp avoids the issue by making
a separate glphlist for each run, which is not very efficient.
Also, there's a lot of '#include <pango/pangopdflib.h>' in the xmlroff
code that needs to be worked around.
Regards,
Tony Graham
------------------------------------------------------------------------
XML Technology Center - Dublin
Sun Microsystems Ireland Ltd Phone: +353 1 8199708
Hamilton House, East Point Business Park, Dublin 3 x(70)19708
|