Skip to main content
brandonb96942845
Inspiring
February 20, 2023
Answered

Help - Vertically Center Text WITHOUT Space After

  • February 20, 2023
  • 5 replies
  • 4091 views

Hi all,

 

Longtime Illustrator user with a small bit of frustration. When using the Type tool, you don't just get the text itself, you also get following space after it, and when you use the Align tool to center it vertically it takes that following space into account.

Is there a way to override this behavior and just center the text (say, a line of numbers) vertically without that additional offset?

This topic has been closed for replies.
Correct answer pixxxelschubser

No, there is not an Align to Baseline function yet. What you listed above is the text snapping options for smart guide use. If I want to align a point type object to another object using traditional alignment functions in the Align palette I can only align using the glyph bounds or the blue box surrounding the letters. If I want the text object's baseline aligned with something else I have to manually drag the text object and let it snap to that position. That's slower than simply shift-clicking two objects and pressing an alignment button (or using a keyboard shortcut for that button).


You are right.


Does this request perhaps already exist on Illustrator uservoice?

In the meantime, you can adapt my script snippet to your needs:

Illustrator Forum | Align different sized text to the bottom of the text baseline

 

😉

5 replies

Participant
March 19, 2024

Hi, I've encountered the same issue.   If a text box is "area type" the spaces after words don't factor in and your text will be centered.  If the text box is "point type" those spaces do factor in and words will be off center.  

Met1
Legend
February 20, 2023

I was just about to say "yeah, what a pain that is" but then thinking I haven't had that issue recently so just tested it and I don't have that issue any more! - what version of Illy are you using?

brandonb96942845
Inspiring
February 20, 2023

To the best of my knowledge the most up-to-date version of Illustrator 2023. What about you? Maybe this is new behavior in the current version.

Met1
Legend
February 20, 2023

Latest, 27.2.

Yeah I just aligned text with space and text without, both to same text outlined, and they all match up perfectly...

Community Expert
February 20, 2023

I usually get the best results by using the new Align to Glyph Bounds option. If you click the 3 dashes icon in the upper right corner of the Align palette it will show an Options fly-out menu. Align to Glyph Bounds options are at the bottom. You can choose Point Text and/or Area Text.

brandonb96942845
Inspiring
February 20, 2023

I didn't even know that was there, must be a new feature. I'll give that a go!

Community Expert
February 20, 2023

Also check out the Font Height Options for sizing text objects. That one comes in very handy for me with a lot of sign design tasks. I'm still hoping for Adobe to add Align to Baseline functions for text objects sometime soon.

pixxxelschubser
Community Expert
Community Expert
February 20, 2023

Hi @brandonb96942845 

are the buttons "Align to Glyph Bounds" in the Characters Panel not helpful for you?

pixxxelschubser
Community Expert
Community Expert
February 20, 2023
quote

Hi @brandonb96942845 

are the buttons "Align to Glyph Bounds" in the Characters Panel not helpful for you?


By @pixxxelschubser

 

You will find more informations here:
https://helpx.adobe.com/illustrator/using/snap-to-glyph.html



Jacob Bugge
Community Expert
Community Expert
February 20, 2023

Brandon,

 

Maybe too silly, but how about Use Preview Bounds in the preferences and the Outline Object under Path in Effect?

 

Remember to untick Use Preview Bounds afterwards.

 

brandonb96942845
Inspiring
February 20, 2023

I need the text to remain editable, so doing an Outline Object path is a no-go. And Preview Bounds doesn't do anything for editable text unfortunately.

Jacob Bugge
Community Expert
Community Expert
February 20, 2023

Brandon,

 

The text remains live Type when you use the effect, as described in Outline Object under Path in Effect.

 

Use Preview Bounds works, as soon as you apply the Outline Object as effect.