emacs-devel
[Top][All Lists]
Advanced

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

Re: [Unicode-2] euro sign disappears


From: Katsumi Yamaoka
Subject: Re: [Unicode-2] euro sign disappears
Date: Fri, 16 Nov 2007 20:06:09 +0900
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.60 (gnu/linux)

>>>>> Kenichi Handa wrote:
> In article <address@hidden>,
>       Katsumi Yamaoka <address@hidden> writes:

> For euro sign, currently these fallback fonts (try M-x
> describe-fontset RET RET) are tried in this order by
> default.

>     -*-*-*-*-*-*-*-*-*-*-*-*-gb2312.1980*
>     -*-*-*-*-*-*-*-*-*-*-*-*-gbk-0

[...]

In my case, that's almost equal to yours.

> And, in Japanese language environment, the priority for
> jisx0213.2001 gets higher than Big5.  But, if a character
> has `charset' property, a font corresponding to that charset
> register gets the highest priority.

I see.  FYI, I have no X resouce for Emacs since I'd like to
specify everything in the ~/.emacs file (so, -Q option makes
a true vanilla Emacs in a sense).  Now I have only the following
fontset things for Emacs Unicode-2.

(cond
 ((string-match "\\`6" mule-version)
  (set-fontset-font
   "-*-*-*-*-*-*-*-*-*-*-*-*-fontset-default"
   'japanese-jisx0208
   "-sony-fixed-medium-r-normal-*-16-*-*-*-*-*-jisx0208.1983-0")
  (set-fontset-font
   "-*-*-*-*-*-*-*-*-*-*-*-*-fontset-default"
   'latin-jisx0201
   "-sony-fixed-medium-r-normal-*-16-*-*-*-*-*-jisx0201.1976-0")
  ;; Euro sign.
  (set-fontset-font
   "-*-*-*-*-*-*-*-*-*-*-*-*-fontset-default"
   'latin-iso8859-15
   "-*-*-*-*-*-*-*-*-*-*-*-*-*-*")))

(I don't know why the all-wild font spec for Latin-9 works.)

>> (set-fontset-font
>>  "-*-*-*-*-*-*-*-*-*-*-*-*-fontset-default"
>>  'iso-8859-15
>>  "-*-*-*-r-*-*-*-*-*-*-*-*-iso8859-15")

> I'll add that in fontset.el

>> For the Japanese lang env, maybe I need to upgrade the ksc5601
>> font.

> It may be possible to avoid using a font that has empty
> glyph for non-spacing characters.  I'll put that in my todo
> list.

Thanks.  Have a nice weekend.




reply via email to

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