-
Notifications
You must be signed in to change notification settings - Fork 10.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add wrapping/resizing for Freetext annotations #18191
Comments
Hi I would like to contribute in solving that.... |
@kunal-singh-8057 this might not be the easiest issue to start with, but feel free to pick it up if you want ;) |
Hi @marco-c , I’d like to contribute to resolving the Freetext annotation wrapping and resizing issue. My approach is to modify the text rendering logic to ensure text wraps within the annotation box and to add resize handles to allow dynamic adjustment of the box size. I will also create test cases to ensure these functionalities work across different browsers and documents. Please assign this issue to me. |
Hello @shivansh84ya, thanks! We will review your PR once ready. |
Hi @marco-c, |
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.
What went wrong? (add screenshot)
freetext annotations can spill off of the page and have portions become unviewable.
The text was updated successfully, but these errors were encountered: