News for hackers. Stuff that matters.
Re:PostScript Language Reference (1999) [pdf] by xpressvideoz on Sunday April 18, 2021 @08:27PM (#26857961)
Wouldn't that be slower? To this day, despite the continued efforts to improve the rendering speed, I hesitate a bit before opening PDF files due to their heaviness. In that alternative universe, would it be possible to optimize PS renderers to be on a par with HTML+CSS+JS renderers? I also guess such "webpages" would require more bandwidth because they need to include every font glyph used.
Re:PostScript Language Reference (1999) [pdf] by kccqzy on Sunday April 18, 2021 @09:17PM (#26858256)
PDF files can be heavy or light, just like a webpage can be heavy or light. These days most PDF files are machine generated without much care for file size and you get their stereotypical heaviness. If you take a bad webpage generator (such as Word 2003) you get highly complex and redundant markups too.

Also PDFs can embed font glyphs. That doesn't mean they have to. Common fonts like Helvetica are even guaranteed to be available in any PDF viewer.

Re:PostScript Language Reference (1999) [pdf] by kaba0 on Monday April 19, 2021 @03:15AM (#26859891)
What, you can go to the 522’s page of a pdf and it will insta-appear. With web technology, you can’t even begin scrolling because layouting happens from top to bottom.

Of course there are some pdf’s that is so full of multilayered vector graphics that it may take a short while, but goddamn facebook starts up the fans in my laptop, so it is hardly fair comparison.