DOKK / manpages / debian 12 / libmotif-dev / XmMapSegmentEncoding.3.en
XmMapSegmentEncoding(3) Library Functions Manual XmMapSegmentEncoding(3)

XmMapSegmentEncoding — A compound string function that returns the compound text encoding format associated with the specified font list tag "XmMapSegmentEncoding" "compound string functions" "XmMapSegmentEncoding"

#include <Xm/Xm.h>
char * XmMapSegmentEncoding(
char *fontlist_tag);

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.

Specifies the compound string font list tag

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

XmCvtXmStringToCT(3), XmFontList(3), XmRegisterSegmentEncoding(3), and XmString(3).