Copy Fit
Copy Fit is a feature to automatically scale text to the available space: the name of a person on a greeting card for example, or the name of a product on a shelf talker. This feature is only available with Box and Div elements in Print .
Activating the Copy Fit feature
After adding a Box or Div element to a Print section (see Boxes), you can activate the Copy Fit feature on that element. Text inside that Box or Div or text in an element inside it, will then be scaled to fit the available space. This is how it's done:
- Right-click the Box or Div element and click the respective element on the shortcut menu.
Alternatively, select the element (see Selecting an element) and on the Format menu click the respective element.
- Click the Content tab.
- Check the Copy Fit option.
- Enter the Min font size and/or Max font size using a valid font measurement unit (pt, px, in, cm or mm). Do not put a space between the number and the unit.
- The minimum font size is 1pt. The default minimal font size is 4pt.
When the minimum font size is left blank, the font size in Design view becomes the minimum font size. This means that the text can only be made bigger than its initial size. - The maximum font size is 1048pt. By default this is 48pt.
When the maximum font size is left blank, the font size in Design view becomes the maximum font size, so that the text can only be made smaller than its initial size.
- When the option Fit to width only is checked, no line breaks will be added to the text.
- Optionally, you can specify a child (an element inside the Box or Div) by giving its ID, for example: #product, or class, for example: .product - note the dot. The Copy Fit feature will only be applied to this child element.
To give an element a class or ID, select it and add the class or ID on the Attributes pane. An ID is meant to be used once in each section, while a class can be shared between several elements.
- Click Apply or OK. Note that the effect of the Copy Fit feature can only be seen in Preview mode.
If it is impossible to make a text fit within the box with the given minimum and maximum font size, this will be reported as an error during a preflight (see Testing scripts).
How it works
When the Copy Fit feature is activated, the font size is calculated for the entire Box. Elements inside that Box get a font size relative to the Box. This means that their relative proportions are maintained.
|
|