Closed dmitry-kabanov closed 1 month ago
Thanks for the feature request. However, the feature will add an additional layer of complexity to the alread-too-convoluted viewing and trimming logic. I'd recommend you approach PDF.js viewer repo at https://github.com/mozilla/pdf.js for the request.
Pre-checks*
The Missed*
N/A
The Solution*
When trimming margins for a PDF, it would be useful to trim horizontal margins separately from vertical ones.
Now, when I trim, they are trimmed uniformly which leads to the situation, when I should stop trimming due to the vertical margins being much smaller than the horizontal margins. This leads to the situation, when the text is still too small and there are visible left and right margins.
Anything Else?