[cairo-bugs] [Bug 32215] Large gradients do not render

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Dec 17 03:45:39 PST 2010


https://bugs.freedesktop.org/show_bug.cgi?id=32215

--- Comment #4 from Andrea Canciani <ranma42 at gmail.com> 2010-12-17 03:45:36 PST ---
(In reply to comment #0)
> When a gradient is larger than roughly 32ki units in the gradient space (not
> device space), it fails to render. Such gradients are frequently encountered in
> SVG, as well as when working at large zoom factors in e.g. Inkscape. The
> fundamental cause is the use of fixed point coordinates in pixman.

Actually the fundamental cause is the incorrect handling of gradients
coordinates in Cairo.
Cairo is already trying to rescale gradients to fit withing the range accepted
by pixman,
but it is only doing this for linear gradients and (worse) is doing it
incorrectly and inconsistently
across different backends.

I pushed a branch which improves the handling of gradient coordinates:
http://cgit.freedesktop.org/~ranma42/cairo/log/?h=wip/doublepattern

Could you test it and check if it fixes your problem?

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the cairo-bugs mailing list