summaryrefslogtreecommitdiff
path: root/src/w32font.c
diff options
context:
space:
mode:
authorJason Rumney <jasonr@gnu.org>2008-12-10 16:21:39 +0000
committerJason Rumney <jasonr@gnu.org>2008-12-10 16:21:39 +0000
commit2db5c0e6a3bd7d1f3b302f41454de36e5f310fdb (patch)
tree153b64b0cdaf04363a7eae56584b07b359fc0f78 /src/w32font.c
parent9d32f818993bc689500a27b732fe3318d903a415 (diff)
downloademacs-2db5c0e6a3bd7d1f3b302f41454de36e5f310fdb.tar.gz
Improve comments for last change.
Diffstat (limited to 'src/w32font.c')
-rw-r--r--src/w32font.c3
1 files changed, 2 insertions, 1 deletions
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;