Hi, You need to set both font-size and line-height to 0pt. Since line-height defaults to '0' (witch means 0*line-height), setting only font-size should do the trick.
Pascal > -----Message d'origine----- > De : lmhelp [mailto:[EMAIL PROTECTED] > Envoyé : lundi 1 septembre 2008 11:24 > > Thank you for your answer! > > So I tried with: > ============================================================== > =================== > <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" > line-height="0" > > > <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> > ============================================================== > =================== > > But, unfortunately, the problem is not solved. > Now, the "instream-foreign-object" over the "block" > and there are still spaces: > - between the top "palegreen" border and the top "tomato" border and > - between the bottom "tomato" border and the bottom > "palegreen" border. > > Any other idea? > Thanks, > > -- > Lmhelp --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
