[cairo-commit] src/cairo-mono-scan-converter.c
Chris Wilson
ickle at kemper.freedesktop.org
Mon Sep 12 07:51:04 PDT 2011
src/cairo-mono-scan-converter.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 4f2c7b8cf8cf85c485b5a41ab5bc6c589d347eaa
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Mon Sep 12 15:49:13 2011 +0100
mono-scan-converter: Decrement height as we skip straight edges
Fixes paint-clip-fill-mono.
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
diff --git a/src/cairo-mono-scan-converter.c b/src/cairo-mono-scan-converter.c
index 98b7631..52cd935 100644
--- a/src/cairo-mono-scan-converter.c
+++ b/src/cairo-mono-scan-converter.c
@@ -497,7 +497,7 @@ mono_scan_converter_render(struct mono_scan_converter *c,
e = e->next;
}
- while (min_height >= 2 && polygon->y_buckets[j] == NULL)
+ while (--min_height >= 1 && polygon->y_buckets[j] == NULL)
j++;
if (j != i + 1)
step_edges (c, j - (i + 1));
More information about the cairo-commit
mailing list