Comment 8 for bug 845153

Revision history for this message
Ulf Adams (ulf-ofahrt) wrote : Re: [Bug 845153] Re: radial gradients not rendered correctly

Any chance the package name might be wrong and it's actually the new renderer?

On Fri, Sep 9, 2011 at 7:27 AM, ~suv <email address hidden> wrote:
> Reproduced in Inkscape 0.48.2, cairo 1.10.2:
> In cairo-based exports (saving a copy as PDF/PS/EPS or as 'Cairo PNG') current stable exposes the same interpretation of the radial gradient "if the focus (fx, fy) lies outside the circle with center (cx, cy) and radius r" as the new renderer in trunk does on-canvas.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/845153
>
> Title:
>  radial gradients not rendered correctly
>
> Status in Inkscape: A Vector Drawing Tool:
>  Confirmed
>
> Bug description:
>  Radial gradients don't render correctly if the focus (fx, fy) lies
>  outside the circle with center (cx, cy) and radius r. The SVG spec has
>  this to say:
>
>  If the point defined by ‘fx’ and ‘fy’ lies outside the circle defined
>  by ‘cx’, ‘cy’ and ‘r’, then the user agent shall set the focal point
>  to the intersection of the line from (‘cx’, ‘cy’) to (‘fx’, ‘fy’) with
>  the circle defined by ‘cx’, ‘cy’ and ‘r’.
>
>  I have attached a sample svg that I created with inkscape, and two
>  screenshots, one for inkscape, and one for chrome (the browser), which
>  appears to render the gradient correctly.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/inkscape/+bug/845153/+subscriptions
>