|
From: | Jan Djärv |
Subject: | Re: Display performance degradation |
Date: | Sat, 02 Jan 2010 15:31:20 +0100 |
User-agent: | Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0 |
Eli Zaretskii skrev 2010-01-02 12.21:
Anyway, is the call to lookup_named_face expensive, for all the calls but the first one which use the same face symbol? If it is cheap, then perhaps this is a non-issue.
All calls have the same cost. What they do is to clear properties in the font. These properties later on gets restored again. But the distinction between user specified font properties and matched font properties gets lost, so what the user specified initially is lost. This makes re-applying the font when some parameter (dpi, hinting etc.) has changed impossible.
I'm trying to address this by another mechanism. Jan D.
[Prev in Thread] | Current Thread | [Next in Thread] |