freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft-devel] inconsistently dropping sub-pixel features


From: Werner LEMBERG
Subject: Re: [ft-devel] inconsistently dropping sub-pixel features
Date: Sat, 20 Mar 2010 08:08:40 +0100 (CET)

> The reason that the dropout correction doesn't get applied to the
> 'incorrect' case is because in ftraster.c:Horizontal_Sweep_Drop, line
> 2608:
> 
>     e1 = TRUNC( pxl );
> 
>     if ( e1 >= 0 && e1 < ras.target.rows )
> 
> pxl is -4096 and e1 drops to -1, so we don't mark the pixel in the
> raster.
> 
> pxl is set from either e1 or e2, which according to the comment are
> the centres of the pixels. I think these are not expected to both be
> below 0....

Can you provide a font which I can use to do some debugging?  Which
parameters shall I use for, say, ftview?


    Werner




reply via email to

[Prev in Thread] Current Thread [Next in Thread]