Nicola,
I did the following and it worked. I'm working on a PC, and the only
changes to your below code I made I've bolded below.
return CopyfitLine("", Field("email"), fname="agaramond", 9, 125, 6.5,
false);
so basically I removed the < and > and made f name to fname. Other then
that verify the font name is being called correctly.
Carl Szydlowski
Nicola DosSantos
<[EMAIL PROTECTED]
press.com> To
"FusionPro Users Forum"
06/10/2008 03:35 <[email protected]>
PM cc
Subject
Please respond to [fusionpro] Question about
"FusionPro Users Copyfitting a Line
Forum"
<[EMAIL PROTECTED]
printable.com>
Hello,
I went to the "How to use Copyfitting in FusionPro" pdf located in the
Printable knowledge base to learn more about how to use the CopyFitLine
rule. It was sort of helpful, but I'm still unable to apply the rule.
Although the pdf gives the function for the rule it does not tell you how
to insert the rule. The pdf also refers to a file named
Lesson4-BizCard.pdf? I tried to search for this template within the
knowledge base and was unable to find it. I was also unable to find the
"Copyfit tutorial folder" and "CopyfitEmail.js" which are also referenced
in the pdf and are not installed in my building blocks. I was unsure
exactly how to apply the below function or if I have created the function
incorrectly. The "How to use Copyfitting in FusionPro" pdf sort of assumes
that you know a lot about it and seems to not supply all of the steps
needed for a beginner to utilize this function. I was hoping that someone
had some suggestions that might get me on the right track.
Nicola
FYI, I need to copyfit ONLY the line of text within the variable text frame
that contains the email address. I want to copyfit the complete email
address not just the domain which is why I'm using the CopyFitLine() rather
than the CopyFitEmail(). Also, the size of my text before the copyfitting
is applied is 9pt. The smallest I want the text to reduce to is 6.5pt. The
width of the frame is 125pt. I want the text point size to reduce, however
I do NOT want to stretch the width.
In my FusionPro template I tried to apply the following rule so that I
could copyfit the line of text that contains the email address:
return CopyfitLine("", Field("Email"), <f name="WFM-ScalaSans-Bold">, 9,
125, 6.5, false);
I have tried to insert this Rule/function into the following:
1) New Rule - CallBack - OnCopyFit
2) New Rule - Text - Empty Rule (I tried both checking and unchecking the
box "Treat returned strings as tagged text")
3) Rule editor - Javascript Globals
None of the above worked? I keep getting error messages that say
"unexpected end of XML source" and it highlights the semicolon. When I
delete the semicolon I get a different error message.
It is evident that I'm doing something wrong. Any suggestions for a
beginner would definitely be appreciated. Thanks!
--
Nicola DosSantos
Ambit Press / Minuteman Press of Cambridge
Five Cambridge Center
Cambridge, MA 02142
Tel: 617.876.3688
Fax: 617.876.3896
www.ambitpress.com
Please send all jobs to [EMAIL PROTECTED]
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- 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 --
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
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
--