[scribus] recalculation of overflow is not correct

Chantal Rosmuller chantal at antenna.nl
Mon Mar 2 17:41:28 CET 2009


On Monday 02 March 2009 14:58:46 a.l.e wrote:
> hi chantal
>
> > Hi, I am writing a script that loops through textboxes in a document
> > and resizes them until the frame fits. However after resizing and re
> > evaluating the overflow the script gives me the exact same number. How
> > is that possible and what can I do about it?
>
> [...]
>
> >>             OverflowChar = scribus.textOverflows(CurrentItemName)
>
> which number does come back? afaik, only 1 and 0 are returned, not the
> number of chars overflowing (as the API states)... but i can't test if
> for you right now.
>
>
> ciao
> a.l.e
>
> _______________________________________________
> scribus mailing list
> scribus at lists.scribus.net
> http://lists.scribus.net/mailman/listinfo/scribus

Thanks for your response but this is not correct, I get values larger than 1. 
You will see it if you test the script.




More information about the scribus mailing list