[ Previous | Next | Contents | Glossary | Home | Search ]
The graPHIGS Programming Interface : Subroutine Reference

GPTXFO - Set Text Font

GPTXFO (font)

Purpose

Use GPTXFO to insert a Set Text Font structure element into the open structure following the element pointer or to replace the element pointed at by the element pointer with a Set Text Font structure element depending on the current edit mode.

This structure element specifies a font identifier that the graPHIGS API uses to render all subsequent annotation and geometric text primitives. At structure traversal time, the graPHIGS API uses this identifier when the text font aspect source flag is set to 2=INDIVIDUAL

The traversal default for annotation and geometric text font is font 1.

Parameters

font -- specified by user, fullword integer

Specifies the text font to be used (>=1)

If a value is encountered that is unavailable (unsupported or inactive), font 1 of that character set is substituted. If that font is unavailable, font 1 of the primary character set is substituted at the same precision.

For a complete list of supported fonts, see The graPHIGS Programming Interface: Technical Reference For specific workstation support, use Inquiry programming subroutines ( Chapter 16. "Inquire Subroutines" or see The graPHIGS Programming Interface: Technical Reference )

Error Codes

5
FUNCTION REQUIRES STATE STOP OR NROP (NOT STCL)
75
TEXT FONT VALUE IS INVALID

Related Subroutines

GPASF
Attribute Source Flag Setting
GPQPTR
Inquire Predefined Text Representation
GPQXTR
Inquire Extended Text Representation
GPTXCS
Set Text Character Set
GPXTXR
Set Extended Text Representation

RCP code

201328647 (X'0C000807')


[ Previous | Next | Contents | Glossary | Home | Search ]