PS_GLYPH_SHOW(3)

✨ PS_GLYPH_SHOW(3) ✨

okay bestie so this is a page from the Library Functions Manual and it's about one very specific little function called PS_glyph_show πŸ’– she's niche, she's powerful, let's get into it


🌸 NAME 🌸

PS_glyph_show β€” output glyph by name πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <pslib.h>

void PS_glyph_show(PSDoc *psdoc, const char *glyphname)

πŸ’… DESCRIPTION πŸ’…

So what she does: PS_glyph_show outputs the glyph whose name is glyphname. That's it, that's the whole job, and she does it flawlessly ✨

Here's the tea though β€” this function is similar to PS_symbol(3), but with one iconic little difference: she does not take the current font encoding vector into account. Not even a little. She said "encoding vector? don't know her" πŸ’€

And that's exactly why she's useful! She's the one you call when you need to output an arbitrary glyph β€” one that you just can't reach through the font encoding vector. Like, the encoding vector said no, but PS_glyph_show said watch me πŸ‘‘

πŸ“Œ fun fact: PS_glyph_show has been introduced in version 0.4.0 of pslib. so she's been serving since 0.4.0, no cap 🫢

🌈 SEE ALSO 🌈

  • PS_symbol(3) β€” her cousin who does care about the encoding vector 🧚

πŸ‘‘ AUTHOR πŸ‘‘

This manual page was written by Uwe Steinmann uwe@steinmann.cx πŸ’œ


and that's the whole page bestie!! this one came to you from the Library Functions Manual, filed under PS_GLYPH_SHOW(3) β€” mwah, slay, go output some glyphs πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from