Charsets have the following properties:
namedoc-stringregistryascii and latin-iso8859-1
charsets use the registry "ISO8859-1". This field is used to
choose an appropriate font when the user gives a general font
specification such as ‘-*-courier-medium-r-*-140-*’, i.e. a
14-point upright medium-weight Courier font.
dimensioncharscolumnsdirectionl2r (left-to-right) or r2l
(right-to-left). Defaults to l2r. This specifies the
direction that the text should be displayed in, and will be
left-to-right for most charsets but right-to-left for Hebrew
and Arabic. (Right-to-left display is not currently implemented.)
finalgraphicgraphic set to 0,
position codes 33 through 126 map to font indices 33 through 126; with
it set to 1, position codes 33 through 126 map to font indices 161
through 254 (i.e. the same number but with the high bit set). For
example, for a font whose registry is ISO8859-1, the left half of the
font (octets 0x20 - 0x7F) is the ascii charset, while the right
half (octets 0xA0 - 0xFF) is the latin-iso8859-1 charset.
ccl-programgraphic
property. If a CCL program is defined, the position codes of a
character will first be processed according to graphic and
then passed through the CCL program, with the resulting values used
to index the font.
This is used, for example, in the Big5 character set (used in Taiwan).
This character set is not ISO-2022-compliant, and its size (94x157) does
not fit within the maximum 96x96 size of ISO-2022-compliant character
sets. As a result, SXEmacs/MULE splits it (in a rather complex fashion,
so as to group the most commonly used characters together) into two
charset objects (big5-1 and big5-2), each of size 94x94,
and each charset object uses a CCL program to convert the modified
position codes back into standard Big5 indices to retrieve a character
from a Big5 font.
Most of the above properties can only be set when the charset is initialized, and cannot be changed later. See Charset Property Functions.