[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem with glyphs with face-id over 128 in unicode-2 emacs
From: |
Kim F. Storm |
Subject: |
Re: Problem with glyphs with face-id over 128 in unicode-2 emacs |
Date: |
Mon, 25 Feb 2008 15:40:38 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) |
Eduardo Ochs <eduardoochs@gmail.com> writes:
> Suppose that we have more than 128 faces defined, and that we want to
> make, say, all "\^O"s be displayed as "*"s with the face
> `face-with-id-138'; we would try to do this:
>
> (aset standard-display-table ?\^O
> (vector (make-glyph-code ?* 'face-with-id-138)))
>
> where, of course, face-with-id-138 is a face for which:
>
> (face-id 'face-with-id-138)
> ==> 138.
>
> Then we will notice that the "\^O"s get displayed using the face with
> face-id=10 instead (by the way: here (face-id 'highlight) is 10)...
Thank you for the very detailed bug report.
I am working on fixing this -- it requires some changes at the C level,
and it is not as straight-forward as I would have thought.
Stay tuned!
> Any ideas of workarounds - besides defining the faces that will be
> used for glyphs as early as possible?
Not really...
--
Kim F. Storm http://www.cua.dk