you can do it by changing the font. obviously there is file per style. For example, for Courier New font, the regular font is cour.ttf, for bold you have courbd.ttf and so on
-Nick On Mon, Aug 30, 2010 at 5:45 PM, Jeremy Moles <[email protected]>wrote: > On Mon, 2010-08-30 at 12:27 +0200, Mangesh Joshi wrote: > > Hi, > > > > Is there any way in osg to display the text in bold and italicized style > and underline or strikethrough the text? > > You can mix these kinds of decorations in a single string in osgPango, > though I haven't added support for underline yet. > > http://osgpango.googlecode.com > > If you need to only use osgText, perhaps someone here will have some > advice. > > > Thank you! > > > > Cheers, > > mangesh > > > > ------------------ > > Read this topic online here: > > http://forum.openscenegraph.org/viewtopic.php?p=31148#31148 > > > > > > > > > > > > _______________________________________________ > > osg-users mailing list > > [email protected] > > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > > > -- > Follow us on Twitter! http://twitter.com/emperorlinux > > EmperorLinux, Inc. > http://www.emperorlinux.com > 1-888-651-6686 > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

