[osg-users] Bitmap Font

Aaron Andersen aaron at fosslib.net
Mon Nov 23 07:05:35 PST 2015


Hi Robert,

I went through that code and seems pretty straight forward.
Thank you for your help!

Aaron

Quoting Robert Osfield <robert.osfield at gmail.com>:

> Hi Aaron,
>
> On 22 November 2015 at 23:18, Aaron Andersen <aaron at fosslib.net> wrote:
>
>> I haven't really been able to find a bitmap font in OSG. The closest I
>> could find was the DefaultFont in the osgText source code. I was hoping
>> there was an actual bitmap font class that I could use to create fonts from
>> an image. Anyone know of any?
>>
>
> There isn't a specific bit map font class as it isn't neccessary as you can
> provide custom fonts by subclassing from osgText::FontImplementation, see
> the OpenSceneGraph/src/osgPlugins/freetype/FreetTypeFont.h/.cpp and
> src/osgQt/QFontImplementation.cpp.
>
> Robert.






More information about the osg-users mailing list