int dimension;
int graphic;
- BREAKUP_CHAR (ch, charset, byte1, byte2);
+ if (EQ (Vdefault_coded_charset_priority_list_for_font, Qnil))
+ BREAKUP_CHAR (ch, charset, byte1, byte2);
+ else
+ {
+ Lisp_Object original_default_coded_charset_priority_list
+ = Vdefault_coded_charset_priority_list;
+
+ Vdefault_coded_charset_priority_list
+ = Vdefault_coded_charset_priority_list_for_font;
+ BREAKUP_CHAR (ch, charset, byte1, byte2);
+ Vdefault_coded_charset_priority_list
+ = original_default_coded_charset_priority_list;
+ }
dimension = XCHARSET_DIMENSION (charset);
graphic = XCHARSET_GRAPHIC (charset);