PS_ADD_KERNING(3)

πŸ’– PS_ADD_KERNING(3) πŸ’–

okay bestie, listen up β€” this is a page from the Library Functions Manual, and it's all about PS_add_kerning. yes, kerning. the thing that makes letters stop awkwardly bumping into each other. it's giving typography glow-up ✨


🌸 NAME 🌸

PS_add_kerning β€” add new kerning to font πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <pslib.h>

void PS_add_kerning(PSDoc *psdoc, int fontid, const char *glyphname1,
const char *glyphname2, int kern)

✨ DESCRIPTION ✨

So basically, this one adds a brand new kerning pair to a font that's already loaded. Like, the font's already at the party, and you're just sliding in with one more lil spacing adjustment. πŸŽ€

It was mainly provided so you can add kerning information to Type3 fonts that you made with PS_begin_font(3) β€” that's its whole origin story, its main character era πŸ‘‘ β€” but ngl, it can also be used for fonts loaded with PS_findfont(3). versatile icon behavior fr fr.

lowkey important lore: PS_add_kerning has been introduced in version 0.4.0 of pslib. no cap.

🌈 SEE ALSO 🌈


πŸ’œ AUTHOR πŸ’œ

This manual page was written by Uwe Steinmann uwe@steinmann.cx. shoutout to the author, we stan 🫢


and that's the whole page babes, tysm for reading πŸ“ this was PS_ADD_KERNING(3) from the Library Functions Manual β€” no date on this one, she's timeless πŸ’€βœ¨ mwah, go kern something cute πŸ’–

πŸ“¦ where this page comes from