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 744715 - Text layout in GIMP is different to text layout in PDF export
Text layout in GIMP is different to text layout in PDF export
Status: RESOLVED DUPLICATE of bug 681895
Product: GIMP
Classification: Other
Component: Plugins
2.8.14
Other All
: Normal normal
: ---
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2015-02-18 16:00 UTC by neto
Modified: 2017-10-31 23:37 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
that's the textbox in gimp (8.25 KB, image/png)
2015-02-18 16:00 UTC, neto
Details
that's the text in the pdf export (8.36 KB, image/png)
2015-02-18 16:01 UTC, neto
Details
This is an example file, tested on gimp 2.8.14 under debian and windows (15.71 KB, image/x-xcf)
2015-02-20 09:05 UTC, neto
Details

Description neto 2015-02-18 16:00:04 UTC
Created attachment 297104 [details]
that's the textbox in gimp

Hi everybody,

I really appreciate using the gimp, thank you for your continuous work on it. 

I've had the following bug for a few times now:

1) new document, create a textbox.

2) write some text in it, in one line. The last word should be on the second line, with automatic linebreak. 

3) export it as a pdf

4) the last word jumps back to the first line

I'm not quite sure if it is a duplicate of this bug:

https://bugzilla.gnome.org/show_bug.cgi?id=681895

Let me know if you need more information.
Comment 1 neto 2015-02-18 16:01:41 UTC
Created attachment 297105 [details]
that's the text in the pdf export
Comment 2 Michael Natterer 2015-02-19 19:32:20 UTC
Is this really 2.8.2? If so, please upgrade to 2.8.14 and report back.
Comment 3 neto 2015-02-19 21:03:53 UTC
I tried it on 2.8.14, and I get the same output in the pdf.
Comment 4 neto 2015-02-20 09:05:09 UTC
Created attachment 297354 [details]
This is an example file, tested on gimp 2.8.14 under debian and windows
Comment 5 Massimo 2015-02-20 15:15:46 UTC
One thing I noticed that causes differences between GIMP core
and the pdf plug-in is that the plug-in does not use fonts
installed in a personal directory unless I manually add a
file ~/.config/fontconfig/fonts.conf listing the personal
font dirs, like:

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
        <dir>/home/massimo/.gimp-2.8/fonts</dir>
        <dir>/home/massimo/.config/GIMP/2.9/fonts</dir>
</fontconfig>


otherwise the plug-in uses a fallback font that is similar,
but different from that used on canvas.

Nonetheless it is possible that the plug-in does not repeat
exactly all the steps that GIMP core executes and this results
in different logical extents with different line breaks.
Comment 6 Dave 2017-10-18 06:15:44 UTC
Hi neto,

I was having a similar issue with 2.8.6 today, updated to 2.8.22 and it's now exporting text to pdf as expected.

Cheers,
Dave
Comment 7 Michael Schumacher 2017-10-18 07:16:25 UTC
This could be a duplicate of bug 681895, I guess.
Comment 8 neto 2017-10-31 08:54:59 UTC
Hi Dave and Michael,

Today I tried it with gimp 2.8.22 under linuxmint and windows, and it exported text to pdf as expected too! Thanks for pointing it out!

So I guess it's resolved? (it is for me at least)

And yes, maybe it was a duplicate of bug 681895 after all?

neto
Comment 9 Michael Schumacher 2017-10-31 23:37:34 UTC
Let's assume it is. 

Thanks for taking the time to report this.
This particular bug has already been reported into our bug tracking system, but we are happy to tell you that the problem has already been fixed in the code repository.

*** This bug has been marked as a duplicate of bug 681895 ***