Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ PEXLoadFont(3) — Open3D 4.96

Media Vault

Software Library

Restoration Projects

Artifacts Sought

PEXLoadFont(3)  —  Subroutines

Name

PEXLoadFont - Load PEX Font

Synopsis

PEXFont PEXLoadFont(Display ∗display, char ∗font_name)

Arguments

displayA pointer to a display structure returned by a successful XOpenDisplay call. 

font_nameThe font name (null-terminated string). 

Returns

The resource identifier of the loaded PEX font. 

Description

This function loads the specified PEX font, if necessary.  The font name should use the ISO Latin-1 encoding and case is not significant in matching names.  PEX fonts are not associated with a particular screen, and can be used with any renderer or PHIGS workstation resource.  An error will be generated if the specified font is not "PEX usable", that is, it is not capable of supporting the full range of PEX text attributes. 

Data Structures

typedef XID             PEXFont;

Errors

BadAllocThe server failed to allocate the resource. 

BadPEXFontThe specified font name does not name a usable PEX font. 

See Also

PEXUnloadFont

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026