Jump to content

Suppress if can't copy fit


Danovh

Recommended Posts

Are you using full-flow copyfitting, by checking the "Adjust text to fit" box on the Overflow Options dialog? If so, you can edit the OnCopyfit rule like so, adding the text in green:

if (!Copyfit(new MagnifyAttributes("text", 25, 400, 6, 72)))
[color=SeaGreen]{[/color]
   ReportWarning("Could not copyfit text in flow " + 
                 FusionPro.Composition.CurrentFlow.name);
   [color=SeaGreen]FusionPro.Composition.CurrentFlow.content = "";
}[/color]

Link to comment
Share on other sites

Thanks Dan, but that didn't do the trick for me, what is that added text actually doing? What I did was change the 6 to a 4 in the copy fit rule like so

 

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

ReportWarning("Could not copyfit text in flow " +

FusionPro.Composition.CurrentFlow.name);

 

Thanks again Dan, I appreciate the help.

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