Hi Amit,

Amit Srivastava wrote:

I am using TiffTranscoder to convert svg to tiff .
The tiff files created are having resolution 0f 94 X 94 by default.
If I increase the resolution by
t.addTranscodingHint(TIFFTranscoder.KEY_PIXEL_UNIT_TO_MILLIMETER, new Float(0.15));

the text lines are increasing in length in the resulting tiff files but the <rectangle> elements are not getting affected (even if text and rectangle are in same <g>). So, text is crossing over the rectangles.

I suspect that your text is defined using a 'real world' unit like 'pt' and your rect is defined using 'user space' units. When you set that hint you are changing the mapping of real world units to user space units. What you probably really want to do is change the output width and height of the image.

Any idea why as there are many rectangles and editing will take lot of efforts.

This would be easier to diagnose if you included sample content!


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to