[cairo-bugs] [Bug 78787] blueman and xfce4-power-manager crash when opening right-click menu while terminus is set as system font

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Oct 26 00:29:35 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=78787

--- Comment #9 from Massimo <sixtysix at inwind.it> ---
Another simple fix is for the murrine gtk theme engine, here:

https://github.com/GNOME/murrine/blob/master/src/murrine_style.c#L2172

it should be inserted a call to pango_cairo_update_layout (cr, layout).

IIUC, usually pango_cairo inserts glyphs in the scaled_font
cache during the layout preparation, that is querying glyph extents
and so only using text metrics info (which does not fail, unless fuzzed
font files), but if you change cairo's transform matrix, cairo is
using stale layout info with a different scaled_font, and so it inserts
the glyphs while querying path info which fails for bitmap fonts
and the failure code path is wrong.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo-bugs/attachments/20151026/3361038b/attachment.html>


More information about the cairo-bugs mailing list