GNOME Bugzilla – Bug 694626
pango_font_map_get_serial() issues
Last modified: 2013-02-28 00:48:03 UTC
1. Where's the matching pango_font_map_changed()? 2. pango_fc_font_map_clear_cache() should be calling the above changed() method.
Alex, do you think you can take a look?
Created attachment 237418 [details] [review] Add pango_font_map_changed() This is needed as a base class sometimes needs to invalidate the fontmap.
Created attachment 237419 [details] [review] PangoFc: change FontMap in pango_fc_font_map_clear_cache()
These are not very well tested, but seem ok. The reason we didn't add any pango_font_map_changed() before is that all the other invalidation points are in the backends themselves, and we missed this spot in a baseclass.
Thanks Alex. Please push.
Attachment 237418 [details] pushed as c5f43d1 - Add pango_font_map_changed() Attachment 237419 [details] pushed as 0b79a1f - PangoFc: change FontMap in pango_fc_font_map_clear_cache()
Pushed to master. Should possibly also be backported to last stable release (with the function made private). Depends on what kind of release schedule you have and if some app hit this in practice.
Thanks. I think stable series is fine...