GNOME Bugzilla – Bug 773865
PDF export - text layers in layer groups get rasterized
Last modified: 2018-05-24 17:09:14 UTC
Created attachment 338996 [details] Original XCF for PDF export Hi! Problem is when I export XCF file to PDF, text layers in groups become rasterized and contain no text info (you couldn't use text tool in any PDF viewer). I've attached original file and PDF export (+screenshot from STDU viewer). Version is 2.8.18 (Windows 10). I have 2.9.x portable also, but I think its kinda broken and uses libs or settings from installed 2.8 (not sure, but it looks like).
Created attachment 338997 [details] PDF file, exported
Created attachment 338998 [details] PDF viewer preview (one font is rasterized and second is usable with text tool)
The main loop for putting the layer contents into the PDF file makes no obvious provision to go into layer groups: https://git.gnome.org/browse/gimp/tree/plug-ins/common/file-pdf-save.c#n542 ff. That's probably not too hard to change, turning the loop into a function that can be called recursively for groups (they can be nested) might be an idea - do you want to give it a try and contribute a patch?
I really wanna help, but I'm not good at programming. I'll look at code closer, maybe you're right and it's not hard for beginner.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gimp/issues/1002.