They way Blender handles vertical alignment is very buggy:
- Top-Base: It works perfectly.
- Bottom: It is actually bottom-baseline,a nd it fails when line size is != 1.0 when working with text boxes.
- Top: Poorly implemented, it should use font's ascent (recommended distance from baseline), so it has room for accents, but it's not one line distance far from the origin (as it is now).
- Center: Poorly implemented. This is tricky since there is no silver bullet.
To clear this situation I created a new option (Bottom-Baseline), and addressed
the issues above. I'm getting the ascent and descent from freetype2, and use
this for padding above/below the text. Also for vertically centering the text.