freetype-devel
[Top][All Lists]
Advanced

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

[ft-devel] loss of precision in FT_Outline_Decompose


From: lhf+ft
Subject: [ft-devel] loss of precision in FT_Outline_Decompose
Date: Tue, 16 Jul 2013 09:36:55 -0300
User-agent: Mutt/1.5.21 (2010-09-15)

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?



reply via email to

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