You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Georg Datterl <ge...@geneon.de> on 2009/06/17 11:26:38 UTC

new Bug in alignment handling?

Hi everybody,

I got the latest code from subversion (for the first time since the new IF was included) and my table of contents suddenly doesn't look as nice as before. Here's a simple example:

<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:fox="http://xmlgraphics.apache.org/fop/extensions">
	<fo:layout-master-set>
		<fo:simple-page-master page-height="10cm" page-width="15cm" master-name="main">
			<fo:region-body/>
		</fo:simple-page-master>
	</fo:layout-master-set>
	<fo:page-sequence master-reference="main">
		<fo:flow flow-name="xsl-region-body">
			<fo:block text-align-last="justify" span="all" width="15cm">
				<fo:inline background-color="red">left page border</fo:inline>
				<fo:leader leader-pattern="space" rule-style="dotted" rule-thickness="0.0pt" background-color="yellow"/>
				<fo:inline text-align="right" background-color="green">right page border?</fo:inline>
			</fo:block>
		</fo:flow>
	</fo:page-sequence>
</fo:root>

One block, an inline left, an inline right, a leader in between. I'd expect the right inline to end at the right page end. Am I expecting too much? 

Regards
 
Georg Datterl
 
------ Kontakt ------
 
Georg Datterl
 
Geneon media solutions gmbh
Gutenstetter Straße 8a
90449 Nürnberg
 
HRB Nürnberg: 17193
Geschäftsführer: Yong-Harry Steiert 

Tel.: 0911/36 78 88 - 26
Fax: 0911/36 78 88 - 20
 
www.geneon.de
 
Weitere Mitglieder der Willmy MediaGroup:
 
IRS Integrated Realization Services GmbH:    www.irs-nbg.de 
Willmy PrintMedia GmbH:                            www.willmy.de
Willmy Consult & Content GmbH:                 www.willmycc.de 

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


Re: new Bug in alignment handling?

Posted by Vincent Hennebert <vh...@gmail.com>.
Hi Georg,

Georg Datterl wrote:
> Hi everybody,
> 
> I got the latest code from subversion (for the first time since the new IF was included) and my table of contents suddenly doesn't look as nice as before. Here's a simple example:
> 
<snip/>
> 
> One block, an inline left, an inline right, a leader in between. I'd expect the right inline to end at the right page end. Am I expecting too much? 

No, obviously there’s a regression here. But I don’t think it’s due to
the new IF since using the old renderer gives the same result. Can you
please open a new Bugzilla issue? If you could also tell us what was the
last Trunk revision (if any) that you tried and didn’t show the issue,
that may help us to identify the guilty commit.


Thanks,
Vincent


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