Go to the first, previous, next, last section, table of contents.
A glyph is a generalization of a character; it stands for an
image that takes up a single character position on the screen. Glyphs
are represented in Lisp as integers, just as characters are.
The meaning of each integer, as a glyph, is defined by the glyph
table, which is the value of the variable glyph-table
.
- Variable: glyph-table
-
The value of this variable is the current glyph table. It should be a
vector; the gth element defines glyph code g. If the value
is
nil
instead of a vector, then all glyphs are simple (see
below).
Here are the possible types of elements in the glyph table:
- string
-
Send the characters in string to the terminal to output
this glyph. This alternative is available on character terminals,
but not under a window system.
- integer
-
Define this glyph code as an alias for glyph code integer. You
can use an alias to specify a face code for the glyph; see below.
nil
-
This glyph is simple. On an ordinary terminal, the glyph code mod
524288 is the character to output. In a window system, the glyph code
mod 524288 is the character to output, and the glyph code divided by
524288 specifies the face number (see section Functions for Working with Faces) to use while
outputting it. (524288 is
See section Faces.
If a glyph code is greater than or equal to the length of the glyph
table, that code is automatically simple.
Go to the first, previous, next, last section, table of contents.