My love to PDF in the early 2000 turned into hatred. This format should really be abolished.
My love to PDF in the early 2000 turned into hatred. This format should really be abolished.
Alas.
Embedding the source document that generates a PDF seems pointless unless you want to handle hundreds of formats and the processes that might have turned those documents into PDFs. In the case of GIS software I’ve worked on the closest you could have is an XML document specifying the viewport and visibility, but all the interesting stuff would have been read from the database and pushed through a style system that you wouldn’t have any knowledge about.
What might have been useful is a meta layer that could tie lines of text together into blocks so that less guesswork had to be done when implementing things like text selection and screen reading. We have tricks like adding blank fonts which allow for text selection on OCRed documents, but they could probably have been improved if they had been baked in more from the start.
https://en.wikipedia.org/wiki/PDF#Logical_structure_and_acce...
? Wondering if these are usable and how far they go to fixing the problem?