[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] Severe rendering bug
From: |
Werner LEMBERG |
Subject: |
Re: [ft-devel] Severe rendering bug |
Date: |
Tue, 03 Jan 2012 13:17:16 +0100 (CET) |
> The difference between org and orus is that org has rounding errors
> caused by the scaling to 26.6 fixed point pixel coordinates, so
> scaling orus seems to be more correct, although I struggle to see
> how it could matter in practice.
It does. See this thread:
http://lists.gnu.org/archive/html/freetype-devel/2006-04/msg00000.html
> But since the rest of the code really likes to use orus, it's best
> to keep using it in IP as well I suppose.
Well, `orus' has been introduced just to cater rounding issues with
the IP instruction.
> The attached patch fixes the bug, and does not change the case where
> x_scale and y_scale are equal, so it should be quite safe and not
> introduce any new bugs.
Thanks a lot!
Werner