xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ulrich Mayring <u...@denic.de>
Subject Re: SVG positioning problem
Date Thu, 15 Jan 2009 09:18:43 GMT
Peter Coppens wrote:
> I struggled with something similar
>
> See http://markmail.org/message/5ppuwom7arnzqjy7
>
> The solution provided was to set font-size="0pt"

I changed my FO according to your example:

<fo:block-container absolute-position="fixed" left="0.5cm" top="10cm" 
height="1cm" width="0.5cm">
   <fo:block font-size="0pt">
     <fo:instream-foreign-object>
       <svg:svg height="0.5cm" width="0.5cm">
         <svg:line x1="0cm" y1="0cm" x2="0.5cm" y2="0cm" 
style="stroke:rgb(0,0,0);stroke-width:0.2pt"/>
       </svg:svg>
     </fo:instream-foreign-object>
   </fo:block>
</fo:block-container>

But this has no effect, I am still getting the same offset. Unfortunately the 
offset changes all over the page, so I cannot correct it by adding some fixed 
value.

Ulrich


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message