[Scribus] Fill Characters?
Tue Apr 12 10:52:43 CEST 2005
On Tuesday 12 April 2005 10:50, Petr Van?k wrote:
> On Tuesday 12 of April 2005 07:57, Steve Jacobs wrote:
> > This<I/S>That
> > Something<I/S>Else
> > generated
> > This That
> > Something Else
> > Insert Leader did the same thing, but using dots instead of white space.
> > It seems to me this would be fairly easy to script, if there is a Python
> > function which will return the amount of unsed space remaining in a
> > line. Is there such a thing?
> unfortunately there is no function for it. Craig R. have tested some font
> metrics via Python but with very small luck (=no luck imho;))
> I use small workaround - set forced formating on the text frame. Text is
> formated then:
> this that something
> there is unbreakable space between 'this' and 'that'.
> This is the way I'm using in table of contents generator hack for 1.2x
And I havent yet worked it out for the table of contents generator in 1.3.x,
just using monospaced fonts for now. TODO.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
Url : http://nashi.altmuehlnet.de/pipermail/scribus/attachments/20050412/0722eb7b/attachment.pgp
More information about the scribus