PS_BEGIN_GLYPH(3)
π NAME π
PS_begin_glyph β starts a new glyph in a Type3 font πβ¨
πΈ SYNOPSIS πΈ
#include <pslib.h>
void PS_begin_glyph(PSDoc *psdoc, const char *glyphname, double wx,
double llx, double lly, double urx, double ury)
π¦ DESCRIPTION π¦
okay bestie so basically PS_begin_glyph opens up a whole new glyph inside a Type3 font. like, it's the opening move π
and the glyph itself? you actually draw it with a subset of the regular drawing functions β think PS_lineto(3) and friends. so you're like, hand-crafting the lil shape yourself. iconic tbh π«Ά
the glyphname is arbitrary β you can literally call it whatever β but fr fr, it's usually something you'll find in the input encoding vector, so that PS_show(3) can actually reach it later. no cap.
then the floating point parameters? those describe the width plus the lower left and upper right corner of the bounding box that wraps around your glyph. it's giving "here's exactly where my baby lives on the page" π¦β¨
β οΈ IMPORTANT β οΈ β every single call ofPS_begin_glyphmust be accompanied by a call toPS_end_glyph(3). like, they're a package deal. don't leave it hanging, that's so rude π
PS_begin_glyph has been introduced in version 0.4.0 of pslib. throwback era β
π SEE ALSO π
PS_end_glyph(3)PS_begin_font(3)PS_end_font(3)
π AUTHOR π
this manual page was written by Uwe Steinmann uwe@steinmann.cx. ty bestie for the docs π«Άπ
and that's the whole vibe check on PS_BEGIN_GLYPH(3) from the Library Functions Manual π go forth and draw ur glyphs, main character π§β¨π
π¦ 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