[scribus] Vertical alignment?
ale.comp_06 at xox.ch
Tue Mar 31 14:43:15 CEST 2009
> As I understand it, your code pushes the text down until it overflows,
> then halves the distance (or something like that).
> Is there any reason this can't be done purely from font metrics? You
> know the height of the font and the height of the line, so just add
> them up for each line and place the text in the centre.
it's certainly an interesting approach... can you add it to the wiki page?
for a script this is not doable (i don't think that i have an access to
the font metrics... and it gets even worse when picture frames are
included in the text frame...), but it may be a good approach, if and
when the feature is added in the main code!
More information about the scribus