Less expensive expression for text dimensions than sourceRectAtTime()
Mogrts with layers depending on text size become very sluggish with to many calls for sourceRectAtTime.
Text rendering and sourceRectAtTime seems not to cache well in Premiere, and when precomposing and duplicating a layer with master properties (eg. one instance pr. line of text) the performance degrades rapidly.
Is there another way around getting the size and anchor of a text layer from another layer? Could this be constant on text layers where the sourcetext property is constant. Could there be a seperation of width/height and anchor?
When programming with text in other platforms querying a text/font object about dimensions of a certain string is far less expensive.
For normal After Effects usage this is tolerable, but end users in Premiere will not accept the performance of the text rendering engine in After Effects - The low performance of expressions with text could be alleviated with some expression driven control over how often or if a text layer rasterises.