Mercurial > emacs
changeset 88500:3d67875ee2b1
(fs_load_font): Check fontp->full_name (not fontname)
against Vfont_encoding_alist.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Tue, 14 May 2002 08:51:56 +0000 |
parents | 75801a503812 |
children | 5fab07dd0c5e |
files | src/fontset.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/fontset.c Tue May 14 08:01:50 2002 +0000 +++ b/src/fontset.c Tue May 14 08:51:56 2002 +0000 @@ -549,6 +549,7 @@ if (!fontp) return NULL; + fontname = fontp->full_name; /* Fill in members (charset, vertical_centering, encoding, etc) of font_info structure that are not set by (*load_font_func). */ for (tail = Vfont_encoding_alist; CONSP (tail); tail = XCDR (tail)) @@ -567,7 +568,7 @@ fontp->vertical_centering = (STRINGP (Vvertical_centering_font_regexp) && (fast_c_string_match_ignore_case - (Vvertical_centering_font_regexp, fontp->full_name) >= 0)); + (Vvertical_centering_font_regexp, fontname) >= 0)); fontp->font_encoder = NULL;