On 2/5/2010 11:50 AM, Tor Andersson wrote:
On Fri, Feb 5, 2010 at 2:19 PM, Dave Calkins<[email protected]>  wrote:
I switched to using the default load flags (as opposed to the "no hinting"
flag which was being passed by FreeTypeGL), but this doesn't seem to have
made a difference.  The text is still blurry.

You get less blurrier output if you don't do subpixel position of
glyphs.


How do I control whether or not subpixel positioning of the glyphs occurs?
What is the translation component of the transform? If it is non-zero then the
grid fitting won't help against blurriness (since the pixel-aligned
outline will then
be shifted to between pixels, making the rendering all blurry).

-Tor



Where would the transform be specified? Are you referring to a transform provided to FreeType when it renders the glyphs?

I took a look through the FreeTypeGL source and they're calling FT_RenderGlyph and then accessing glyph->bitmap to get the gray-scale image and loading this into an OpenGL 2D texture. This texture is used as the alpha channel to render a rectangle to the screen of the desired color.

I'm not certain which transform you're referring to though.




_______________________________________________
Freetype mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/freetype

Reply via email to