Re: [ft-devel] optimal configuration to render fonts using gamma correction
On 07/31/2012 01:51 PM, Francesco Abbate wrote: I believe that gamma correction is necessary to render properly antialiased graphics but when I render the text with gamma correction it looks too much light, almost washed out. An extremely powerful way to evaluate whether your gamma is correct is to use fore / back colors of the same luminosity but different hue. Then if your gamma is correct, the blending edges should have the same luminosity as the fore / back colors. See for example: http://people.freedesktop.org/~sandmann/srgb.png BTW, I've observed the same behavior that you observed in GLyphy. behdad ___ Freetype-devel mailing list Freetype-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/freetype-devel
Re: [ft-devel] optimal configuration to render fonts using gamma correction
2012/7/31 Behdad Esfahbod beh...@behdad.org: On 07/31/2012 01:51 PM, Francesco Abbate wrote: An extremely powerful way to evaluate whether your gamma is correct is to use fore / back colors of the same luminosity but different hue. Then if your gamma is correct, the blending edges should have the same luminosity as the fore / back colors. See for example: http://people.freedesktop.org/~sandmann/srgb.png Very interesting indeed. I've made the test and it seems that my (AGG) gamma correction is done right. http://imagebin.org/222801 If I disable gamma correction and subpixel rendering the quality get clearly worst. So the problem is still standing about why fonts looks washed with gamma correction. More important too, what is the better method to render fonts ? Disable gamma corrections ? Francesco ___ Freetype-devel mailing list Freetype-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/freetype-devel
Re: [ft-devel] optimal configuration to render fonts using gamma correction
Francesco Abbate francesco@gmail.com writes: So the problem is still standing about why fonts looks washed with gamma correction. More important too, what is the better method to render fonts ? Disable gamma corrections ? What do you mean by washed out? _What's_ washed out? Regardless of what curve your grey-levels use, white should be white, and black should be black, and fonts are mostly black and white [I guess you want to do any blending in a linear space (non-gamma-corrected), but obviously whatever you hand off to the display system should be in whatever space the display system expects...] -miles -- We are all lying in the gutter, but some of us are looking at the stars. -Oscar Wilde ___ Freetype-devel mailing list Freetype-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/freetype-devel
Re: [ft-devel] optimal configuration to render fonts using gamma correction
I wrote earlier: [I guess you want to do any blending in a linear space ^ and interpolation too, of course! (non-gamma-corrected), but obviously whatever you hand off to the display system should be in whatever space the display system expects...] -- Apologize, v. To lay the foundation for a future offense. ___ Freetype-devel mailing list Freetype-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/freetype-devel