I can reproduce but I'm not in the mood to investigate and I don't think it is proper behaviour. The PostScript renderer doesn't paint the background beyond the border but on the other side doesn't paint the borders correctly. A work-around could be to use a single block-container and use SVG within.
On 12.05.2003 14:31:42 m.schaeffler wrote: > Hi fopper, > > considering the following code: > > > <fo:block-container height="4.233333332275mm" width="30.0mm" top="15.0mm" > left="30.0mm" > position="absolute" line-height="12.0pt" border-width="0.05mm" > border-style="solid" > border-color="black" background-color="red"> > <fo:block>Hello</fo:block> > </fo:block-container> > > <fo:block-container height="4.233333332275mm" width="30.0mm" top="19.22mm" > left="40.0mm" > position="absolute" line-height="12.0pt" border-width="0.05mm" > border-style="solid" > border-color="blue" background-color="green"> > <fo:block>World</fo:block> > </fo:block-container> > > > > There are two things of which I expected a different representation: > > 1. If you examine the border of the two block-containers in the resulting > PDF document you will realize that the background is actually larger than the > border. Is that the proper behaviour?? > > I need to exactly put a block-container under the other. The result is that > the background of one block-container always hides a bit of the border of > another container. The only workaround i found is to set the background-color > to > "transparent", which works fine as long as you need no background-color of > course. > Is my XSL-FO inappropriately, or what's to correct solution to the problem ? > > 2. As you can see in the PDF document the text is always on the very top of > the block-container? What's the best solution to make the text appear in the > middle (vertically) of the block-container? > > > Any suggestions will be highly appreciated. Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
