[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Japanese TTF handling

From: Kenichi Handa
Subject: Re: Japanese TTF handling
Date: Fri, 15 Aug 2003 21:23:26 +0900 (JST)
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.2.92 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI)

In article <address@hidden>, Kazu Yamamoto (山本和彦) <address@hidden> writes:
> Emacs 21.3.50 does not handle Japanese TrueType fonts correctly while
> Emacs 21.3 can do well.

> I declared two typical Japanese fonts as follows:

>       (defface mincho '((t :family "ms mincho" :height 400)) "mincho")
>       (defface gothic '((t :family "ms gothic" :height 400)) "gothic")

> Then I inserted two Japanese characters into a buffer. On the first
> one, I evaluated the following:

>       (set-text-properties (point) (1+ (point)) '(face mincho))

> This changed the face of the first one to "mincho". Good! But when I
> evaluated the following on the second one, its face turned into
> "mincho", not "gothic".

>       (set-text-properties (point) (1+ (point)) '(face gothic))

> I tested the same things on Emacs 21.3, resulting that the second one
> was displayed as "gothic".

Thank you for the bug report.  I've just installed a fix in
HEAD.  Please try again (be sure to use the newly
byte-compiled fontset.el).

Ken'ichi HANDA

reply via email to

[Prev in Thread] Current Thread [Next in Thread]