List Info

Thread: doc importing




doc importing
country flaguser name
Sweden
2007-10-23 11:15:50
Hi all, please try to understand my poor English.

Batik 1.7 beta 1
sun jdk 1.6.03
windows xp pro sp2
centrino duo, 2 gb ram

I'm writing an application that merges a number of svg
documents created 
externally using inkscape.
These documents are merged using importNode(...).

My problems are:
1) Imported document are slightly smaller, in dimension,
than the size 
of the object directly drawn.
Ex. I draw a rectangle of size
	h = 150 mm
	w = 50 mm
when I import (importNode) a document with the same size
created with 
inkscape the imported object is smaller in both width and
height

Saving the final result of the merge as an svg and viewing
it with 
inkscape result in a perfect looking document where the
drawn rectangle
and the imported document have the same size.
Opening the svg with squiggle have the same problem:
different size

2) If an imported document contain an element outside the
document size
it will be clipped on the document border. I need to draw
elements even 
in negative position without it being clipped at 0
coordinates.
Again, the saved SVG visualized with inkscape is looking
correct.

What must i do for having batik behave like inkscape in
these cases ?

Thank you


------------------------------------------------------------
---------
To unsubscribe, e-mail: batik-users-unsubscribexmlgraphics.apache.org
For additional commands, e-mail: batik-users-helpxmlgraphics.apache.org


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )