Hi,

I've also had cases with characters clipped, sometimes not even on the 
same edge. There has been a discussion about this quite some time ago, 
maybe you can find it if you search for my name, and I remember some 
other people also proposed solutions.

What worked for me was to set the resolution and character size to the 
same values, e.g.
osg::ref_ptr<osgText::Text> t = new osgText::Text();
t->setCharacterSize(textheight);
t->setFontResolution(textheight,textheight);
t->setText("TEST");

cheers
jp

Himar Carmona wrote:
> Hi,
>  
>   have anybody any hints about which parameters values give the best 
> quality with osgText? In my app i must show some text (normally 10-20 
> pixel height), and the quality i have been able to achieve is not good. 
> I noticed also in osgText that some characters are clipped ( most 
> visible for e and c characters, event at a great font resolution).
>  
>   I was also looking for a way to look at the texture that osgText is 
> creating, but haven't found one.
>  
>  
> Thanks a lot,
> Himar.
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

-- 
This message is subject to the CSIR's copyright terms and conditions, e-mail 
legal notice, and implemented Open Document Format (ODF) standard. 
The full disclaimer details can be found at 
http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.  MailScanner thanks Transtec Computers for their 
support.

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to