wojtekmaj / react-pdf

Display PDFs in your React app as easily as if they were images.
https://projects.wojtekmaj.pl/react-pdf
MIT License
9.01k stars 861 forks source link

Sharper rendering for small sizes #1733

Closed llevlion closed 3 weeks ago

llevlion commented 4 months ago

Before you start - checklist

Description

My document renders sharp if I set <Page scale={8} ... but then it is displayed with huge size. If I try to decrease width, like <Page width={prop.width/8} ... the page displays blurry.

Proposed solution

I'd like to be able to set the width of the pdf page display and the resolution separately. Something like <Page displayWidth={x/8} scale={8} ... should display sharper than <Page displayWidth={x} scale={1} ... (if possible)

Alternatives

No response

Additional information

No response

github-actions[bot] commented 1 month ago

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this issue will be closed in 14 days.

github-actions[bot] commented 3 weeks ago

This issue was closed because it has been stalled for 14 days with no activity.