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

SET TEXT FONT (PHOP,*,STOP,*)

Purpose

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

At structure traversal time, the graPHIGS API uses the specified font identifier in this structure element to render all subsequent annotation and geometric text primitives when the text font aspect source flag is set to INDIVIDUAL (Set Individual ASF).

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

The graPHIGS API implicitly makes available fonts 1 and 2 of the US English character set when an application issues an ISO PHIGS Open Workstation subroutine call (Open Workstation). For an illustration of those fonts refer to The graPHIGS Programming Interface: Technical Reference. In The graPHIGS Programming Interface: Technical Reference, the U.S. English character set is referred to as Character Set 1. This is the number associated with this character set when using the GPxxxx interface.

Language Bindings

C

pset_text_font (font)

Input Parameters

Pint font
Text font.

FORTRAN

PSTXFN (font)

Input Parameters

integer font
Text font.

Errors

5
Function Requires State (PHOP,*,STOP,*)

Related Subroutines

  • Inquire Predefined Text Representation

  • Inquire Text Representation

  • Set Individual ASF

  • Set Text Representation


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