pset_text_font(3g) — Subroutines
Name
pset_text_font − Selects the specified text font.
Operating States: PHOP, ∗, STOP, ∗
PHIGS standard function
Creates a structure element
Syntax
void pset_text_font (
Pint font /∗ (I) Text font. The default value is 1. ∗/
)
Description
pset_text_font selects the specified workstation-specific text font. Depending on the current edit mode, this function either inserts the new structure element directly after the element indicated by the pointer or replaces the element indicated by the pointer. The pointer then points to the new set text font element.
The set text font element sets the specified value for the current text font entry in the PHIGS traversal state list. If the current text font ASF entry in the PHIGS traversal state list is INDIVIDUAL, Digital PHIGS uses the text font value when traversing subsequent text, text 3, annotation text, and annotation text 3 primitives. If the ASF setting is BUNDLED, the value has no effect. Digital PHIGS uses the default font if the specified text font is not available at the workstation during structure traversal.
If Digital PHIGS is in immediate mode, it performs this function immediately, but the function does not create a structure element.
See Also
panno_text_rel
panno_text_rel3
pinq_text_extent
pinq_text_facs
pset_indiv_asf
pset_text_ind
pset_text_prec
pset_text_rep
pset_text_rep_plus
ptext
ptext3