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:59:44 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130623 Thunderbird/17.0.7

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 gave
>>> apparently the same image.
>>>
>>> Is this loss of precision a problem or will it never be seen in an
>>> image?
> 
> AFAIK, it is not a problem, given that we work with 1/64th of a pixel.

Oh, I see.  Doesn't matter then.


>> Would be nice to fix regardless.
> 
> Suggestions?  I think it's not worth the trouble, but maybe there are
> special use cases which I'm not aware of.

I was thinking about unscaled outline, but even if we are losing a bit there,
that's pretty unavoidable given the upem of the font.

-- 
behdad
http://behdad.org/



reply via email to

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