4 ms·
I've wondered if you could you achieve (some of) this with PDF, just better integrated into the browser experience.
by robertlagrant 5y ago
I've wondered if you could you achieve (some of) this with PDF, just better integrated into the browser experience.
- Kwpolska 5y agoNot really. The main thing PDF gets you is pixel-perfect reproduction of paper, printable documents. Authors of those “document-oriented Web” proposals use the word “document” when they really mean “painfully lightweight text files”. At the same time, those text files (whether plain, Gemini/gemtext, or Markdown), can still be freely reflowed, they can adjust to your screen size and preferred font size — you can’t do that with PDF, which has a set and constant page width/height and which specifies every character’s size and position on that page.
- robertlagrant 5y agoYes, I thought that might be the objection :) I suppose perhaps it would be interesting to have a format that takes a PDF and then lets a designer overlay the main area of content to zoom into. But perhaps that's HTML+CSS :)
- layer8 5y ago> pixel-perfect reproduction It’s not actually pixel-perfect, because the format is resolution-independent, and different PDF renderers differ slightly at the pixel level. I get what you mean, but “pixel-perfect” isn’t the right word.
- layer8 5y agoPDF is an awfully complex format with all kinds of added bells and whistles and dynamic features, a low level of strict adherence to its spec by existing documents, and fun facts like the character encoding of textual content depending on the font used. It’s a world of pain on its own, not much better than the web, except for being less of a moving target.