[Scribus] crashing with python

Craig Bradney cbradney
Fri Oct 31 23:47:42 CET 2003


<snip>
> 
> A request for another function is GetTextWidth(lines,"name") and 
> GetTextHeight(lines, "name") which should give the minimum dimensions the 
> text box has to have given the number of lines for the entire content to be 
> displayed.

Wouldnt they require another argument?

Ie GetTextHeight, based on a certain number of lines of a certain width?
or current width?

Otherwise it could return the height for just one line of
maximum/infinite length

and the same in the other directions for GetTextWidth?

Craig




More information about the scribus mailing list