[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug of display-table & make-glyph-code
From: |
Richard Stallman |
Subject: |
Re: bug of display-table & make-glyph-code |
Date: |
Sat, 08 Sep 2007 03:00:48 -0400 |
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.
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?
But, for instance, the return value of (make-glyph-code 256)
is a simple glyph or not depending on the current length of
glyph-table.
Code 256 is useful only if you have defined it as an entry in
the glyph table.
- Re: bug of display-table & make-glyph-code, (continued)
- Re: bug of display-table & make-glyph-code, Kim F. Storm, 2007/09/05
- Re: bug of display-table & make-glyph-code, martin rudalics, 2007/09/05
- Re: bug of display-table & make-glyph-code, Kim F. Storm, 2007/09/05
- Re: bug of display-table & make-glyph-code, Kenichi Handa, 2007/09/07
- Re: bug of display-table & make-glyph-code, Eli Zaretskii, 2007/09/07
- Re: bug of display-table & make-glyph-code, Kenichi Handa, 2007/09/07
- Re: bug of display-table & make-glyph-code, Eli Zaretskii, 2007/09/07
- Re: bug of display-table & make-glyph-code,
Richard Stallman <=
- Re: bug of display-table & make-glyph-code, Kenichi Handa, 2007/09/09
- Re: bug of display-table & make-glyph-code, Eli Zaretskii, 2007/09/09
- Re: bug of display-table & make-glyph-code, Richard Stallman, 2007/09/07
- Re: bug of display-table & make-glyph-code, Richard Stallman, 2007/09/09
- Re: bug of display-table & make-glyph-code, Kenichi Handa, 2007/09/10
- Re: bug of display-table & make-glyph-code, Stefan Monnier, 2007/09/10
- Re: bug of display-table & make-glyph-code, Kenichi Handa, 2007/09/10
- Re: bug of display-table & make-glyph-code, Kim F. Storm, 2007/09/10
- Re: bug of display-table & make-glyph-code, Leo, 2007/09/11
- Re: bug of display-table & make-glyph-code, Stefan Monnier, 2007/09/11