Re: Freetype/OpenGL experiment
Wolfgang Draxinger <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Organization | DraxIT |
| Message-ID | <[email protected]> |
On Fri, 23 Dec 2011 20:05:30 +0100 Nicolas Rougier <[email protected]> wrote: > All the sources/demos/screenshots are available from: > http://code.google.com/p/freetype-gl/ Excellent work. I think it still need to incorporate proper gamma compensation, you can see in the subpixel demo, that fine strokes get "washed out". Make FreeType output glyphs linear, create the OpenGL context as sRGB output context, or add gamma ramping postprocessor. Also to further improve quality, render the glyphs at higher intermediary resolution than their target resolution, to allow for resampling (rasterization is resampling!) IMHO the whole color management belongs into the lower levels of the graphics system. Ideally programs worked in a contact color space, and only when things get transmitted to the output device the conversion to the destination color space happens. That being done the only way to further improve the quality would probably involve direct rasterization of the glyphs to the target buffer (on the GPU). Wolfgang -- cairo mailing list [email protected] http://lists.cairographics.org/mailman/listinfo/cairo