Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ PEXQueryFont(3) — Open3D 4.96

Media Vault

Software Library

Restoration Projects

Artifacts Sought

PEXQueryFont(3)  —  Subroutines

Name

PEXQueryFont - Query PEX Font Information

Synopsis

PEXFontInfo ∗PEXQueryFont(Display ∗display, PEXFont font)

Arguments

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

fontThe resource identifier of the font. 

Returns

A pointer to the font info structure; a null pointer if unsuccessful. 

Description

This function returns information about the specified PEX font.  The information returned is identical to what PEXListFontsWithInfo would return.

PEXlib allocates memory for the returned list of font information.  PEXFreeFontInfo should be called to deallocate the memory.

Data Structures

typedef XID             PEXFont;
typedef struct {
    unsigned long       first_glyph;
    unsigned long       last_glyph;
    unsigned long       default_glyph;
    Bool                all_exist;
    Bool                stroke;
    unsigned short      count;
    PEXFontProp         ∗props;
} PEXFontInfo;
typedef struct {
    Atom                name;
    unsigned long       value;
} PEXFontProp;

Errors

BadPEXFontThe specified font resource identifier is invalid. 

See Also

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