Re: [PATCH] cairo-mono-scan-converter: Set correct initial error value when delta x is zero.

Chris Wilson <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
On Thu,  1 Mar 2012 22:10:10 +0800, [email protected] wrote:
> From: Zhigang Gong <[email protected]>
> 
> Even if the delta x is zero, we still need to set a correct
> initial value of the rem to -0.5. Otherwise, latter when we
> do the row scanning, it will cause error as the rem is equal
> to zero and will increase the quo each time.

Good catch! Though all we need to perform is the intial edge advancement
bias to avoid this error conditon, similar to tor.

Thanks, tweaked and pushed.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
--
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.