reverse of finding text extents

Roman Beslik <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
Hello.
For some text T and some number S, how can I determine the longest 
prefix T' of T such that the width of the image of T' is less than S? 
The practical aim is to break T into lines which fit in a rectangle.
--
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.