vertical alignment of text element in SVG
According to SVG spec, alignment-baseline only applies to <tspan>, <textPath>, <tref> and <altGlyph>. My understanding is that it is used to offset those from the <text> object above them. I think what you are looking for is dominant-baseline. Possible values of dominant-baseline are: auto | use-script | no-change | reset-size | ideographic | alphabetic | … Read more