Sun Microsystems 800-1256-04 — Sun Microsystems 800-1256-04 SunCGI Reference Manual PDF

70 SunCGI Reference Manual Table 4-3 Available Fonts I 01 Font I String Precision ROMAN Yes GREEK Yest SCRIPT Yes OLD ENGLISH No STICK Yes SYMBOLS No t displayed as STICK font. Character Expansion Factor Cerror character_expansion_factor(efac) Cfloat efac; /* width factor*/ character_ expansion_factor determines the width-to-height ratio of characters. If efac is greater than 1 the characters appear fatter than they are wide. If efac is less than 1 the characters appear slimmer than they are wide. The default character expansion factor is 1.0. An error is generated if efac is less than 0.01 or greater than 10.

Errors ENOTOPOP [5] CGI not in proper state CGI shall be in state VDOP, VSOP, or VSAC. EBTBUNDL [30] ASP is BUNDLED. 0 ECEXFOOR [48] Expansion factor is out of range. Character Spacing Cerror character_spacing(spcratio) Cfloat spcratio; /* spacing ratio*/ character_spacing sets the spacing between characters based on the height of the characters. The amount of space between characters is obtained by multi- plying the character height by spcratio. The default character spacing factor is 0.1. An error is generated if spcratio is less than -10 or greater than 10. Errors ENOTOPOP [5] CGI not in proper state CGI shall be in state VDOP, VSOP, or VSAC. EBTBUNDL [30] ASP is BUNDLED.

ECEXFOOR [48] Expansion factor is out of range. Character Height Cerror character_height(height) Cint height; /* height in VDC */ Toe character height function determines the height of text in VDC units. The height is defined as the distance from the top to the bottom of the character. Notice that changing the character height implicitly changes the character spac- ing. 0 Version C of 17 March 1986