From: YAMAMOTO M. <mit...@ma...> - 2002-07-01 09:41:35
|
The attached patch remedies some problems somewhat related to Japanese characters and input methods: 1. displaying jisx0201 roman/kana characters Basically this part is imported from mac/src/macterm.c in Emacs 21.2. I confirmed that this patch works both with the Osaka font (a built-in Japanese font in MacOS) and with converted ETL fonts. 2. caching font lists in x_list_fonts SKK, one of widely-used Japanese input methods in Emacs, frequently changes the cursor color to reflect the current input mode. But Emacs in the current CVS invalidates the face cache whenever the cursor color is changed (``++face_change_count;'' in xfaces.c), and it causes lots of regexp matches in mac_font_pattern_match. With caching font lists in x_list_fonts, which is already done in xterm.c, the reconstruction of the face cache can be done without ``the spinning rainbow''. YAMAMOTO Mitsuharu mit...@ma... |