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 705164 - Text overlaps when exporting to cairo PNG
Text overlaps when exporting to cairo PNG
Status: RESOLVED DUPLICATE of bug 573261
Product: dia
Classification: Other
Component: exports
Other Linux
: Normal normal
: ---
Assigned To: Dia maintainers
Dia maintainers
Depends on:
Reported: 2013-07-30 18:54 UTC by Jorge Vallecillo
Modified: 2013-08-01 14:17 UTC
See Also:
GNOME target: ---
GNOME version: ---

Overlap example (1.32 KB, image/png)
2013-07-30 18:54 UTC, Jorge Vallecillo

Description Jorge Vallecillo 2013-07-30 18:54:34 UTC
Created attachment 250500 [details]
Overlap example

Text is been overlaped when exporting to png with libcairo with or w/o alpha.
pixbuff PNG export is not affected.
My libcairo2 installed version is 1.12.8-2.1.1.
There is an available update to 1.12.8-2.10.1, I will apply this update to check if it fix this bug
Comment 1 Hans Breuer 2013-07-30 19:11:00 UTC
This is most probably an issues with Pango being too old. See bug 573261 for reference. Use 'dia --version --verbose' to check the Pango version used with your distribution.

*** This bug has been marked as a duplicate of bug 573261 ***
Comment 2 Jorge Vallecillo 2013-07-30 20:19:36 UTC
Actually the installed version of libpango is 1.32.5-3.4.2, stable seems to be 1.35.0, I don't buy that is too old:

output of 'dia --version --verbose':
Dia version 0.97.2
Compiler: GCC 4.7.2 20130108 [gcc-4_7-branch revision 195012]
  with : threads cairo gnome libart 
Library versions (at compile time)
libpng  : 1.5.13 (1.5.13)
freetype: 2.4.11
libxml  : 2.9.0 (2.9.0)
glib    : 2.34.3 (2.34.3)
pango   : 1.32.5 (1.32.5)
cairo   : 1.12.8 (1.12.8)
gtk+    : 2.24.14 (2.24.14)
Comment 3 Hans Breuer 2013-07-30 20:36:19 UTC
So not too old, but just a regression in Pango?
The other issue you could check to verify it is the same bug again would be trying different fonts. But that would require not just to reopen, but to actually read the duplicates discussion ...
Comment 4 Jorge Vallecillo 2013-08-01 14:17:49 UTC
Ok, you are right it seems to be a regression in pango
I tried with:
 * sans: text is overlapped
 * serif: the bug is not present

I also tried applying the update in cairo and pango libs but it didn't make any effect. Seems to be the same bug

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