| General > General Technical Chat |
| PDF Display Center Fold |
| << < (3/4) > >> |
| Marco:
There are javascript PDF viewers, so why not just embed one which can do this? This feature request for pdf.js suggests some way to do it that way : https://github.com/mozilla/pdf.js/issues/590 No need for the user to change any configuration then. |
| magic:
This looks like the only choice. If the PDF viewers in the wild don't respect instructions embedded in the PDF file, your only option is to provide a different viewer that does. Some of the users with disabled JS will curse you :-DD |
| metrologist:
--- Quote from: T3sl4co1l on May 12, 2022, 11:45:55 pm ---Oh... an organizational problem then? Management should realize this is a friction point, direct the document author(s) to use, you know, actually readable formatting given typical viewing conditions/limitations; and to direct complaints related to such, to said author, not to some humble Metrologist, whatever your function is exactly I guess. Their failure to do so indicates a problem (or, it's intentional, for unknown reasons). So, while facing-page display would be a solution to this particular problem -- that it's a problem at all, seems indicative of other issues? Tim --- End quote --- I really bring this upon myself. I could be like everyone else and just not care. I guess Icom's example is not that bad, but I wouldn't do it that way. I'm kind of a jack of all around here. |
| Someone:
--- Quote from: magic on May 13, 2022, 01:17:06 pm ---This looks like the only choice. If the PDF viewers in the wild don't respect instructions embedded in the PDF file, your only option is to provide a different viewer that does. Some of the users with disabled JS will curse you :-DD --- End quote --- Also awful for accessibility and OS integration, the PDF workflow/tools usually available all evaporate! PDF is supposed to be like paper, easy to copy/print/file/markup and consistent visual/dimensional display everywhere. |
| Someone:
--- Quote from: metrologist on May 12, 2022, 02:56:39 pm ---Here is an example where the title page should show as a single page and pages 2 and 3 should be side-by-side so you can see the entire radio. My browser shows them full width and scrolls pages that are stacked one over the other. https://www.icomjapan.com/api/download.php?page_id=29&fl=/uploads/support/brochures/download/HAM_USA.pdf --- End quote --- And in other browsers, that example has the page fold ordering misaligned. There is no standard in PDF to align pages to each other (as far as I am aware) so its undefined/implementation specific behaviour. Web 1.0 style solution, server up different files after sniffing the request :P |
| Navigation |
| Message Index |
| Next page |
| Previous page |