"Scale font size dynamically" option not applying when annotation created with a single click

WebViewer Version: 11.6.1

Do you have an issue with a specific file(s)? No
Can you reproduce using one of our samples or online demos? Yes
Are you using the WebViewer server? No
Does the issue only happen on certain browsers? No
Is your issue related to a front-end framework? No
Is your issue related to annotations? Yes

Please give a brief summary of your issue:
Free Text tool’s “Scale font size dynamically” option not applying correctly when annotation created with a single click.

Please describe your issue and provide steps to reproduce it:
The Free Text Tool has an option to create annotations with “Scale font size dynamically” already set to true. This option doesn’t correctly apply when an annotation is created with this tool via a single click (when creating a Free Text annotation via a click and drag, this option applies as expected).

Replication steps:

  • Visit https://showcase.apryse.com/
  • Select the Annotate tab > Free Text tool
  • Open the style menu and enable “Scale font size dynamically”
  • Add a Free Text annotation by clicking (and not dragging) on the PDF
  • Resize the Free text annotation (e.g. by making it really big). The text should automatically scale.
  • Download the PDF. The free text annotation is not scaled.
  • While not demonstrable in the showcase, exporting and re-importing the annotation will result in an annotation that is not scaled, and does not scale as the annotation is resized.

Please provide a link to a minimal sample where the issue is reproducible:
This can be recreated using the showcase app at https://showcase.apryse.com/

1 Like

Hello, I’m AiRon, an automated tech support bot :robot:
While you wait for one of our customer support representatives, I can help you with your question.


It seems like you’re experiencing an issue with the “Scale font size dynamically” feature not applying correctly when creating a Free Text annotation with a single click in Apryse WebViewer. This behavior might be due to how the auto-sizing feature is triggered based on the annotation’s initial size or input events.

Some things you can try:

  • Ensure that the “switchToAutoFontSize” method is called programmatically after creating the annotation with a single click.

  • Manually trigger a resize event after the annotation is created to see if it forces the text to scale.

  • Check the default styling settings to ensure that the “Scale font size dynamically” is correctly applied upon creation.

  • Consider programmatically resizing the annotation slightly after creation to trigger the auto-scaling logic.




Here are some resources that might help you:



Hopefully, this helps you solve your problem while you wait for a human to get back to you.

1 Like

Hello @luke.stead,

Thank you for posting on our forum,

After following the instructions provided, we were able to reproduce the behavior reported on our end. We have raised this issue and have added it to our backlog for our Product team to review.

We do not have a firm timeline at this moment when the issue will be worked on, but we will be sure to reach out if we have an update to provide.

Thank you for bringing this to our attention.

Best Regards,
Jacob Romano Carlsen
Web Development Support Engineer
Apryse Software Inc.

2 Likes