Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MµPDF: Don't accumulate rounding errors when computing page dimensions (
#1407) * Do *NOT* round the dimensions in getSize This is a weird MµPDF internal @ 72dpi representation, not a final dimension. We use it to compute and apply our own scale factor, so if we lose precision here, we can end up with severe rounding errors with large scale factors. And, for some mysterious reason, for image files, scale factors can be really large, even when the files actually match the target screen size exactly :?.
- Loading branch information