Hi Thomas ,
I am using same units in both text and rectangle.
Attached is the svg file . 
Please check 
<rect stroke="black" fill="none" height="675" width="675" y="12" x="5"/>

thanks
On Thu, 14 Oct 2004 Thomas DeWeese wrote :
>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]
>


<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns:xsltc="http://xml.apache.org/xalan/xsltc"; xmlns:xlink="http://www.w3.org/1999/xlink"; xmlns="http://www.w3.org/2000/svg"; height="800" width="800"><rect stroke="black" fill="none" height="675" width="675" y="12" x="5"/><g transform="translate(0,10)"><text y="35" x="470" dy="2"/><text y="50.0" font-size="12" x="470.0"/><text y="61.0" font-size="12" x="470.0"/><text y="73.0" font-size="12" x="470.0"/><text y="84.0" font-size="12" x="470.0"/><g transform="translate(10,50)"><text y="53" x="8">Date</text><text y="53" x="42"/><text y="83" x="8">Consignee Address</text><flowText xmlns="http://xml.apache.org/batik/ext"; font-size="12" xml:space="preserve">
                            <flowRegion>
                                <rect height="50" y="73" width="300" x="125"/>
                            </flowRegion>
                            <flowDiv>
                                <flowPara justification="left">
                                    <flowLine font-weight="100">
                                    </flowLine>
                                </flowPara>
                            </flowDiv>
      </flowText><text dy="2" font-weight="bold" y="130" x="8">Airwaybill Reference:</text><text dy="2" y="130" x="130"/><text y="160" x="8">Dear </text><text y="160" x="42"> ,</text><text dy="2" y="180" x="8">The above mentioned consignment has arrived at our Gateway,for yourselves,</text><text y="196" x="9">from : </text><flowText xmlns="http://xml.apache.org/batik/ext"; font-size="12" xml:space="preserve">
                                  <flowRegion>
                                      <rect font-weight="bold" height="30" y="186" width="300" x="44"/>
                                  </flowRegion>
                                  <flowDiv>
                                      <flowPara justification="left">
                                          <flowLine font-weight="bold">
                                          </flowLine>
                                      </flowPara>
                                  </flowDiv>
      </flowText><text dy="2" y="220" x="8">Unfortunately,we have been unable to contact you by telephone.</text><text y="246" x="343">) between  the hours of 09.00 </text><text y="260" x="8">and 17.00, Monday to Friday.</text><text y="288" x="9">Please respond to this letter within 7 days*,shipments not cleared through customs after this time will be returned to the  </text><text y="301" x="10">shipper</text><text y="330" x="8">Regards</text><text font-weight="bold" y="382" x="8"/></g></g></svg>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to