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 πŸ’…


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