Hi Andrew,

Could you send me the whole modified file this way I can be sure that
I can the same test app as you.

Cheers,
Robert.

On 12/8/06, Andrew Somerville <[EMAIL PROTECTED]> wrote:
Andrew Somerville wrote:
> Robert Osfield wrote:
>> HI Andy,
>>
>> OK, there were some fixes to justification, but these where a while
>> back, there may still be cases that cause problems.
>>
>> Could you modify one of the OSG examples that use text to reproduce
>> the problem at your end, then post this so that we can try to
>> reproduce it at our end without having to second guess.
>
> Will do. It will probably take me a few days though before I can post
> it as Im away for the weekend and have a deadline on Monday.
>
>      Thanks,
>      Andy
I finally got a chance to sit down and produce an example.... which took
all of 3 minutes and could have been done last week while this was still
fresh.  Oh well...

so here it is:


take examples/osgtext/osgtext.cpp
on approximately line 251 (depending on version) within the block for
the alignment text add:

text->setMaximumWidth( 320 );

Then simply compile and run the example, and you will notice that only
the LEFT_*  aligned iterations wrap correctly. CENTER_* and RIGHT_*
alignments have incorrect wrapping behavior.

    Regards,
    Andy

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to