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 series -- Petr Vanek -------------- petr [at] yarpen [dot] cz www.yarpen.cz ---------------- Kuolema Kaikille (Paitsi Meille) ------------------------------- Today is good day to end it all -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://nashi.altmuehlnet.de/pipermail/scribus/attachments/20050412/85b36857/attachment.pgp
