diff options
| -rw-r--r-- | src/w32font.c | 3 |
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) | |||
| 1407 | && logical_font->elfLogFont.lfCharSet != DEFAULT_CHARSET | 1407 | && logical_font->elfLogFont.lfCharSet != DEFAULT_CHARSET |
| 1408 | && logical_font->elfLogFont.lfCharSet != ANSI_CHARSET) | 1408 | && logical_font->elfLogFont.lfCharSet != ANSI_CHARSET) |
| 1409 | return 1; | 1409 | return 1; |
| 1410 | /* unicode-sip fonts must contain characters beyond the BMP. */ | 1410 | /* unicode-sip fonts must contain characters beyond the BMP, |
| 1411 | so look for bit 57 (surrogates) in the Unicode subranges. */ | ||
| 1411 | else if (EQ (spec_charset, Qunicode_sip) | 1412 | else if (EQ (spec_charset, Qunicode_sip) |
| 1412 | && !(physical_font->ntmFontSig.fsUsb[1] & 0x02000000)) | 1413 | && !(physical_font->ntmFontSig.fsUsb[1] & 0x02000000)) |
| 1413 | return 1; | 1414 | return 1; |