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 558350 - chars get mispositioned after pango_cairo_update_layout() if cairo_scale()ed
chars get mispositioned after pango_cairo_update_layout() if cairo_scale()ed
Status: RESOLVED DUPLICATE of bug 341481
Product: pango
Classification: Platform
Component: cairo
1.21.x
Other All
: Normal normal
: ---
Assigned To: pango-maint
pango-maint
: 519575 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-10-29 08:22 UTC by Theo Veenker
Modified: 2009-12-04 19:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Rendered with default gdk renderer (23.29 KB, image/png)
2009-12-04 18:21 UTC, Heikki Paajanen
Details
Rendered with cairo plugin (cairo + pango) (23.88 KB, image/png)
2009-12-04 18:21 UTC, Heikki Paajanen
Details

Description Theo Veenker 2008-10-29 08:22:44 UTC
Please describe the problem:
Calling pango_cairo_update_layout(cr, layout) after cairo_scale(cr, sx, sy) for
relatively large scaling makes the output of pango_cairo_show_layout(cr, layout)
so that characters are misplaced (written over another).

Details and test program demonstrating the problem are found in this thread: http://mail.gnome.org/archives/gtk-i18n-list/2008-October/msg00021.html


Steps to reproduce:
Run the test program, scale up the text, and then turn on calling pango_cairo_update_layout() as explained in http://mail.gnome.org/archives/gtk-i18n-list/2008-October/msg00021.html



Actual results:
See image 2 attached in http://mail.gnome.org/archives/gtk-i18n-list/2008-October/msg00021.html

Expected results:
See image 1 attached in http://mail.gnome.org/archives/gtk-i18n-list/2008-October/msg00021.html

Does this happen every time?
yes

Other information:
Comment 1 Behdad Esfahbod 2009-01-03 01:17:16 UTC
*** Bug 519575 has been marked as a duplicate of this bug. ***
Comment 2 Heikki Paajanen 2009-12-04 18:20:04 UTC
I can confim the same problem with dia cairo plugin (dia git) on Ubuntu 9.04. Because default zoom 100% translates to 20 with cairo it's quite a big problem.
Comment 3 Heikki Paajanen 2009-12-04 18:21:03 UTC
Created attachment 149105 [details]
Rendered with default gdk renderer
Comment 4 Heikki Paajanen 2009-12-04 18:21:38 UTC
Created attachment 149106 [details]
Rendered with cairo plugin (cairo + pango)
Comment 5 Behdad Esfahbod 2009-12-04 19:45:33 UTC
Fixed in 1.26.1 already.

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