GNOME Bugzilla – Bug 307688
GdkPangoRenderer lacks draw_trapezoid implementation
Last modified: 2011-02-04 16:18:46 UTC
Calling pango_renderer_draw_trapezoid on a GdkPangoRenderer used to work, even if it wasn't actually meant to be done. :-) So here's a patch that implements draw_trapezoid. This was my first journey into Cairo land, so please double-check.
Created attachment 47770 [details] [review] Implementing draw_trapezoid
Doesn't this miss the conversion to/from pango units which is done in the other drawing in that file ?
To answer my own question: no, it doesn't. I wonder if we need to implement draw_glyph as well, then.
Note that draw_glyph() wasn't implemented in GTK+-2.6, so it's different from draw_trapezoid(), where there is a possible regression (depending on how you view it.)
*** Bug 311250 has been marked as a duplicate of this bug. ***
I guess this is effectively WONTFIXed by 2.8.0 going out without it now...
Erm, I don't think this bug is actually resolved (as the patch or an alternative weren't applied). Could someone say if this bug will never be fixed or perhaps in Gtk+ 2.8.1 or something like that?
Note that I didn't claim it was FIXED, I said it is effectively WONTFIXED, because we released a stable GTK+ without it. So, no it is not likely that it will be fixed at a later point.
Note that this problem affected no apps and didn't reflect realistic usage - it was just a Gtk/Perl test case that was affected.