On Tue, 2006-11-14 at 09:34 +0000, Robert Osfield wrote: > 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.
I __think__ FreeType2 is no longer affected by this; they have their own hinter now that doesn't touch the Apple patented stuff. http://freetype.sourceforge.net/patents.html (Particularly, the Myths section and "Is FreeType 2 Affected by the Patents?") Am I reading this wrong? > 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. Well, when I say "one on top of another" I'm probably being misleading. Here are some screenshots of the various phases: http://www.cherustone.com/no-hinting.png (normal OSG) http://www.cherustone.com/force-autohint.png (FT_LOAD_FORCE_AUTOHINT) http://www.cherustone.com/force-autohint-lcd.png (FT_LOAD_TARGET_LCD) You can tell on the LCD hinting, the fonts look sharp and crisp, though they're certainly not rendered correctly. Would this be something you'd use in OSG if it was done properly? Or would it be something to "use at your own risk?" :) (Because of the possible patent stuffs....) > 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/ _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
