HI Jeremy,

I haven't personally tried enabling subpixel support from freetype.  It's a long time since I worked on the plugin, but I recally something about some of the features infringing upon a patent, and the subpixel may be one of them.  There will be docs on this topic on the FreeType page.

As for the bug of all the glyphs overlapping each other, it sounds like the width and height are being reported as erroneous i.e. something like 0,0, so the OSG isn't ever moving the cursor in its texture atlas.

Robert.

On 11/13/06, Jeremy Moles <[EMAIL PROTECTED]> wrote:
I edited osgPlugins/freetype to enable LCD/Subpixel support. However,
after I do this (all I did was add the necessary flag to
FT_Load_Char()), all of the fonts were rendered one on top of another. I
tried adjusting the kerning some, but to no avail.

I'm not a font expert or anything, so I'm not sure what's going wrong. I
really think that with the lowering costs of LCD panels and rising use
of laptops, giving OSG support for subpixel hinting could really pay
off.

Does anyone else have experience with this kind of thing? Did Robert
write the freetype plugin, or is there perhaps someone else I should ask
about advice for adding this in. I certainly don't mind doing it myself,
I just need to know where to start. :)

Anyways, thanks all...

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to