J
jehanzeb.hameed
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
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