|
#1
|
|||
|
|||
|
I have a template with a text frame. There are 2 variable fields in the frame. They come from a tagged file. The problem I'm having is when field one has just a couple of words or a small character count. It copyfits large as expected but doesn't leave room for field two. Field two get completely pushed into overflow which should cause it to not display any text at all in the frame, marking the frame in red. This is not the case though. If field one contains more than a few words field two shows up as expected with both copy fitted properly. Any thoughts on what might be causing this?
|
|
#2
|
||||
|
||||
|
Well, it's hard to diagnose without seeing the job, but if you're using the standard CopyfitLine function, then as the point size of the text is changed to make the line fit, and if you have the default auto-leading in effect, then the text in higher point sizes ("copyfits large" in your words) will definitely take up more vertical space, which may be why you're seeing the text below it get pushed down past the end of the frame.
You should be able to resolve this by setting the "justwidth" parameter to true so that only the setwidth of the text is changed, not the overall point size. Or you can change that line to use absolute leading. Or you might want to use full-flow Copyfitting.
__________________
Dan Korn FusionPro Developer / JavaScript Guru / Forum Moderator PTI Marketing Technologies | Printable Technologies Please include the specific versions of FusionPro, Acrobat, and your operating system in any problem reports or help requests. I recommend putting this information in your forum signature. Please also check your composition log (.msg) file for relevant warning messages. Please contact Support for all font- and installation-related issues. You may also want to check your fonts.err file. The correct spellings are JavaScript, FusionPro, and MarcomCentral (each with two capital letters and no spaces). Acceptable abbreviations are JS, FP, and MCC. "Java" is not is not the same as JavaScript. Check out the JavaScript Guide and JavaScript Reference! return "KbwbTdsjqu!spdlt\"".replace(/./g,function(w){return String.fromCharCode(w.charCodeAt()-1)});
|
|
#3
|
|||
|
|||
|
Would rather not post the job as it contains customer information and I believe these posts are available to all users. In the event that I could what would you need to see. The template and tag file or just the output pdf?
ASAIK, the only copyfitting being applied is during the OnCopyfit callback function. These are our current settings,which I believe are full-flow copyfitting. if (!Copyfit(new MagnifyAttributes("text", 25, 1000, 6, 1000))) ReportWarning("Could not copyfit text in flow " + FusionPro.Composition.CurrentFlow.name); I suppose it's applying copy fitting to each of the two fields separately. |
|
#4
|
||||
|
||||
|
Quote:
Quote:
No, if you're really using full-flow Copyfitting, and there are two fields in the flow (frame), then it's copyfitting both of them together, proportionately. Are you sure that you don't want to be using CopyfitLine instead? If you could provide an example of what you want the output to look like, that would be helpful.
__________________
Dan Korn FusionPro Developer / JavaScript Guru / Forum Moderator PTI Marketing Technologies | Printable Technologies Please include the specific versions of FusionPro, Acrobat, and your operating system in any problem reports or help requests. I recommend putting this information in your forum signature. Please also check your composition log (.msg) file for relevant warning messages. Please contact Support for all font- and installation-related issues. You may also want to check your fonts.err file. The correct spellings are JavaScript, FusionPro, and MarcomCentral (each with two capital letters and no spaces). Acceptable abbreviations are JS, FP, and MCC. "Java" is not is not the same as JavaScript. Check out the JavaScript Guide and JavaScript Reference! return "KbwbTdsjqu!spdlt\"".replace(/./g,function(w){return String.fromCharCode(w.charCodeAt()-1)});
|
|
#5
|
||||
|
||||
|
Here is a minimal job that Jon made which demonstrates the problem using standard fonts (in record 2).
__________________
Dan Korn FusionPro Developer / JavaScript Guru / Forum Moderator PTI Marketing Technologies | Printable Technologies Please include the specific versions of FusionPro, Acrobat, and your operating system in any problem reports or help requests. I recommend putting this information in your forum signature. Please also check your composition log (.msg) file for relevant warning messages. Please contact Support for all font- and installation-related issues. You may also want to check your fonts.err file. The correct spellings are JavaScript, FusionPro, and MarcomCentral (each with two capital letters and no spaces). Acceptable abbreviations are JS, FP, and MCC. "Java" is not is not the same as JavaScript. Check out the JavaScript Guide and JavaScript Reference! return "KbwbTdsjqu!spdlt\"".replace(/./g,function(w){return String.fromCharCode(w.charCodeAt()-1)});
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|