> [...] it seems that it is the *application* that is supposed to
> apply gamma correction, because only the application knows the
> colors on which the pixmap created by Freetype2 will be applied.

This is correct.  It's a tricky issue, but in most cases it should be
sufficient to handle black on white and white on black (or more
generally spoken, bright on dark or dark on bright).  No idea whether,
say, `konsole' on KDE does that.

> I found reference to an "infinality" patch that builds this into
> Freetype2,

It's planned to integrate these patches into FreeType itself.

>   The problem is TrueType hinting for small glyphs was designed
>   specifically for a regular, aliased B&W rasterizer! The use of
>   anti-aliasing of any kind is inappropriate, while most Linux
>   people do namely that.

Well, this holds for fonts which contain B/W hints, and which are
(incorrectly) rendered anti-aliased.  Today, many fonts only contain
hints for anti-aliased display, e.g. DejaVu.


    Werner

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

Reply via email to