After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 76328 - pango_win32_font_get_metrics () is expensive
pango_win32_font_get_metrics () is expensive
Status: RESOLVED FIXED
Product: pango
Classification: Platform
Component: general
1.0.x
Other Linux
: Normal normal
: 1.2.4
Assigned To: Tor Lillqvist
Tor Lillqvist
Depends on:
Blocks:
 
 
Reported: 2002-03-25 20:33 UTC by Owen Taylor
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Owen Taylor 2002-03-25 20:33:36 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.
Comment 1 Tor Lillqvist 2003-07-28 17:34:35 UTC
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.)