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

2013-07-16 Thread David Turner
2013/7/16 Luiz Henrique de Figueiredo > 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 c

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

2013-07-16 Thread Behdad Esfahbod
On 13-07-16 09:35 AM, Werner LEMBERG wrote: > >>> At two places in FT_Outline_Decompose there is a division by 2 that >>> loses one bit of precision. [...] >>> >>> I was doing some tests generating outlines of fonts and come upon >>> this because the .eps I generated were slightly different but g

[ft-devel] loss of precision in FT_Outline_Decompose

2013-07-16 Thread lhf+ft
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

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

2013-07-16 Thread Werner LEMBERG
>> At two places in FT_Outline_Decompose there is a division by 2 that >> loses one bit of precision. [...] >> >> 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 l

Re: [ft-devel] (no subject)

2013-07-16 Thread Werner LEMBERG
>> Applied, thanks, with slight revisions (and formatting).  Please >> check. > > I get segfaults in Firefox: Thanks, should be fixed now. Werner ___ Freetype-devel mailing list Freetype-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/f

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

2013-07-16 Thread Behdad Esfahbod
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 re

[ft-devel] loss of precision in FT_Outline_Decompose

2013-07-16 Thread Luiz Henrique de Figueiredo
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

Re: [ft-devel] (no subject)

2013-07-16 Thread octoploid
16.07.2013, 13:38, "Werner LEMBERG" : >>  Here's a small set of patches that slightly improve the performance >>  of FreeType when compiled for ARM and x86_64 with GCC. I also >>  checked that it doesn't negatively affect x86 performance. > > Applied, thanks, with slight revisions (and formatting

Re: [ft-devel] (no subject)

2013-07-16 Thread Werner LEMBERG
> Here's a small set of patches that slightly improve the performance > of FreeType when compiled for ARM and x86_64 with GCC. I also > checked that it doesn't negatively affect x86 performance. Applied, thanks, with slight revisions (and formatting). Please check. Werner _