2 ms·
>> PDFs can, and typically do, contain postscript. > No, they don’t. That’s like saying PNG files can contain postscript code because tools exist that convert
by dahart 9y ago
>> PDFs can, and typically do, contain postscript.
> No, they don’t. That’s like saying PNG files can contain postscript code because tools exist that convert postscript to .png.
It's clear you know the difference between PS and PDF, so don't you think your straw man example is a bit exaggerated? PDF is originally based on PS, and it has 1:1 correspondence for almost all it's rendering features with PS. PNG is completely different, since it's a raster format, it doesn't share any drawing operations with PS.
You could have offered a gentle nitpick that PDF is interpreted PS rather than source PS, but claiming @pletnes' comment is completely wrong, when it isn't, makes your comment seem both unnecessarily snarky and somewhat off base, FWIW.
"PDF contains tokenized and interpreted results of the PostScript source code, for direct correspondence between changes to items in the PDF page description and changes to the resulting page appearance."
https://en.m.wikipedia.org/wiki/PDF https://en.m.wikipedia.org/wiki/PDF