https://issues.apache.org/bugzilla/show_bug.cgi?id=49516

--- Comment #9 from Luis Bernardo <[email protected]> ---
Created attachment 29221
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=29221&action=edit
patch for xmlgraphics

the patch previously submitted is not the best approach in my opinion. the
problem in fact happens in xmlgraphics, not fop, and is due to the fact that
the GraphicContext.setPaint() does not update the foreground color if the paint
in not a Color (if it is a LinearGradientPaint, as in the example submitted).
this means that the opacity from the previous element is used in the new
element. the patch submitted avoids that by resetting the foreground color to
the default (black, full opacity).

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to