PS_GLYPH_LIST(3)
β¨ PS_GLYPH_LIST β¨
okay bestie, welcome to the pslib library functions manual, section 3 π
this one's about PS_glyph_list, and it's genuinely so useful, no cap π«Ά
πΈ NAME πΈ
PS_glyph_list β returns the list of glyph names in a font π
π¦ SYNOPSIS π¦
#include <pslib.h>
char ** PS_glyph_list(PSDoc *psdoc, int fontid, char ***glyphlist, int *len)
π DESCRIPTION π
so here's the vibe: PS_glyph_list hands you back the list of glyph names that are chillin' in the current font, or in the font you point at with fontid π
and like, the way it works β the function allocates the memory for that array of glyph names itself, which means it's your job (well, the calling application's job) to free it later using PS_free_glyph_list(3). don't ghost that memory bestie, that's a leak π
the list has len entries, and it comes in no particular order β so don't go expecting alphabetical, it's giving chaos and we respect it π¦β¨
π fun fact: PS_glyph_list has been in the game since version 0.4.0 of pslib. iconic behavior honestly.
π SEE ALSO π
π AUTHOR π
this manual page was written by Uwe Steinmann β uwe@steinmann.cx π«Ά ty king
and that's the whole page bestie!! this was the PS_GLYPH_LIST(3) entry from the pslib Library Functions Manual β section 3, library functions, we love her ππ go free your glyph lists and slay π
β¨
π¦ where this page comes from
- debian bookworm: pslib-dev 0.4.7-1+b1
- debian trixie: pslib-dev 0.4.8-1+b1
- ubuntu jammy: pslib-dev 0.4.7-1
- ubuntu noble: pslib-dev 0.4.7-1build2
- ubuntu questing: pslib-dev 0.4.8-1
- ubuntu resolute: pslib-dev 0.4.8-1build1
- ubuntu stonking: pslib-dev 0.4.8-3 Β· GPL-2.0-or-later OR LGPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms