As requested in http://bugzilla.gnome.org/show_bug.cgi?id=382688 I
have created a PDF export plugin for GIMP. I need some feedback on it
(mainly on it's GUI) so I'm asking for it here. The plugin can be
accessed through File->Create->PDF (Both multipage and singlepage
options) or through the normal save dialog (single page, simply add
the .pdf suffix).
The plugin uses cairo to output the PDF so only features that are
available in cairo can be used by the plugin.
It builds on my GIMP 2.6.4 so it should work on later versions, The
source can be found on the bug report.
To get the compiler flags, use 'pkg-config --cflags --libs gtk+-2.0
cairo-pdf gimp-2.0 gimpui-2.0 gimpthumb-2.0'. The plugin is only one
file, so it should be easy to compile.
1. Grayscale layers are inverted (although layer masks which are not
grayscale,are not inverted)
2. Exporting some fonts doesn't work since gimp_text_layer_get_font
Returns a font which is sometimes incompatible with
pango_font_description_from_string (gimp_text_layer_get_font sometimes
returns suffixes such as "semi-expanded" to the font's name although
the GIMP's font selection dialog shows the name normally - This should
be checked again in GIMP 2.7)
3. Indexed layers can't be optimized yet (Since gimp_histogram won't
work on indexed layers)
Gimp-developer mailing list