Hi Terry, changes look good and the testing I've done here things look
fine.  Changes now merged and submitted to svn/trunk.

On Fri, Feb 19, 2010 at 9:55 PM, Terry Welsh <[email protected]> wrote:

> As discussed on the osg-users list, I have implemented these rules in
> Text and Text3D:
>
> 1.  A new line should be started after a line's last hyphen or before
> its last whitespace.
> 2.  If no suitable place to break a line is found, just start new line
> after the last character that fits on the line.
> 3.  Whitespace should be removed from the beginning of the new line
> (already worked in Text, but not in Text3D).
>
> Line wrapping looks a lot better now with no more lone periods
> appearing at the beginning of lines.
>
> Also, right-justified text is more accurate now (slashes would hang
> off the end of lines before).  With this new code I spotted one
> instance where a hyphen stuck out too far, but in general it looks
> better.  Centered text was not perfect before and still isn't, but I
> can't see any significant increase or decrease in quality.  The casual
> observer would probably never notice a problem.
>
> Also fixed a whitespace problem in Text3D.  Not all whitespace was
> being removed from the beginning of lines.  Now it is all being
> removed in the same manner as in Text.
> --
> Terry Welsh  /  mogumbo 'at' gmail.com
> www.reallyslick.com  /  www.mogumbo.com
>
> _______________________________________________
> osg-submissions mailing list
> [email protected]
>
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to