[osg-users] Antialising for text

Igor Spiridonov igwasm at rambler.ru
Tue Jun 26 14:27:26 PDT 2018


[quote="SMesserschmidt"]Hi Igor,

you might want to explicitly set the font resolution to get smoother fonts.

text->setFontResolution(128,128);

And make sure you're using an appropriate true type font.
E.g.
text->setFont("/fonts/arial.ttf");


hth,
Sebastian
[quote]
Hi Sebastian.
text->setFontResolution(128,128); doesn't change anything.

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=74181#74181







More information about the osg-users mailing list