I must not be understanding something, and possibly it is a simple question, but is there an easy way to natively center text in a text box vertically? I am not talking about left or right justification, nor am I talking about the alignment tool to align the whole bounding box, I am talking about the fact that every time I type some text, the text itself in the text box is not in the center of the box. Please see the example below. Is there an easy way to do this, and maintain my layer size, as shown by the guides? If I align the layer, but the text itself is not centered in the box, it is still off. Is this a problem with the font, with Gimp, with me, or something else? Can someone make a script to automatically center text vertically in a text layer? What other solutions are there? Any help is appreciated!
Thanks a lot!
p.s. In PS, this is shown as 24 px, but in Gimp, it has to be 29, and is still not exact. Is there some setting in Windows, or Gimp I need to look at? If I look at the text layer in PS, the only difference is that it is 24 px there.
I must not be understanding something, and possibly it is a simple question, but is there an easy way to natively center text in a text box vertically? I am not talking about left or right justification, nor am I talking about the alignment tool to align the whole bounding box, I am talking about the fact that every time I type some text, the text itself in the text box is not in the center of the box. Please see the example below. Is there an easy way to do this, and maintain my layer size, as shown by the guides? If I align the layer, but the text itself is not centered in the box, it is still off. Is this a problem with the font, with Gimp, with me, or something else? Can someone make a script to automatically center text vertically in a text layer? What other solutions are there? Any help is appreciated!
Thanks a lot!
[...]
p.s. In PS, this is shown as 24 px, but in Gimp, it has to be 29, and is still not exact. Is there some setting in Windows, or Gimp I need to look at? If I look at the text layer in PS, the only difference is that it is 24 px there.
Good question.
It would be nice if just as we can center the text horizontally in the text box we could also do it vertically.
If that is possible, I also don't know how to do it.
Of course, it is possible with the alignment tool, but it is not what you want here.
One option I found, although also far from practical, is to use the Gimp Text Editor to adjust the baseline of the desired text.
01- Displays the font in its original position after being typed - In yellow and not centered.
02- Displays the central guide where the text should be aligned vertically.
03- Red text was set to -36 when adjusting the baseline. Being centralized.
04- Window showing the change made to the baseline value (-36).
Maybe someone has better solutions for this case.
"I feel that in both art and music, it's not the success that matters but the pleasure it gives you. Focus on the pleasure and the learning will come naturally." - Brian Weston
The problem is, it is a bit of a mis-formed font. Looks like capital characters but is set up like lower case, more space at the top. Using a fixed text box it is possible to truncate the bottom of the text. Looks like you made a text box first according to the graphic, then added text.
What you can do is set the text box to dynamic, that will show the extents of the text. Then move the text layer into position, either the move tool or with the text tool active, shift-alt and click-drag moves the text.
"I feel that in both art and music, it's not the success that matters but the pleasure it gives you. Focus on the pleasure and the learning will come naturally." - Brian Weston