emacs-devel
[Top][All Lists]
Advanced

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

Re: bug of display-table & make-glyph-code


From: Kenichi Handa
Subject: Re: bug of display-table & make-glyph-code
Date: Mon, 10 Sep 2007 11:43:32 +0900
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/23.0.0 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

In article <address@hidden>, Richard Stallman <address@hidden> writes:

>     But, then, it seems that the design is broken (or got broken
>     because of introduction of multibyte characters).  It grows
>     glyph-table one by one.  So, at some point a glyph code is
>     simply a character code, but after several calls of
>     create-glyph, that same glyph code becomes an index into
>     glyph-table, and is displayed differently.

> Those codes are meaningless as characters.  They start at 256.
> Meaningful Mule characters codes are much larger.

The current problem is with emacs-unicode-2, and in it, 256
is a valid Unicode character codes for U+0100 (LATIN CAPITAL
LETTER A WITH MACRON).

> If you were to define thousands of glyph codes, you might get into the
> range of meaningful Mule characters.  Then indeed things would break.
> So there is a bug, in that this could happen.  But it is not the case
> that all use of create-glyph is broken.

> I am not sure whether create-glyph is very useful nowadays.
> Maybe it is obsolete, due to Mule.  Who still ses it
> and why does he use it?

I want to know that too.

---
Kenichi Handa
address@hidden




reply via email to

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