]> git.eshelyaron.com Git - emacs.git/commitdiff
Improve comments for last change.
authorJason Rumney <jasonr@gnu.org>
Wed, 10 Dec 2008 16:21:39 +0000 (16:21 +0000)
committerJason Rumney <jasonr@gnu.org>
Wed, 10 Dec 2008 16:21:39 +0000 (16:21 +0000)
src/w32font.c

index 65e6c5448a616dd15c3691773c16ffc8dccd7458..4492a275bd11896f95bb64f71126069903cf3937 100644 (file)
@@ -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;