[osg-users] Odd Text Distortion (Which Does Not Appear to Be Due to the 3.2 Bugfix)

Robert Osfield robert.osfield at gmail.com
Thu Jun 30 01:26:36 PDT 2016


Hi Sammy,

It's not entirely clear what the specific issue might be from your
description, it sounds like it's simply that the wrong font is being
used, from the the look of the picture it looks like the fallback
built in font is being used.  This would normally only happen if you
don't have the freetype plugin built.

Check if the freetype plugin has been built and being loaded at runtime.

Another quick check is to run osgviewer with a simply model and then
enable stats by pressing 's'. This will bring up text on screen, if
it's blocky then the OSG isn't loading freetype fonts most likely due
to lack of feetype plugin being built.

Robert.

On 29 June 2016 at 23:53, Sam Jones <cambienta at gmail.com> wrote:
> Hi,
>
> I have been having an issue with the display of text for a few days now (where the correct font is not used), while updating a project from pre-3.0 OSG to the latest version.
>
> I know about this bug fix from 3.2 where, now, creating a camera and assigning it to the viewer without initialising it properly or setting it to global defaults will give you exactly what you're asking for. It seems that past posters have had problems with text rendering in a blocky or unusual way, and have traced it to this bugfix, however, I have not found this project to have any improperly initialised cameras.
>
> Does anyone have any suggestions?
>
> (I have attached an image).
>
> Thank you!
>
> Cheers,
> Sammy J
>
> (I should mention, this is on a Win7 machine, building a project in Win32 Release mode; I have made sure that I am using the correct, non-debug dlls)
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=67921#67921
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>



More information about the osg-users mailing list