diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/w32font.c | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 7348347a380..7b9f9931d89 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2008-05-20 Jason Rumney <jasonr@gnu.org> | ||
| 2 | |||
| 3 | * w32font.c (add_font_entity_to_list): Don't add non-opentype | ||
| 4 | truetype fonts to opentype list. | ||
| 5 | |||
| 1 | 2008-05-20 Juanma Barranquero <lekktu@gmail.com> | 6 | 2008-05-20 Juanma Barranquero <lekktu@gmail.com> |
| 2 | 7 | ||
| 3 | * fontset.c (Ffontset_info): Doc fix. | 8 | * fontset.c (Ffontset_info): Doc fix. |
diff --git a/src/w32font.c b/src/w32font.c index ea00f8b0a97..4ce9e4c8459 100644 --- a/src/w32font.c +++ b/src/w32font.c | |||
| @@ -1311,8 +1311,7 @@ add_font_entity_to_list (logical_font, physical_font, font_type, lParam) | |||
| 1311 | Lisp_Object backend = match_data->opentype_only ? Quniscribe : Qgdi; | 1311 | Lisp_Object backend = match_data->opentype_only ? Quniscribe : Qgdi; |
| 1312 | 1312 | ||
| 1313 | if ((!match_data->opentype_only | 1313 | if ((!match_data->opentype_only |
| 1314 | || (physical_font->ntmTm.ntmFlags & NTMFLAGS_OPENTYPE) | 1314 | || (physical_font->ntmTm.ntmFlags & NTMFLAGS_OPENTYPE)) |
| 1315 | || (font_type & TRUETYPE_FONTTYPE)) | ||
| 1316 | && logfonts_match (&logical_font->elfLogFont, &match_data->pattern) | 1315 | && logfonts_match (&logical_font->elfLogFont, &match_data->pattern) |
| 1317 | && font_matches_spec (font_type, physical_font, | 1316 | && font_matches_spec (font_type, physical_font, |
| 1318 | match_data->orig_font_spec, backend, | 1317 | match_data->orig_font_spec, backend, |