XMREGISTERSEGMENTENCODING(3)

πŸ“¦
version 2.5.2 Β· 2 versions
, in alpine 3.24, arch rolling, centos-stream 9, epel 10, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0

✨ NAME ✨

XmRegisterSegmentEncoding β€” a compound string function that registers a compound text encoding format for a specified font list element tag. It’s giving β€œfont-tag registry realness,” bestie. πŸ’…


🌸 SYNOPSIS 🌸

#include <Xm/Xm.h>
char * XmRegisterSegmentEncoding(
char *fontlist_tag,
char *ct_encoding);

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so XmRegisterSegmentEncoding registers a compound text encoding format with the specified font list element tag. The XmCvtXmStringToCT function 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. No cap.

  • 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. Bestie, do not skip the free. πŸ’€



That’s the whole vibe, bestie β€” this page is from the XmRegisterSegmentEncoding library call section. Source/version: XmRegisterSegmentEncoding(library call). No extra date stamp on this one, just the library call energy. πŸ’–βœ¨πŸŽ€