GNOME Bugzilla – Bug 76328
pango_win32_font_get_metrics () is expensive
Last modified: 2004-12-22 21:47:04 UTC
pango_win32_font_get_metrics() does expensive things to compute the average digit width; if it is going to do this, then it really needs to cache the result as the other backends do.
Tentative fix applied to pango-1-2. Similar caching mechanism as the other backends. Owen, could you check if it looks reasonable? (Seems to work, even though I can't notice any huge speedup.)