Mercurial > emacs
diff src/w32font.c @ 95146:a8bf1f66a719
(add_font_entity_to_list): Don't add non-opentype
truetype fonts to opentype list.
author | Jason Rumney <jasonr@gnu.org> |
---|---|
date | Tue, 20 May 2008 23:37:03 +0000 |
parents | 8971ddf55736 |
children | e2197409b952 |
line wrap: on
line diff
--- a/src/w32font.c Tue May 20 17:03:30 2008 +0000 +++ b/src/w32font.c Tue May 20 23:37:03 2008 +0000 @@ -1311,8 +1311,7 @@ Lisp_Object backend = match_data->opentype_only ? Quniscribe : Qgdi; if ((!match_data->opentype_only - || (physical_font->ntmTm.ntmFlags & NTMFLAGS_OPENTYPE) - || (font_type & TRUETYPE_FONTTYPE)) + || (physical_font->ntmTm.ntmFlags & NTMFLAGS_OPENTYPE)) && logfonts_match (&logical_font->elfLogFont, &match_data->pattern) && font_matches_spec (font_type, physical_font, match_data->orig_font_spec, backend,