News for hackers. Stuff that matters.
Re:Preview in macOS Big Sur is destroying PDFs by systemvoltage on Wednesday December 16, 2020 @06:29PM (#25450216)
Yea, you can use `position: fixed` or `position: absolute` with CSS + HTML but as you said, it doesn't dictate pages. Although, now that I think about it, why do we need pages :) Just fixed layout is good enough.
Re:Preview in macOS Big Sur is destroying PDFs by leephillips on Wednesday December 16, 2020 @10:10PM (#25451969)
The pdf2htmlEX program does this. It creates exact renditions of PDFs in HTML, using embedded fonts and positioning each character. Personally, although it’s an amazing demonstration, I don’t really understand the purpose, when you can just distribute the PDF.

https://github.com/coolwanglu/pdf2htmlEX