Align to key object doesn't work properly
Mac Studio 2022 Apple M1 Max - 64Gb memory
Mac OS Sequoia 15.1
Illustrator (Middle East) 29.2.1
Alignment to key object SOMETIMES doesn't work as expected. I cannot figure out which are the specific cases.
When dealing with text boxes there is no difference between Roman Hanging punctuation ON or OFF.
I numbered the screenshots according to the issue.
TWO TEXT BOXES:
I'm right aligning my text box to another text box. It right-aligns it to the right border of the selected text box with small margin (in this case 0,26mm). The right border of the text box is shifted 0,26mm to the left of the right border of the key text box.TEXT BOX AND (RECTANGULAR) SHAPE:
My key object is the rectangular shape. Illustrator right-aligns my text box to the right end of the rectangular shape with a small margin (in this case 0,47mm). The right border of the text box is shifted 0,47mm to the left of the right end of the key rectangular shape.TWO SHAPES (one of them has no fill and a centered stroke)
I'm right aligning a filled square to a rectangle that has a centered-stroke (key). It aligns it to the outer border of the box and not to the path.TEXT BOX AND HORIZONTAL LINE:
I'm right aligning my text box to a line. It right-aligns it to the right end of the line with a small margin (in this case 0,52mm). The right border of the text box is shifted 0,52mm to the left of the right end of the line.TWO SHAPES (a centered-stroke line and a centred-stroke rectangle)
I'm right aligning a line to a centered-stroke rectangle. It aligns the line to the outer border of the box and not to the path.
-
Edo, please try this.
Open your Align panel, its flyout menu, Align to Glyph Bounds and DISABLE 'Area Text', just like the screenshot attached shows.
With this option on Ai will ignore the frames and treat live area text as if outlined.
I’m not sure it’s the actual answer to the problem, but you never shared the test file, so I can’t tell for sure.Another option you should check is Preferences > General > Use Preview Bounds. With this in Ai treats strokes as if outlined.
Please try and comment back. If these don’t influence the results — kindly share the file here.