Next: , Previous: , Up: Charsets   [Contents][Index]


66.2.2 Basic Charset Functions

Function: find-charset charset-or-name

This function retrieves the charset of the given name. If charset-or-name is a charset object, it is simply returned. Otherwise, charset-or-name should be a symbol. If there is no such charset, nil is returned. Otherwise the associated charset object is returned.

Function: get-charset name

This function retrieves the charset of the given name. Same as find-charset except an error is signalled if there is no such charset instead of returning nil.

Function: charset-list

This function returns a list of the names of all defined charsets.

Function: make-charset name doc-string props

This function defines a new character set. This function is for use with MULE support. name is a symbol, the name by which the character set is normally referred. doc-string is a string describing the character set. props is a property list, describing the specific nature of the character set. The recognized properties are registry, dimension, columns, chars, final, graphic, direction, and ccl-program, as previously described.

Function: make-reverse-direction-charset charset new-name

This function makes a charset equivalent to charset but which goes in the opposite direction. new-name is the name of the new charset. The new charset is returned.

Function: charset-from-attributes dimension chars final &optional direction

This function returns a charset with the given dimension, chars, final, and direction. If direction is omitted, both directions will be checked (left-to-right will be returned if character sets exist for both directions).

Function: charset-reverse-direction-charset charset

This function returns the charset (if any) with the same dimension, number of characters, and final byte as charset, but which is displayed in the opposite direction.


Next: , Previous: , Up: Charsets   [Contents][Index]