|
From: | Jason Rumney |
Subject: | Re: Font selection weirdness |
Date: | Tue, 27 May 2008 17:10:25 +0100 |
User-agent: | Thunderbird 2.0.0.14 (Windows/20080421) |
Juanma Barranquero wrote:
No, it's not reasonable. If you don't have a suitable font, then Emacs should not be trying to display those characters.I'll try to debug it. But, are you saying that clear_cached_metrics should never be called, or that it should not be called for TrueType/OpenFont fonts?
I thought I'd initialised things so that bitmap fonts would default to using unicode code points without needing to invalidate the metric cache when we change our mind later, but it turns out I hadn't. I made a change today that should mean that the function should never be called on Windows 2000/XP/Vista, unless there is a bug in the font drawing that continues to draw after finding the character is not supported, or a buggy truetype font that uses a glyph index other than 0 to indicate that a character is not supported.
[Prev in Thread] | Current Thread | [Next in Thread] |