3 ms·
The PDF format was intended to be an explicit per page device independant description of text, line path, and image layout subject to clipping with no "program
by defrost 3y ago
The PDF format was intended to be an explicit per page device independant description of text, line path, and image layout subject to clipping with no "program running" elements to it.
It followed PostScript which was a programming language that was intended to be directly undertood and runnable by Postscript enabled printers.
Postscript could easily do the job here, it had "arc" drawing primitives that described circles (both full and partial).
The 'failure' of Postscript was that as a programming languge a bad .ps job could crash a printer and a 1,500 page .ps document had to be internally fully rendered just to print out page 73 only (potentially code on any 'page' could loop back or forward and generate image elements on any page).
As a not-quite PostScript simplified 'other' the PDF formal languaage spec only allows the drawing of lines and 'curves' and curves are explicitly 3rd order bezier splines.
See: Path Operators (Page 95)
Portable Document Format Reference Manual (230 pages)
https://opensource.adobe.com/dc-acrobat-sdk-docs/pdfstandards/pdfreference1.0.pdf https://opensource.adobe.com/dc-acrobat-sdk-docs/pdfstandard...
- hinkley 3y agoSVG would likely be a better target today.