I suspect what you see is the effect of the half-leading trait (line
spacing). Try and set line-height="0" on your block.

Manuel

> -----Original Message-----
> From: lmhelp [mailto:[EMAIL PROTECTED]
> Sent: Monday, 1 September 2008 4:18 PM
> To: [email protected]
> Subject: Unwanted spaces, block, instream-foreign-object
> 
> 
> Hi everyone,
> 
> Thank you for reading.
> Here is my problem.
> 
> Just take the following code and put it in a file "essai.xsl" (or
> "essai.fo"...).
> 
> ==========================================================================
> ============================
> <fo:root xmlns:svg="http://www.w3.org/2000/svg";
> xmlns:fo="http://www.w3.org/1999/XSL/Format"; >
>   <fo:layout-master-set>
>     <fo:simple-page-master master-name="one">
>       <fo:region-body margin-top="25pt" margin-bottom="25pt"
> margin-left="50pt" margin-right="50pt"/>
>     </fo:simple-page-master>
>   </fo:layout-master-set>
>   <fo:page-sequence master-reference="one">
>     <fo:flow flow-name="xsl-region-body">
>       <fo:block
>        border-top-width="1mm"    border-top-color="tomato"
> border-top-style="solid"
>        border-bottom-width="1mm" border-bottom-color="tomato"
> border-bottom-style="solid"
>        border-right-width="1mm"  border-right-color="tomato"
> border-right-style="solid"
>        border-left-width="1mm"   border-left-color="tomato"
> border-left-style="solid"
>       >
>         <fo:instream-foreign-object
>          border-top-width="1mm"    border-top-color="palegreen"
> border-top-style="solid"
>          border-bottom-width="1mm" border-bottom-color="palegreen"
> border-bottom-style="solid"
>          border-right-width="1mm"  border-right-color="palegreen"
> border-right-style="solid"
>          border-left-width="1mm"   border-left-color="palegreen"
> border-left-style="solid"
>         >
>           <svg:svg width="45" height="45">
>             <svg:rect x="0" y="0" width="45" height="45"/>
>           </svg:svg>
>         </fo:instream-foreign-object>
>       </fo:block>
>     </fo:flow>
>   </fo:page-sequence>
> </fo:root>
> ==========================================================================
> ============================
> 
> Launch the following command:
> # fop -fo essai.xsl -pdf essai.pdf
> 
> Have a look at "essai.pdf".
> 
> So, one can see:
> - the "palegreen" border of the "instream-foreign-object"
> - and the "tomato" border of the "block" in which we can find find the
> "instream-foreign-object".
> 
> My question is:
> can anyone explain me what are the spaces:
> - between the top tomato border and the top palegreen border
> - and between the bottom tomato border and the bottom palegreen border.
> Notice that they do not have the same height...
> Also notice that I have no space between the left tomato border and the
> left
> palegreen border...
> 
> How can I suppress the two spaces mentioned above?
> 
> Thank you for your help.
> 
> --
> Lmhelp
> --
> View this message in context: http://www.nabble.com/Unwanted-spaces%2C-
> block%2C-instream-foreign-object-tp19250287p19250287.html
> Sent from the FOP - Users mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

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

Reply via email to