Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

DwtCreateFontList(3Dwt)

Name

DwtCreateFontList − Creates a new font list. 

Syntax

DwtFontList DwtCreateFontList(font, charset)
     XFontStruct *font;
     long charset;

Arguments

fontSpecifies a pointer to a font structure for which the new font list is generated. 

charsetSpecifies the character set identifier for the font.  Values for this argument can be found in the required file /usr/include/cda_def.h. 

Description

The DwtCreateFontList function creates a new font list for the font and character set.  It also allocates the space for the font list.  The end of the font list is marked by an element whose character set value is -1. 

Return Value

This function returns a new font list.  However, it returns NULL if the font specified in font is NULL. 

See Also

DwtAddFontList (3Dwt)
Guide to the XUI Toolkit: C Language Binding
Guide to the XUI Toolkit Intrinsics: C Language Binding

Subroutines

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