Inkscape has a problem with vertically centering text inside a rectangle. If I'm not mistaken, we have two options: snap the center of the text boundig box to the center of the rectangle, or snap the baseline of the text to the center of the rectangle. None of these options center the text properly.
Here is an example of snapping the center of the text bounding box using two different fonts:
You can see that the text is not visually centered. It looks like it's moved up a bit.
The correct way to center text inside a rectangle is to snap its center line to the center of the rectangle. The center line is the midline of the capital "X".
At the moment, to perform center line snapping I need to follow these steps:
Create text object and type "X".
Snap the center of the text bounding box to the center of the rectangle.
In my opinion, the text in the left boxes is visually centered, as opposed to the text on the right. So I would like to request a text center line snapping feature to have proper vertical text alignment inside any container.
Inkscape has a problem with vertically centering text inside a rectangle. If I'm not mistaken, we have two options: snap the center of the text boundig box to the center of the rectangle, or snap the baseline of the text to the center of the rectangle. None of these options center the text properly.
Here is an example of snapping the center of the text bounding box using two different fonts:
https://i.ibb.co/CPgsXkh/1.png
You can see that the text is not visually centered. It looks like it's moved up a bit.
The correct way to center text inside a rectangle is to snap its center line to the center of the rectangle. The center line is the midline of the capital "X".
At the moment, to perform center line snapping I need to follow these steps:
Here is the demonstration of this process:
https://i.ibb.co/TKFvFGy/2.gif
And here is a comparison of the two snapping options (on the left - center line snapping, one the right - bounding box center snapping):
https://i.ibb.co/XbgmzdY/3.png
In my opinion, the text in the left boxes is visually centered, as opposed to the text on the right. So I would like to request a text center line snapping feature to have proper vertical text alignment inside any container.
Feature requests are processed on gitLab: https://inkscape.org/forums/beyond/how-to-report-bugs-or-request-new-features/