3 ms·
> Positioning elements coded in marked language into a page is actually a tricky thing. This is almost impossible to do right. Even browsers can't produce a PD
by mekster 6y ago
> Positioning elements coded in marked language into a page is actually a tricky thing.
This is almost impossible to do right. Even browsers can't produce a PDF that looks exactly the same as a web page.
If you want to programmatically produce a PDF from a web page, the best bet is to load up a full browser implementation just for that purpose as any other simpler solutions would certainly break the results pretty often.