Jump to content

emilycskern.com

Registered Users - Approved
  • Posts

    2
  • Joined

Converted

  • Location
    Muncie, IN

Converted

  • FusionPro Products
    Yes

Converted

  • FusionPro VDP software version
    9.3

Converted

  • Homepage
    http://www.cskern.com

emilycskern.com's Achievements

Newbie

Newbie (1/14)

  • First Post Rare
  • Week One Done
  • One Month Later
  • One Year In
  • Conversation Starter Rare

Recent Badges

10

Reputation

  1. I’m creating a business card template in FP, and I’m having trouble getting a person’s name to copyfit by modifying both the font size and the tracking, using the OnCopyfit rule on the relevant text frame. Here’s the OnCopyfit rule that I modified: The rule returns with no errors when I validate it, but when I preview the results of the sample data in the template using a long name, it appears that it’s not following the parameters I set (i.e., shrink font size from 10 to no less than 8, and reduce the tracking to 50%), and it’s not recognizing the “Do not break on copyfit” setting. Is it possible to modify text size and tracking within the same OnCopyfit rule, and if so, is there a way to modify the JavaScript syntax to shrink the font before reducing the tracking? In other words, I’d like the rule to tell FP, “If the text doesn’t copyfit, shrink it to no less than 8 pts; if it still does not fit, reduce the tracking to no less than 50%”? I looked through old threads in this forum (where I found parts of the code above) and went through the FusionPro Copyfit guide, but I haven’t found a case where font size and tracking are modified in the same rule. I’m new to JavaScript, and I tried variations on the syntax but kept getting syntax errors when I validated before I got the code pictured above to validate with no errors. I’m not opposed to using the CopyfitLine rule if it would do the job more efficiently, but from what I’ve read, it doesn’t look like there’s a place to adjust the tracking with that rule. I’m attaching the collected files for the FP template I’m working on and a PDF example of how I envision the rule working. (I created the example in InDesign and reduced the font size to 9 pts, then changed the tracking to 50%). If there’s a thread I overlooked that already addresses this, please point me in that direction. Thanks for your help! csk-bcard-oncopyfit-rule.zip cskern-bcard-example.pdf
×
×
  • Create New...