Mercurial > emacs
changeset 100327:5d74aae1daad
Improve comments for last change.
author | Jason Rumney <jasonr@gnu.org> |
---|---|
date | Wed, 10 Dec 2008 16:21:39 +0000 |
parents | 80d774f2a5f5 |
children | 3cfd649195fe |
files | src/w32font.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/w32font.c Wed Dec 10 16:10:36 2008 +0000 +++ b/src/w32font.c Wed Dec 10 16:21:39 2008 +0000 @@ -1407,7 +1407,8 @@ && logical_font->elfLogFont.lfCharSet != DEFAULT_CHARSET && logical_font->elfLogFont.lfCharSet != ANSI_CHARSET) return 1; - /* unicode-sip fonts must contain characters beyond the BMP. */ + /* unicode-sip fonts must contain characters beyond the BMP, + so look for bit 57 (surrogates) in the Unicode subranges. */ else if (EQ (spec_charset, Qunicode_sip) && !(physical_font->ntmFontSig.fsUsb[1] & 0x02000000)) return 1;