4 ms·
I don't agree with you. HTML has some facilities to render text, but I expect it's an intractable problem to use them to accurately render a PDF. SVGs might be
by matthewmacleod 12y ago
I don't agree with you. HTML has some facilities to render text, but I expect it's an intractable problem to use them to accurately render a PDF. SVGs might be easier, but I'm not sure they have the required facilities to allow for accurate PDF rendering either.
IMO, if Mozilla chose to use Canvas then there's a good reason for it.
- vanderZwan 12y agoSo your argument is that because Mozilla does it they must have a good reason for it?
- stdbrouw 12y agoThe argument is that you shouldn't unthinkingly assume they don't have a good reason for it.
- matthewmacleod 12y agoNo - the argument is that it's likely pretty difficult to implement an accurate PDF renderer with HTML and SVG. There might be ways around that, but they folks at Mozilla are pretty smart and very aware of the limits of their technology, so if they decided that Canvas was better, I have no reason to argue with that - especially given that there are obvious reasons that might be the case.