Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

I have a problem with anchor points when working with text

New Here ,
Jan 14, 2024 Jan 14, 2024

hi, I have a problem with anchor points when working with text, it seems to be attached not to the text but to the composition, and when zooming in or out, the anchor point does not remain fixed relative to the text layer, but remains in place relative to the composition

TOPICS
FAQ
426
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jan 14, 2024 Jan 14, 2024

Show us a screenshot.

 

Mylenium

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jan 14, 2024 Jan 14, 2024

Reset the anchor point for the text layer using the "Pan Behind" tool (Y) in the toolbar. This should ensure the anchor point is linked to the text layer rather than the composition, addressing the issue when zooming in or out.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 14, 2024 Jan 14, 2024

The default position of the anchor point on a text layer is at the base of the text and matches the Paragraph Justification. Bottom left (not including descenders like a lowercase y for Left Justified, middle for Middle, right for Right Justified.  If you create a text box, then the Anchor point is always at the center of the text layer. It pays no attention to the position of the text box.

 

If you want to center the Anchor Point of a text layer on the text, you can add this expression to the Text/Transform/Anchor Point property:

box = sourceRectAtTime();
[box.width/2 + box.left, box.height/2 + box.top]

That expression cancels out baseline shift and paragraph justification.

 

You can modify that expression to put the anchor point at the top right, including ascenders. Bottom right, including descenders, or left top, bottom, or center top or bottom. It all depends on what you are trying to accomplish.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 26, 2024 Feb 26, 2024
LATEST

thank you all for your help, but the solution was very simple, namely, I needed to center the paragraph in the panel

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines