+2002-07-03 Andrew Choi <akochoi@shaw.ca>
+
+ * macterm.c (init_font_name_table): Also add entry for
+ jisx0201.1976-0 coding for Japanese font.
+ (XLoadQueryFont): Use it.
+
2002-07-02 Richard M. Stallman <rms@gnu.org>
* keymap.c (Fdefine_key): Doc fix.
sc));
}
else
- add_font_name_table_entry (mac_to_x_fontname (name, size, style,
- sc));
+ {
+ add_font_name_table_entry (mac_to_x_fontname (name, size,
+ style, sc));
+ if (smJapanese == sc)
+ add_font_name_table_entry (mac_to_x_fontname (name, size,
+ style,
+ -smJapanese));
+ }
}
/* Dispose of the iterators. */
= mac_to_x_fontname (name,
assc_entry->fontSize,
assc_entry->fontStyle,
- smRoman);
+ -smJapanese);
}
}
}
if (sscanf (name,
"-%*[^-]-%*[^-]-%*[^-]-%*c-%*[^-]--%*[^-]-%*[^-]-%*[^-]-%*[^-]-%*c-%*[^-]-%31s",
cs) == 1
- && 0 == strcmp (cs, "mac-roman"))
+ && 0 == strcmp (cs, "jisx0201.1976-0"))
font->mac_scriptcode = smRoman;
}