emacs-devel
[Top][All Lists]
Advanced

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

Re: Where is a character presence tested in a font?


From: Eli Zaretskii
Subject: Re: Where is a character presence tested in a font?
Date: Sun, 15 Jul 2012 19:22:10 +0300

> From: Óscar Fuentes <address@hidden>
> Date: Sun, 15 Jul 2012 17:44:36 +0200
> 
> Could someone point me to the source code (or API name) where Emacs
> on MS Windows tests for the presence of a given character on a font?

Search for uses of font_has_char.  The Windows implementation of this
just returns -1, but the code that calls it should then use some
alternative strategy (which includes opening the font, AFAIU) to
arrive at the conclusion.

Sorry, I don't know more than this.




reply via email to

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