2002-05-14 Kenichi Handa <handa@etl.go.jp>
+ * fontset.c (fs_load_font): Check fontp->full_name (not fontname)
+ against Vfont_encoding_alist.
+
* coding.c (Fdecode_sjis_char): Fix typo (0x7F->0xFF). Fix the
handling of charset list.
(encode_coding_iso_2022): Setup coding->safe_charsets in advance.
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))
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;