espresso3389 / pdfrx

pdfrx is yet another PDF viewer implementation that built on the top of pdfium. The plugin currently supports Android, iOS, Windows, macOS, Linux, and Web.
MIT License
60 stars 36 forks source link

scale the pdf when scaling the browser tab #114

Open MarcVanDaele90 opened 1 month ago

MarcVanDaele90 commented 1 month ago

I'm using your library on Web.

When I create a pdf widget with

PdfViewer.uri(
      Uri.parse(widget.pdfUrl),
)

the text is initially scaled such that it fits the width.

When I scale the browser window, the text is not scaled (and a horizontal thumb is shown if configured). I would like the text to scale such that it fits the width again. Is this possible?

allalakhayri commented 1 month ago

Hi @MarcVanDaele90 , can you share your widget please with pdfrx on web , am having some issues . Thanks !

MarcVanDaele90 commented 1 month ago

Hi @allalakhayri I just started from the example from https://github.com/espresso3389/pdfrx/tree/master/example/viewer/lib ? Which issues do you encounter exactly?