Attach (recommended) or Link to PDF file here:
Using Demo Viewer
Configuration:
Web browser and its version: Mozilla
Operating system and its version: Windows 10
PDF.js version: 4.3.136
Steps to reproduce the problem:
Open demo viewer.
Add a freetext annotation
Enter a long string of text
What is the expected behavior? (add screenshot)
When a freetext annotation begins to spill off page, it should instead wrap to a new line. Ideally, you should be able to resize the freetext container to dictate where the text will begin to wrap.
What went wrong? (add screenshot)
freetext annotations can spill off of the page and have portions become unviewable.
Attach (recommended) or Link to PDF file here: Using Demo Viewer
Configuration:
Steps to reproduce the problem:
What is the expected behavior? (add screenshot) When a freetext annotation begins to spill off page, it should instead wrap to a new line. Ideally, you should be able to resize the freetext container to dictate where the text will begin to wrap.![Screenshot 2024-05-30 at 12-18-28 compressed tracemonkey-pldi-09 pdf](https://github.com/mozilla/pdf.js/assets/8932882/21e1f295-6656-4a13-b76b-93f3496e59f7)
What went wrong? (add screenshot) freetext annotations can spill off of the page and have portions become unviewable.![Screenshot 2024-05-30 at 12-16-59 compressed tracemonkey-pldi-09 pdf](https://github.com/mozilla/pdf.js/assets/8932882/a213ddbd-4822-4783-8cc4-4b36b928934d)