Enancement: convert java.awt.GradientPaint to batik's LinearGradientPaint to avoid rasterization when painting. This is useful when someone uses PDFGraphics2D outside FOP (like me :) I also suspect that the rasterization painting fallback generates rasterized images upside down.
Created attachment 17925 [details] PDFGraphics2D.java patch
(In reply to comment #0) > Enancement: convert java.awt.GradientPaint to batik's LinearGradientPaint to > avoid rasterization when painting. This is useful when someone uses > PDFGraphics2D outside FOP (like me :) Patch applied. Thank you. I've had to modify it a bit. The cycle wasn't properly handled. http://svn.apache.org/viewcvs?rev=392917&view=rev > I also suspect that the rasterization painting fallback generates rasterized > images upside down. I don't see anything like that. If you can provide some Java code that reproduces this, we can try to sort it out.
> Patch applied. Thank you. I've had to modify it a bit. The cycle wasn't properly > handled. Sory I do not use cycle so I forgot about it. > > I also suspect that the rasterization painting fallback generates rasterized > > images upside down. > I don't see anything like that. If you can provide some Java code that > reproduces this, we can try to sort it out. I posted it as another report #39261
batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed