[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft] changing the depth of gray for anti-aliasing
From: |
Werner LEMBERG |
Subject: |
Re: [ft] changing the depth of gray for anti-aliasing |
Date: |
Wed, 15 Feb 2012 14:41:42 +0100 (CET) |
> It is a good question whether the "stencil" should be pre-adjusted
> by Freetype2, e.g. by passing to it some kind of "canvas
> gamma/contract ratio" parameter, or it should be postprocessed by
> the rendering system.
The answer is very simple: FreeType won't do this. :-) Maybe it is
necessary to provide additional hooks into FreeType for speed reasons,
but that should be it.
> I suspect that the stencil delivered by Freetype2 is actually
> designed for a specific canvas, because I suspect that the
> anti-aliasing process itself, not just the blending, should
> dependent on the specific background/foregorund colours (especially
> in the case of subpixel rendering).
Since AA handling with FreeType is based on pixel coverage only, it is
not depending on output canvas.
Werner
- Re: [ft] changing the depth of gray for anti-aliasing, (continued)
Re: [ft] changing the depth of gray for anti-aliasing, David Bevan, 2012/02/13
Re: [ft] changing the depth of gray for anti-aliasing, Peter Grandi, 2012/02/14