# HG changeset patch # User Kenichi Handa # Date 1021366316 0 # Node ID 3d67875ee2b15eee362e2487ed4dc10b7bb6b0b2 # Parent 75801a5038120d2dd28b5fca9f7c39a06ab677b5 (fs_load_font): Check fontp->full_name (not fontname) against Vfont_encoding_alist. diff -r 75801a503812 -r 3d67875ee2b1 src/fontset.c --- 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;