unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Katsumi Yamaoka <yamaoka@jpl.org>
To: Kenichi Handa <handa@ni.aist.go.jp>
Cc: emacs-devel@gnu.org
Subject: Re: [Unicode-2] euro sign disappears
Date: Fri, 16 Nov 2007 20:06:09 +0900	[thread overview]
Message-ID: <b4mir42v49q.fsf@jpl.org> (raw)
In-Reply-To: E1IsyNa-0006aN-Kx@etlken.m17n.org

>>>>> Kenichi Handa wrote:
> In article <b4mmytezm3k.fsf@jpl.org>,
>	Katsumi Yamaoka <yamaoka@jpl.org> 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	other threads:[~2007-11-16 11:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-16  6:17 [Unicode-2] euro sign disappears Katsumi Yamaoka
2007-11-16  7:10 ` Kenichi Handa
2007-11-16  7:27   ` Katsumi Yamaoka
2007-11-16 10:24     ` Kenichi Handa
2007-11-16 11:06       ` Katsumi Yamaoka [this message]
2007-11-16 15:39       ` Stefan Monnier
2007-11-16 12:41 ` Robert J. Chassell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b4mir42v49q.fsf@jpl.org \
    --to=yamaoka@jpl.org \
    --cc=emacs-devel@gnu.org \
    --cc=handa@ni.aist.go.jp \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).