Modifying the point size of text is simply a matter of using the <z
newsize=xxx> tag.  If you want to put your text in 10-point size, you
would use a <z newsize=10> tag.

> var size = FusionProTextMeasure(Field("field")).pointSize/100;

I'm not sure where you got that logic.  The only way the
FusionProTextMeasure object works is if you initialize it, call the
CalculateTextExtent function, and then query the results, which tell you
how much space something takes up.  It doesn't actually do any
copyfitting, unless you use it in a function that somehow takes the
resulting size and modifies the text until it fits into whatever space
you specify.  (The CopyfitLine function does this.)

Now, if I understand what you're really asking about, that's more
complicated.  If you're talking about "true" copyfitting, through the
"Adjust text to fit" setting in the Overflow Options and the OnCopyfit
rule, that doesn't, in fact, set a particular point size for the text.
What it actually does is use <magnify> tags to, well, magnify all of the
text by a certain factor that it calculates.  So not all of the text in
the flow you're copyfitting is necessarily going to have the same point
size.  Therefore, when you say, "I want to find the point size of
copyfitted text to dynamically adjust the font size of another flow,"
that doesn't really mean anything.

Now, if you're using the "other" kind of copyfitting via CopyfitLine or
some other function that actually uses the FusionProTextMeasure object,
then you can certainly save up whatever attributes you're applying to
the text as globals and access them from another rule.  But I'm not sure
that's what you're doing.  So please try to be more specific about what
text you're copyfitting, how you're doing that, and exactly what you're
trying to match up with it.

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
--

Reply via email to