After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 773865 - PDF export - text layers in layer groups get rasterized
PDF export - text layers in layer groups get rasterized
Status: RESOLVED OBSOLETE
Product: GIMP
Classification: Other
Component: Plugins
2.8.18
Other All
: Normal normal
: ---
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2016-11-02 22:51 UTC by Max
Modified: 2018-05-24 17:09 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Original XCF for PDF export (16.83 KB, application/octet-stream)
2016-11-02 22:51 UTC, Max
Details
PDF file, exported (16.62 KB, application/pdf)
2016-11-02 22:52 UTC, Max
Details
PDF viewer preview (one font is rasterized and second is usable with text tool) (46.77 KB, image/png)
2016-11-02 22:53 UTC, Max
Details

Description Max 2016-11-02 22:51:40 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).
Comment 1 Max 2016-11-02 22:52:38 UTC
Created attachment 338997 [details]
PDF file, exported
Comment 2 Max 2016-11-02 22:53:19 UTC
Created attachment 338998 [details]
PDF viewer preview (one font is rasterized and second is usable with text tool)
Comment 3 Michael Schumacher 2016-11-03 09:01:41 UTC
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?
Comment 4 Max 2016-11-03 11:37:04 UTC
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.
Comment 5 GNOME Infrastructure Team 2018-05-24 17:09:14 UTC
-- 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.