diff options
| author | Jason Rumney | 2009-02-12 13:58:29 +0000 |
|---|---|---|
| committer | Jason Rumney | 2009-02-12 13:58:29 +0000 |
| commit | c73abf54bc65c20364afef99b2998468889523d9 (patch) | |
| tree | 68806e903acb7a17ce2306d0af213ce283f51a73 /src | |
| parent | e26019a56b242f395d5aef11b5e3e896bdc03faf (diff) | |
| download | emacs-c73abf54bc65c20364afef99b2998468889523d9.tar.gz emacs-c73abf54bc65c20364afef99b2998468889523d9.zip | |
(add_font_entity_to_list): Fix check for substituted
raster fonts. (Bug#2219)
Diffstat (limited to 'src')
| -rw-r--r-- | src/w32font.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/w32font.c b/src/w32font.c index ac0360c2be4..d28483ada1e 100644 --- a/src/w32font.c +++ b/src/w32font.c | |||
| @@ -1433,8 +1433,8 @@ add_font_entity_to_list (logical_font, physical_font, font_type, lParam) | |||
| 1433 | by a foundry, we accept raster fonts if the font name is found | 1433 | by a foundry, we accept raster fonts if the font name is found |
| 1434 | anywhere within the full name. */ | 1434 | anywhere within the full name. */ |
| 1435 | if ((logical_font->elfLogFont.lfOutPrecision == OUT_STRING_PRECIS | 1435 | if ((logical_font->elfLogFont.lfOutPrecision == OUT_STRING_PRECIS |
| 1436 | && strstr (logical_font->elfFullName, | 1436 | && !strstr (logical_font->elfFullName, |
| 1437 | logical_font->elfLogFont.lfFaceName)) | 1437 | logical_font->elfLogFont.lfFaceName)) |
| 1438 | /* Check for well known substitutions that mess things up in the | 1438 | /* Check for well known substitutions that mess things up in the |
| 1439 | presence of Type-1 fonts of the same name. */ | 1439 | presence of Type-1 fonts of the same name. */ |
| 1440 | || (match_data->pattern.lfFaceName[0] | 1440 | || (match_data->pattern.lfFaceName[0] |