GNOME Bugzilla – Bug 558350
chars get mispositioned after pango_cairo_update_layout() if cairo_scale()ed
Last modified: 2009-12-04 19:45:33 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:
*** Bug 519575 has been marked as a duplicate of this bug. ***
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.
Created attachment 149105 [details] Rendered with default gdk renderer
Created attachment 149106 [details] Rendered with cairo plugin (cairo + pango)
Fixed in 1.26.1 already. *** This bug has been marked as a duplicate of bug 341481 ***