freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] loss of precision in FT_Outline_Decompose


From: Behdad Esfahbod
Subject: Re: [ft-devel] loss of precision in FT_Outline_Decompose
Date: Tue, 16 Jul 2013 09:10:54 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130623 Thunderbird/17.0.7

On 13-07-16 08:27 AM, Luiz Henrique de Figueiredo wrote:
> At two places in FT_Outline_Decompose there is a division by 2 that
> loses one bit of precision. A client walking manually through the
> contours of a glyph and mapping the control points to floats by
> dividing by 64 and then doing any required midpoint calculation for
> conics will get different results than one calling
> FT_Outline_Decompose.
> 
> I was doing some tests generating outlines of fonts and come upon this
> because the .eps I generated were slightly different but gave
> apparently the same image.
> 
> Is this loss of precision a problem or will it never be seen in an image?

Would be nice to fix regardless.

-- 
behdad
http://behdad.org/



reply via email to

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