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

GPAFDW - Associate Font Directory with Workstation

GPAFDW (wsid, fdid)

Purpose

Use GPAFDW to associate a font directory with a workstation. If there is a font directory associated with the workstation, it is replaced by the new one. Only one font directory can be associated to a workstation at any one time.

Associating a font directory to a workstation allows any character set/font loaded in the directory to be activated to the workstation.

Fonts that reside in the directory take precedence over fonts that exist on the nucleus disk system when they are activated to the workstation.

Parameters

wsid -- specified by user, fullword integer

Workstation identifier.

fdid -- specified by user, fullword integer

Font directory identifier.

Error Codes

25
SPECIFIED WORKSTATION DOES NOT EXIST
35
WORKSTATION HAS ONLY INPUT CAPABILITIES
215
SPECIFIED RESOURCES DO NOT EXIST ON THE SAME NUCLEUS
242
SPECIFIED FONT DIRECTORY DOES NOT EXIST

Related Subroutines

GPACFO
Activate Font
GPCRFD
Create Font Directory
GPDAFO
Deactivate Font
GPLDFO
Load Font

RCP code

201337351 (X'0C002A07')


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