DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 

XmMapSegmentEncoding(Xm)


XmMapSegmentEncoding -- a compound string function that returns the compound text encoding format associated with the specified font list tag

Syntax

#include <Xm/Xm.h>

char * XmMapSegmentEncoding (fontlist_tag) char *fontlist_tag;

Description

XmMapSegmentEncoding searches the segment encoding registry for an entry that matches the specified font list tag and returns a copy of the associated compound text encoding format. The application is responsible for freeing the storage associated with the returned data by calling XtFree.

fontlist_tag
Specifies the compound string font list tag.

Return value

Returns a copy of the associated compound text encoding format if the font list tag is found in the registry; otherwise, returns NULL.

See also

XmCvtXmStringToCT(Xm), XmFontList(Xm), XmRegisterSegmentEncoding(Xm) and XmString(Xm).
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003