site_archiver@lists.apple.com Delivered-To: pro-apps-dev@lists.apple.com Hi all, I've an fx script generator which does wrap text into a user given box. Any ideas out there? Thanks Andreas _______________________________________________ Do not post admin requests to the list. They will be ignored. Pro-apps-dev mailing list (Pro-apps-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/pro-apps-dev/site_archiver%40lists.ap... 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. This email sent to site_archiver@lists.apple.com
participants (1)
-
Andreas Kiel