Re: jisx0201 display and x_list_fonts cache patch
Andrew Choi <[email protected]> Wed, 03 Jul 2002 20:49:07 -0600
| Newsgroups | gmane.emacs.macintosh.devel |
|---|---|
| Message-ID | <[email protected]> |
> 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 > [email protected] > > [...] Hi Mitsuharu, Thank you for sending in these patches. I have tested them and checked them into the CVS. Andrew. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek No, I will not fix your computer. http://thinkgeek.com/sf