Hi Jeremy,

On 11/14/06, Jeremy Moles <[EMAIL PROTECTED]> wrote:
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?

This page has evolved a bit since I last got intimate with freetype.  Its mostly the same as I remember though.   The auto hint does seem to be in the clear though so this should just find to enable.

> 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.

Thanks for the screenshots.  I could not spot much different between the no hinting and autohint, but the lcd version is obvioulsy buggy.

As to why?  No clue.  Best I can suggest is that the widths or kerning is being reported/used incorrectly.

Robert.
 

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/

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

Reply via email to