Every presentation space has a current character mode, which determines the extent to which a font can be affected by the attributes defined in CHARBUNDLE. The mode affects compatibility issues that are invisible to both the user and the programmer. The following table describes the character modes and their influences on the current font.
An application selects a character mode using GpiSetCharMode. When a mode is selected, it applies to any font (including the system font) used while the mode is current. The character mode takes effect when you draw character strings; it has no effect at the time you define a logical font.
Character Mode Effects on Character Attributes
ÚÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³Character ³If Image Font... ³If Outline Font... ³ ³Mode ³ ³ ³ ÃÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³CM_MODE1 ³Ignores all current ³Affected by all ³ ³ ³character attributes, except³current character ³ ³ ³character direction. ³attributes. ³ ÃÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³CM_MODE2 ³Uses the character shear, ³Affected by all ³ ³ ³box, angle, and direction ³current character ³ ³ ³attributes to position the ³attributes. ³ ³ ³character cell, but the ³ ³ ³ ³characters themselves are ³ ³ ³ ³not sheared, rotated, ³ ³ ³ ³scaled, or reversed. ³ ³ ÃÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³CM_MODE3 ³Raises an error if you try ³Affected by all ³ ³ ³to draw a character string. ³current character ³ ³ ³Note: Any font used when ³attributes. ³ ³ ³the current character mode ³ ³ ³ ³is CM_MODE3 must be an ³ ³ ³ ³outline font. ³ ³ ÀÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
The default character mode (CM_DEFAULT) is identical to CM_MODE1.