Mercurial > emacs
changeset 95744:abc12b93e2dd
(add_font_name_to_list): Adjusted for
the change of font_intern_prop.
(w32_enumfont_pattern_entity): Likewise.
(w32_registry): Likewise.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Tue, 10 Jun 2008 02:07:06 +0000 |
parents | 9fcb5d4baf9b |
children | bea43f586395 |
files | src/w32font.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/w32font.c Tue Jun 10 02:06:27 2008 +0000 +++ b/src/w32font.c Tue Jun 10 02:07:06 2008 +0000 @@ -930,7 +930,7 @@ return 1; family = font_intern_prop (logical_font->elfLogFont.lfFaceName, - strlen (logical_font->elfLogFont.lfFaceName)); + strlen (logical_font->elfLogFont.lfFaceName), 1); if (! memq_no_quit (family, *list)) *list = Fcons (family, *list); @@ -1003,7 +1003,7 @@ lispy_antialias_type (requested_font->lfQuality)); } ASET (entity, FONT_FAMILY_INDEX, - font_intern_prop (lf->lfFaceName, strlen (lf->lfFaceName))); + font_intern_prop (lf->lfFaceName, strlen (lf->lfFaceName), 1)); FONT_SET_STYLE (entity, FONT_WEIGHT_INDEX, make_number (w32_decode_weight (lf->lfWeight))); @@ -1441,7 +1441,7 @@ return font_type == TRUETYPE_FONTTYPE ? Qiso10646_1 : Qunknown; charset = w32_to_x_charset (w32_charset, NULL); - return font_intern_prop (charset, strlen(charset)); + return font_intern_prop (charset, strlen(charset), 1); } static int