XmMapSegmentEncoding(3X)XmMapSegmentEncoding(3X)NAME
XmMapSegmentEncoding - A compound string function that returns the compound text encoding format associated with the specified font list
tag
SYNOPSIS
#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. 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(3X), XmFontList(3X), XmRegisterSegmentEncoding(3X), XmString(3X)XmMapSegmentEncoding(3X)
Check Out this Related Man Page
XmRegisterSegmentEncoding(library call) XmRegisterSegmentEncoding(library call)
NAME
XmRegisterSegmentEncoding -- A compound string function that registers a compound text encoding format for a specified font list element
tag
SYNOPSIS
#include <Xm/Xm.h>
char * XmRegisterSegmentEncoding(
char *fontlist_tag,
char *ct_encoding);
DESCRIPTION
XmRegisterSegmentEncoding registers a compound text encoding format with the specified font list element tag. The XmCvtXmStringToCT func-
tion uses this registry to map the font list tags of compound string segments to compound text encoding formats. Registering a font list
tag that already exists in the registry overwrites the original entry. You can unregister a font list tag by passing a NULL value for the
ct_encoding parameter.
fontlist_tag
Specifies the font list element tag to be registered. The tag must be a NULL-terminated ISO8859-1 string.
ct_encoding
Specifies the compound text character set to be used for segments with the font list tag. The value must be a NULL-terminated
ISO8859-1 string. A value of XmFONTLIST_DEFAULT_TAG maps the specified font list tag to the code set of the locale.
RETURN
Returns NULL for a new font list tag or the old ct_encoding value for an already registered font list tag. The application is responsible
for freeing the storage associated with the returned data (if any) by calling XtFree.
RELATED XmCvtXmStringToCT(3), XmFontList(3), XmMapSegmentEncoding(3), and XmString(3).
XmRegisterSegmentEncoding(library call)
Hi Folks,
Today hasn't been the best one of my career in IT.
I've been a contractor for a major utility company for a number of years, on a number of seperate IT contracts mostly Unix. The company had 10 different flavours of unix and multiple different varsions of most of them.
At the... (3 Replies)