XMFONTLISTCREATE(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 πŸ’–

XmFontListCreate β€” bestie, it's a font list function that creates a font list ✨ (yes that's literally the whole job, she's a one-trick pony and she's iconic for it)


πŸŽ€ SYNOPSIS πŸŽ€

#include <Xm/Xm.h>
XmFontList XmFontListCreate(
XFontStruct * font,
XmStringCharSet charset);

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so XmFontListCreate makes a brand new font list with exactly one element in it, and that element is defined by the font and charset you hand her. She also does the alloc β€” the space for the font list gets allocated, so like, she's providing the whole package, no cap. 🫢

⚠️ NOTE, and listen up bestie: this function is obsolete πŸ’€ and it only exists for compatibility with previous releases. She's been replaced by XmFontListAppendEntry. So if you're writing new code, that's your girl. XmFontListCreate is giving "still here for the old heads" energy.
  • font β€” specifies a pointer to a font structure that the new font list is generated for. This is the structure that comes back from the XLib XLoadQueryFont function. 🧚
  • charset β€” specifies the character set identifier for the font. It can be XmSTRING_DEFAULT_CHARSET, but heads up, that value does not comply with the AES, and it may be removed in future versions of Motif. 😭 If the value is XmSTRING_DEFAULT_CHARSET, the routine derives the character set from the current language environment. main character energy fr.

🌸 RETURN 🌸

She returns NULL if font or charset is NULL. Otherwise? She returns a new font list. periodt. πŸ’…



and that's the whole page, bestie!! this one comes to you from the library call section of the manual β€” the source/version line and the date at the bottom just say XmFontListCreate(library call) all over again, so like, the footer is the header wearing a different outfit πŸ’– stay hydrated, go read XmFontListAppendEntry(3), mwah πŸŽ€βœ¨