by aidos · 2w ago · 0 comments
Digging into these details is closer to digital archeology than anything else.
The glyphs inside Type3 fonts are themselves PS programs, right? Theres so much interesting history hidden inside the structure (and in some cases you find weird little edges in the codebases that define the behaviour in a way where that’s likely the only place it lives). There’s decades of legacy in how to draw things with computers.
Glad I’m not the only one who still thinks it’s fascinating enough to spend time understanding!
PDF began life as a simplified PS, stripping out the programmability aspects of the language and then gradually adding in new complications along the way because, it seems, any document specification language eventually evolves into a Turing-complete programming language.
Yes, Type 3 was relatively easy to implement. There are two variants, Type 3 for PostScript and Type 3 for PDF. The PostScript variant contains PostScript operators and the PDF contains PDF operators.
I don't convert between the two, just draw the glyphs to the driver.