site_archiver@lists.apple.com Delivered-To: pro-apps-dev@lists.apple.com Hello all, I am looking at manipulating an FCP-X XML file so that for a given text the crop value for a title from Motion template is just right.
From the XML I have the font and the font size, so that I can make an NSAttributedString of my text, and then I can ask it for its size.
The idea is to then calculate the right amount of cropping for the backdrop of the text. I have two questions about this: First, is this the right approach? Second, if so, once I have the text element’s size, what do I compare it against? Is there a standard, virtual frame size to use? I am asking this because the title looks the same relative to the frame it’s in, regardless whether it’s placed in a 960p or a 1920p project. Any hints will be much appreciated. Rainer Standke _______________________________________________ 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: https://lists.apple.com/mailman/options/pro-apps-dev/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
Rainer Standke