Jump to content

Setting a Max Font Size


Recommended Posts


Below is the "OnCopyFit" rule activated when you check the box in the Overflow Options menu to Adjust text to fit and expand to fill


if (!Copyfit(new MagnifyAttributes("text", 25, 400, 6, 72)))

ReportWarning("Could not copyfit text in flow " +


The highlighted part of the rule displayed in red allows you to control the minimum and maximum for each adjustment.


25, 400 reflect the minimum and maximum percentage of adjustment; which by default shrinks text to 25% and expand to 400%


6, 72 reflect the font point size minimum and maximum adjustment; which by default shrinks to 6 pt and expand to 72 pt


The size is a backup to the percentage, so if 400% is above 72pt, it will not expand the size any further than 72 pt.


You can adjust these values as needed to meet your specific requirements; however, remember this is a global rule for any frame with Adjust text to fit and expand to fill checked.


Hope this helps!

Edited by FreightTrain
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...