Hi,
I'm running into a problem with anchor points for paragraph text in After Effects 14.2.1.34. When the text box for paragraph text is resized, the anchor point does not update, it just stays in the center of the initial text box. My paragraph panel was set to centered text, though I don't think that matters for the anchor point. After Effects continues to report the text position (Transform: Position) as the position of the anchor point.
To replicate this:
- Click the Horizontal Type Tool.
- Click on the canvas and drag the mouse to make a large box. (This will create "paragraph text" instead of "point text".)
- Type some text in the box. Click the Selection Tool to end text entry.
At this point you will have a text layer with a text box, and its anchor point is centered in the text box. Use Selection Tool, click the text and you can see handles around the text and the anchor point.
Use Horizontal Type Tool, click the text and you will see the text box (but not the anchor point).
- Now resize the text box (I made it much smaller). The anchor point stays in its original location, and is no longer centered in the text box.
The anchor point is reporting (0, 0) and the text is reporting its position as the position of the anchor point - which is not the text position any longer. This happens in the After Effects UI and from the plugin SDK.
Is there a way to find the actual text position in this circumstance? (From script or from the SDK). Or am I missing something that accounts for this offset between the text position and anchor point?
Related post: