freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft] anti-aliasing question


From: Tor Andersson
Subject: Re: [ft] anti-aliasing question
Date: Sun, 31 Jan 2010 23:30:34 +0100

On Sun, Jan 31, 2010 at 10:23 PM, Dave Calkins <address@hidden> wrote:
>
> I checked the FreeTypeGL source and it looks like its passing in the below
> values.
>>
>>    For FT_Load_Glyph, FT_LOAD_NO_HINTING | FT_LOAD_NO_BITMAP
>>
>>    For FT_Render_Glyph, FT_RENDER_MODE_NORMAL
>>
>> Experimenting with these hasn't seemed to have any effect on the amount of
>> smoothing (whether anti-aliasing or a result of hinting).
>>
>> Basically I guess I'd like fewer gray pixels :)  Not sure how to get that
>> result.
>>
>
> Still haven't found the answer to this.  However, if I'm correct in saying
> that FreeType is generating a grayscale rendering of the glyph using
> anti-aliasing, then is there some way to control how much anti-aliasing
> FreeType applies when its rendering the glyph?

No. It's either anti-aliased or it isn't (FT_RENDER_MODE_MONO).

Removing the FT_LOAD_NO_HINTING flag should affect the rendering
in the way you have been asking.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]