From 2db5c0e6a3bd7d1f3b302f41454de36e5f310fdb Mon Sep 17 00:00:00 2001 From: Jason Rumney Date: Wed, 10 Dec 2008 16:21:39 +0000 Subject: Improve comments for last change. --- src/w32font.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/w32font.c') diff --git a/src/w32font.c b/src/w32font.c index 65e6c5448a6..4492a275bd1 100644 --- a/src/w32font.c +++ b/src/w32font.c @@ -1407,7 +1407,8 @@ add_font_entity_to_list (logical_font, physical_font, font_type, lParam) && 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; -- cgit v1.2.1