1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-04-24 22:32:11 -05:00
Simon Tatham 14464764da Performance: cache character widths returned from Pango.
Profiling reveals that pterm in Pango rendering mode uses an absurd
amount of CPU when it's not even actually _drawing_ the text, because
of all the calls to pango_layout_get_pixel_extents() while
pangofont_draw_text tries to work out which characters it can safely
draw as part of a long string. Caching the results speeds things up
greatly.

(cherry picked from commit c3ef30c883e3657ff57679fb611f1f6ee6f33dba)
2015-10-17 17:30:17 +01:00
..
2014-07-13 07:49:29 +00:00
2012-09-18 21:42:48 +00:00
2015-06-20 12:47:42 +01:00