Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


embedded SVG in FO

From: jehanzeb.hameed@-----.---
To: NULL
Date: 4/5/2005 4:42:00 AM
Hello

I am trying to draw a horizontal line in xsl-fo using svg. However, the
line appears a few units below the place where I want it to be. For
example in the following code, the line is drawn around 43mm from the
top, instead of at 40mm.

<fo:block-container position="absolute" left="10mm" top="40mm"
width="20.001mm"
                height="0.169mm">
    <fo:block>
      <fo:instream-foreign-object content-width="20.001mm"
content-height="0.169mm">
         <svg width="20.001mm" height="0.169mm">
           <line x1="20.001mm" y1="0.085mm" x2="0.000mm" y2="0.085mm"
              stroke-width="0.169mm" fill="none" stroke="rgb(0,0,0)"/>
         </svg>
      </fo:instream-foreign-object>
   </fo:block>
</fo:block-container>

Zeb



transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent