#1
|
|||
|
|||
![]()
I'm working on a real estate yard sign and they want to optimize space if an email is not added to the sign. Everything is static except for three fields (Agent name, Phone Number, and Email) and all of these are included in one text box. If the agent does not want their email included in the sign our client would like the name and phone number to expand to to fill the text box, however when I select the over flow option and then adjust text to fit>allow text to expand to fill it actually shrinks all my text. What am I doing wrong here?
|
#2
|
||||
|
||||
![]()
Check your settings in your OnCopyfit rule. That rule sets limits on the minimum and maximum point sizes it will allow in your frames with copy fitting applied as well as magnification mins and maxes. If your text shrinks when you turn on "expand to fill," it's likely that your text was already out of those bounds:
Code:
if (!Copyfit(new MagnifyAttributes("text", 25, 400, 5, 72))) ReportWarning("Could not copyfit text in flow " + FusionPro.Composition.CurrentFlow.name);
__________________
Ste Pennell FusionPro VDP Creator 9.3.15 Adobe Acrobat X 10.1.1 Mac OS X 10.12 |
#3
|
||||
|
||||
![]()
If your frame consists of a combo of static and variable text, you might consider placing the variable text into it's own frame. Often times the static content might have paragraph settings or even carriage returns may cause the text to be adjusted to fit the frame. With the variable text in it's own frame, you can control it better without any affect on the static text.
__________________
Richard A. Lewis, Jr. Learning Development Manager | MarcomCentral® a Ricoh Company |
#4
|
|||
|
|||
![]()
Sorry I have not responded I have been out of the office. Still trying to find a solution for this though... I have attached a screen shot this time. I put each variable field in it's own text box, as you suggested, but still can not figure out how to expand the name and phone number fields to fill the entire red space if the email(the bottom text box) is empty.
Thanks for all you help! Hilary |
#5
|
||||
|
||||
![]()
hkenney
I assume this is what you want to see: Expand to fill screenshot. A few things to address: 1) Ignore my suggestion about placing them into individual frames and just keep it in one. 2) Make sure your font scaling allows the text to expand like "Step" suggested above in the OnCopyFit rule. 3) Make sure the optional field(s) are set to "Suppress if empty" in the paragraph settings - you only mentioned email, but if there are others do the same. 4) Each field in the box should be set to "Do Not Break on Copyfit" in the paragraph settings. That should result in what you see in the screen shot. Hope this helps
__________________
Richard A. Lewis, Jr. Learning Development Manager | MarcomCentral® a Ricoh Company |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|