We have need to override how wordwrapping is calculated in the document.
One option might be to implement a "minimum raggedness" wrapping algorithm, like described here: http://en.wikipedia.org/wiki/Word_wrap# ... raggedness -- this could solve our needs.
However, ideally, I would like to be able to simply decide where word wrapping is done based on the "weight" of the lines, so that something like this:
blah blah blah blah blah
blah blah blah blah blah
blah blah blah blah blah
blah
would instead show as:
blah blah blah blah
blah blah blah blah
blah blah blah blah
blah blah blah blah
Obviously, the actuial width of the words (considering font size differences, etc) would need to be factored in.
Can you suggest for me a starting point on doing this in richview?
Customizing word wrap
-
- Site Admin
- Posts: 17534
- Joined: Sat Aug 27, 2005 10:28 am
- Contact: