[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] How to modify the number of gray level in ft_gray_raster
From: |
Werner LEMBERG |
Subject: |
Re: [ft-devel] How to modify the number of gray level in ft_gray_raster |
Date: |
Sun, 30 Dec 2007 08:28:17 +0100 (CET) |
> As the comments in ft_grays.c:
>
> - It can easily be modified to render to _any_ number of gray levels
> cheaply.
>
> But the source code looks like hard-coded. Could you give me some
> tips for modifying the gray level?
Look for `coverage' (in gray_hline) and PIXEL_BITS. Again, a patch
which makes this configurable is highly welcomed.
Werner