Bug 39033 - A minor Java2D compatibility issue
Summary: A minor Java2D compatibility issue
Status: CLOSED FIXED
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: pdf (show other bugs)
Version: trunk
Hardware: Other All
: P2 enhancement
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-20 11:01 UTC by Michal Sevcenko
Modified: 2012-04-01 06:26 UTC (History)
0 users



Attachments
PDFGraphics2D.java patch (1.33 KB, patch)
2006-03-20 11:02 UTC, Michal Sevcenko
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Sevcenko 2006-03-20 11:01:40 UTC
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.
Comment 1 Michal Sevcenko 2006-03-20 11:02:26 UTC
Created attachment 17925 [details]
PDFGraphics2D.java patch
Comment 2 Jeremias Maerki 2006-04-10 11:45:17 UTC
(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.
Comment 3 Michal Sevcenko 2006-04-10 15:07:18 UTC
> 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
Comment 4 Glenn Adams 2012-04-01 06:26:19 UTC
batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed