Bug 40131 - SVG to PDF transcoder offsets polylines and polygons in Adobe Reader
Summary: SVG to PDF transcoder offsets polylines and polygons in Adobe Reader
Status: NEEDINFO
Alias: None
Product: Batik - Now in Jira
Classification: Unclassified
Component: SVG Rasterizer (show other bugs)
Version: 1.6
Hardware: Sun Solaris
: P2 major
Target Milestone: ---
Assignee: Batik Developer's Mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-27 22:26 UTC by Skeeter
Modified: 2007-09-24 19:20 UTC (History)
0 users



Attachments
Simple Scale Box (1.86 KB, image/svg+xml)
2006-07-27 22:27 UTC, Skeeter
Details
Simple Scale Box in pdf shifted (1.19 KB, application/pdf)
2006-07-27 22:28 UTC, Skeeter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Skeeter 2006-07-27 22:26:24 UTC
1) Create a rectangular polyline object
2) Create several polygons that fit inside the object
3) Using Adobe SVG Viewer in IE6 on XP to view svg looks OK
4) Using  Solaris 9 and jdk1.5.0_06: java -jar batik-rasterizer.jar -m
application/pdf simple.svg 
5) Looking at simple.pdf in Adobe Reader 7.0.8 the polygons are shifted right
and down.
Comment 1 Skeeter 2006-07-27 22:27:55 UTC
Created attachment 18655 [details]
Simple Scale Box
Comment 2 Skeeter 2006-07-27 22:28:47 UTC
Created attachment 18656 [details]
Simple Scale Box in pdf shifted
Comment 3 Skeeter 2006-07-31 17:42:12 UTC
An online viewer
http://view.samurajdata.se/
and Foxit Reader 1.3 
both show the shifted poly problem
Comment 4 Thomas Deweese 2006-08-28 13:34:11 UTC
Can you check SVN version of Batik.  This may already be fixed.
There were some changes in the FOP PDFGraphics2D that improved
the way it generated it's output.