GNOME Bugzilla – Bug 705164
Text overlaps when exporting to cairo PNG
Last modified: 2013-08-01 14:17:49 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
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 ***
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: https://git.gnome.org/browse/pango/ 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)
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 ...
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 ***