Sun Microsystems 800-1256-04 — Sun Microsystems 800-1256-04 SunCGI Reference Manual PDF (EN)

Chapter 4 - Attributes 69 0 typedef enum { STRING, CHARACTER, STROKE Cprectype; If the text precision is set to STRING, the firmware character set is used. Note: firmware characters cannot be scaled or rotated. Characters are clipped, but not in parts (that is, if any portion of the character exceeds the clipping boundary the whole character is clipped). If the text preci- sion is set to CHARACTER, software generated characters are employed and char- acters are clipped, but not in parts. All text attributes have a visible effect on software generated characters. If the text precision is set to STROKE, the CHAR- ACTER precision capabilities are enabled and characters are clipped in parts.

The default text precision is STRING. Errors ENOTOPOP [5] CGI not in proper state CGI shall be in state VDOP, VSOP, or VSAC. EBTBUNDL [30] ASF is BUNDLED. Character Set Index Cerror character_set_index(index) Cint index; /* font set*/ 0 character set index selects a set of fonts. Although SunCGI supports - - this function, only set number I is defined. Calls to character_set_index with index assigned to a value other than I are ignored. Errors ENOTOPOP [5] CGI not in proper state CGI shall be in state VDOP, VSOP, or VSAC. Text Font Index Cerror text_font_index(index) Cint index; /*font*/ text_font_index determines the current font.

A list of available fonts and their availability when text precision is set to STRING is given in Table 4-3. A warning about the SYMBOL font: undefined characters are displayed as bugs (the six-legged kind). The default font is STICK. Errors ENOTOPOP [5] CGI not in proper state CGI shall be in state VDOP, VSOP, or VSAC. EBTBUNDL [30] ASF is BUNDLED. ETXTFLIN [47] Text font is invalid. 0 Version C of 17 March 1986