[Top][All Lists]

[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: Fri, 07 Sep 2007 14:11:35 +0900

In article <address@hidden>, address@hidden (Kim F. Storm) writes:

> Richard Stallman <address@hidden> writes:
> >     > Can someone reproduce the OP's behavior with Emacs 22 ?
> >
> >     Neither with Emacs 22 nor the current CVS trunk.
> >
> > If we cannot make it fail, we can cross it off the list.
> > Would you please?

> The problem is related to the way we encode face numbers in
> glyph codes (as an integer).

> The number of bits left over in a glyph code for the face number
> is vastly reduced on the unicode-2 branch, so as soon as we
> merge that to the trunk, the problem will certainly be
> visible on trunk.

> The solution is to find some other way to merge a face with a
> char-code to make a glyph code.  We have discussed this some
> time ago.

> One suggestion was to use a cons (CHAR . FACE_ID).

I started to study the glyph related codes, and ran into the
function create-glyph (disp-table.el).  It is a strange
function,q and I don't understand how to utilize it.  Could
someone please explain it?

Kenichi Handa

reply via email to

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