Generator oddity
Generator oddity
- Subject: Generator oddity
- From: Andreas Kiel <email@hidden>
- Date: Thu, 19 Aug 2010 13:28:37 +0200
Hi all,
I've an fx script generator which does wrap text into a user given box.
The way it works (in rough) is that an empty 'final text' variable is
set first. Then a loop starts, it steps thru the given text entry
character by character (or better word by word), adds this to a temp
paragraph and uses the 'measureString'/'measureStringPlain'. If the
result is beyond the bounds it steps back 1 character/word and adds
this 'captured stuff' as a paragraph to the 'final text'.
Works fine so far. But under some conditions, which obviously are
related to sequence settings, selected font and tracking FCP adds an
leading empty paragraph to the 'final text'. There is no piece of
code in the script which would cause the 'final text' to be changed
that way. Changing the tracking value slightly does fix it,
regardless whether 'auto kern' is checked or not.
Any ideas out there?
Thanks
Andreas
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden