• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Generator oddity
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: [Q] Is the documentation wrong? or How AppleEvents behave for FCP is changed?
  • Next by Date: FCP: Source Movie Reference
  • Previous by thread: Re: [Q] Is the documentation wrong? or How AppleEvents behave for FCP is changed?
  • Next by thread: FCP: Source Movie Reference
  • Index(es):
    • Date
    • Thread