Sorry, that's wrong.
The parameters to CopyfitLine, in order, are:
* staticpart - text to not be resized
* dynpart - text to be resized (after "staticpart")
* font - font family name
* size - base point size (in points)
* width - width of the frame or column (in hundredths of points)
* minimum - minimum point size (in points)
* justwidth - true/false (see below)
For the "justwidth" parameter, if you leave it off, or specify false,
the function will adjust the point size, that is, both the width and
height, of the glyphs. If you specify true, the function will adjust
only the set width of the glyphs, but not the height, which basically
means they will look squished horizontally.
So, in your case, the numbers represent:
10 = base point size
125 = width of the frame or column (1.25 points, about 1/50 of an inch)
11 = minimum font size in pts. (this should be *less than* the base
size)
12 = JavaScript handles this as true (adjust set width only)
You need to figure out the width of the frame or column, and then do
something like this:
CopyfitLine("", Field("name1"), "Formata", 10, 21600, 6, false);
Where:
* "Formata" = the name of the font (leave off the fname=)
* 10 = the base point size (this is used if it already fits)
* 21600 = frame/column three inches wide (7200 * 3)
* 6 = minimum point size (i.e. don't adjust below this)
* false = adjust point size, not just set width
You can take a look at the CopyfitLine function in your Builtins.js
file. (On Windows, it's in the main FusionPro folder, by default:
"C:\Program Files\Printable\FusionPro"; on Mac, it's in
"/Library/Application Support/Printable/FusionPro".) PLEASE DO NOT EDIT
THIS FILE! However, you can feel free to copy-and-paste the function
into your own rule, and modify your local copy to do make a function to
do whatever you want.
Dan
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
FusionPro 5.0 Now Available!
Variable text on a curve and soft drop-shadows for variable text
LIMITED TIME upgrade offer of $299 per license for current customers:
http://fusionpro.printable.com/store/upgrade
New licenses available for $599 each at:
http://fusionpro.printable.com/store/
All FusionPro 5.0 customers to receive FusionPro 5.1 with
Adobe Acrobat 8 and InDesign CS3 support when released for FREE.
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
--
Users of FusionPro Desktop have unlimited free email support. Contact Printable
Support at [EMAIL PROTECTED]
--
View FusionPro Knowledge Base, FusionPro Samples at
www.printable.com/vdp/desktop.htm
--
You are currently subscribed to fusionpro as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
--
--
Note: All e-mail sent to or from this address will be received or otherwise
recorded by the e-mail recipients of this forum. It is subject to archival,
monitoring or review by, and/or disclosure to someone other than the recipient.
Our privacy policy is posted on www.printplanet.com
--