Jump to content

DO NOT resize text on Adjust To Fit


Recommended Posts

Despite using FP for about 5 years, I am still a novice user because 90% of the jobs I use FP for is numbering and 9% is for addressing mailers. This is a problem I searched the forums for, and didn't see anything similar, but I *know* it's a simple solution.

 

I have a number of variable fields to print on a name badge, and I have a few issues to resolve.

 

1) If I program a font point size, I need it to keep that size and not shrink on Adjust to Fit. If necessary, the line needs to break (no hyphenation) and continue on an additional line while maintaining the same point size.

 

2) The top field, the "title," line only occurs on some, but not all badges. I'd like the variable information to self-center vertically, and remove the additional return that needs to be there when the field does exist.

 

In all, I'd like the badge to behave similar to the Vertical Justification "Align: Justify," in InDesign in regards to leading.

fusionprolayout.jpg.7c202e0296317c9531e54e0d67dc144f.jpg

Link to comment
Share on other sites

1) If I program a font point size, I need it to keep that size and not shrink on Adjust to Fit. If necessary, the line needs to break (no hyphenation) and continue on an additional line while maintaining the same point size.

 

...

 

In all, I'd like the badge to behave similar to the Vertical Justification "Align: Justify," in InDesign in regards to leading.

In the OnCopyfit rule, on the first line, change "text" to "leading," like so:

if (!Copyfit(new MagnifyAttributes("leading", 25, 400, 6, 72)))
   ReportWarning("Could not copyfit text in flow " + 
                 FusionPro.Composition.CurrentFlow.name);

 

2) The top field, the "title," line only occurs on some, but not all badges. I'd like the variable information to self-center vertically, and remove the additional return that needs to be there when the field does exist.

In the Text Editor, select the line with the field name in question, click Paragraph, and check the "Suppress if" box.

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.

Guest
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...