XExtentsOfFontSet(3)
β¨ NAME β¨
okay bestie, welcome to the XExtentsOfFontSet(3) glow-up β she lives in the Xlib functions manual, and her whole thing is: obtain the maximum extents structure for a font set. π
πΈ SYNTAX πΈ
XFontSetExtents *XExtentsOfFontSet(XFontSet font_set);
π ARGUMENTS π
font_setβ Specifies the font set. like, the actual font set you're asking about, periodt. π«Ά
π¦ DESCRIPTION π¦
The XExtentsOfFontSet function returns an XFontSetExtents structure for the fonts used by the Xmb and Xwc layers for the given font set. no cap, that's the whole return situation. β¨
okay so the XFontSetExtents structure is owned by Xlib β she is not yours to modify or free, bestie. do not touch her like that. π She will be freed by a call to XFreeFontSet with the associated XFontSet. And until she gets freed, her contents will not be modified by Xlib. so she's just chilling there, untouched. π
lowkey important: don't modify or free that structure yourself β Xlib's got custody, and XFreeFontSet is the one who handles the freeing. π
π SEE ALSO π
XCreateFontSet(3)XFontsOfFontSet(3)XFontSetExtents(3)Xlib - C Language X Interface
and that's the whole vibe check, bestie π¦ this iconic little page is serving X Version 11 / libX11 1.8.14 realness β the original footer has no date line, so we're not inventing one, periodt. mwah ππ
π¦ where this page comes from
- alpine 3.24: libx11-doc 1.8.14-r0 Β· X11
- arch rolling: libx11 1.8.14-1 Β· MIT AND X11
- nixos 26.05: libx11 1.8.14
- nixpkgs unstable: libx11 1.8.14
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms