[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Analysis of redisplay performance on Windows

From: Chong Yidong
Subject: Re: Analysis of redisplay performance on Windows
Date: Sun, 27 Jul 2008 21:18:28 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Jason Rumney <address@hidden> writes:

> One difference between Emacs 22 and 23 is that we compute glyph
> indexes properly in Emacs 23, while on 22 we use unicode code
> points. Since we call font->encode_char once per character rather than
> for a whole run, the overhead of selecting fonts into the GC is
> multiplied. As I suggested in my earlier email, new functions in the
> font backend interface to select a font for working with and releasing
> it when done, would help, as we could then skip doing this in
> functions like encode_char and text_extents.

Could you suggest precisely what interface we need?  I.e., could you
suggest function names and rought docstrings?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]