I've not had much time to investigate this since my last post, but did find out that changing the transform from:
transform="matrix(233.21999,0,0,39.779999,170.64014,20.280548)" to transform="matrix(233.21999,0,0,39.779999,170.64014,20.280548) scale(1,4) translate(0,-0.4)" corrects the appearance of the image. I have also come across other SVGs where batik needs a similar scale and translation to make the embedded images appear correctly. I would greatly appreciate it if someone had some insight into this. I've downloaded the code and started to look there but its a minefield for a Batik newbie :-/ cbowditch wrote: > > Good catch! I used XmlSpy to cut down the rather complex original SVG to > just the barcode image. I wonder why XmlSpy didn't bark at me for deleting > the xlink namespace declaration? Correcting this has no bearing on > squiggle it still shows the barcode incorrectly. > > Anyway, by playing around with the SVG I have isolated the cause of the > incorrect barcode height to the following transformation matrix: > > transform="matrix(233.21999,0,0,39.779999,170.64014,20.280548)" > > Both Adobe SVG Plugin and Inkscape show the Barcode with the larger > height. Armed with extra info I'm off to search bugzilla and the archives > again. I'll post back if I find out anything else. > > Thanks, > > Chris > > > Archie Cobbs-3 wrote: >> >> FWIW, that document is invalid... there is no namespace declaration for >> "xlink" prefix. >> >> -Archie >> >> On Wed, Mar 11, 2009 at 12:25 PM, cbowditch >> <[email protected]>wrote: >> >>> >>> I have some SVG that contains a PNG Image of a Barcode. Both Squiggle >>> and >>> Adobe SVG Plugin shows the barcode with equal width but the height of >>> the >>> barcode shown by Squiggle is about 3-4 times smaller than the height of >>> the >>> barcode shown by the Adobe SVG Plugin. Who is correct? I have attached >>> the >>> SVG http://www.nabble.com/file/p22460153/barcode.svg barcode.svg >>> -- >>> View this message in context: >>> http://www.nabble.com/Size-of-Embedded-Image-tp22460153p22460153.html >>> Sent from the Batik - Users mailing list archive at Nabble.com. >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [email protected] >>> For additional commands, e-mail: [email protected] >>> >>> >> >> >> -- >> Archie L. Cobbs >> >> > > -- View this message in context: http://www.nabble.com/Size-of-Embedded-Image-tp22460153p22606233.html Sent from the Batik - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
