Go Back   Printable User Community > Support > Issues, Questions, Etc.

Notices

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old July 7th, 2009, 12:11 PM
jonm@cgraphics.com jonm@cgraphics.com is offline
Forum n00b
 
Join Date: Feb 2009
Posts: 6
Default Bug in Overflow?

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?
Reply With Quote
  #2  
Old July 7th, 2009, 12:53 PM
Dan Korn's Avatar
Dan Korn Dan Korn is offline
FusionPro Senior Engineer / Forum Moderator
 
Join Date: Aug 2008
Location: Chicago, IL
Posts: 775
Default Re: Bug in Overflow?

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)});
Reply With Quote
  #3  
Old July 7th, 2009, 01:29 PM
jonm@cgraphics.com jonm@cgraphics.com is offline
Forum n00b
 
Join Date: Feb 2009
Posts: 6
Default Re: Bug in Overflow?

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.
Reply With Quote
  #4  
Old July 7th, 2009, 02:23 PM
Dan Korn's Avatar
Dan Korn Dan Korn is offline
FusionPro Senior Engineer / Forum Moderator
 
Join Date: Aug 2008
Location: Chicago, IL
Posts: 775
Default Re: Bug in Overflow?

Quote:
Originally Posted by jonm@cgraphics.com View Post
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?
Can you reduce it to a minimal job which demonstrates the problem and attach that? I would need to see the template PDF itself, and possibly the data, or at least some dummy data which triggers the issue in question. Just seeing the output doesn't tell me how you got there.
Quote:
Originally Posted by jonm@cgraphics.com View Post
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);
Wait a minute, if you're already using full-flow Copyfitting, then why are you mentioning Overflow? You can either turn on Copyfitting for a frame, or Overflow, but not both. If you think you have Copyfitting enabled but it doesn't seem to be working, there should be a message in the log (.msg) file about that if you do a regular composition (not just a Preview). In that case, you might need to tweak the numbers in the MagnifyAttributes object in the OnCopyfit rule, although it looks like you've already changed them from the defaults.

Quote:
Originally Posted by jonm@cgraphics.com View Post
I suppose it's applying copy fitting to each of the two fields separately.
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)});
Reply With Quote
  #5  
Old October 7th, 2009, 03:08 PM
Dan Korn's Avatar
Dan Korn Dan Korn is offline
FusionPro Senior Engineer / Forum Moderator
 
Join Date: Aug 2008
Location: Chicago, IL
Posts: 775
Default Re: Bug in Overflow?

Here is a minimal job that Jon made which demonstrates the problem using standard fonts (in record 2).
Attached Files
File Type: zip bug-demo.zip (7.78 MB, 8 views)
__________________
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)});
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 02:37 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
(c) 2010, Printable Technologies™, Inc.