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/18 12:00:18 UTC

Another alignment thing, maybe related to [Bug 47380]

Hi Andreas, 

since you already had a look at the bug, maybe this is related:

<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2006 sp1 U (http://www.altova.com) by Joerg Geyer (Geneon media solutions gmbh) -->
<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="10cm" 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="right" background-color="rgb(255, 0, 0)" id="1">
				<fo:inline/>
				<fo:inline text-align="right" background-color="rgb(255, 255, 0)">
					<fo:page-number-citation ref-id="1" background-color="orange" text-align="right"/>
				</fo:inline>
			</fo:block>
			<fo:block background-color="rgb(0, 250, 0)" text-align="right">
				<fo:inline text-align="right" background-color="rgb(255, 255, 0)">
					<fo:page-number-citation ref-id="1" background-color="orange" text-align="right"/>
				</fo:inline>
			</fo:block>
		</fo:flow>
	</fo:page-sequence>
</fo:root>

The flow contains two nearly identical blocks, only the first block contains an additional empty inline. In the result, I'd not expect the inline to result in visual difference. But: The second block is aligned right, the first block is not quite. Filling the empty inline, even with only a non-breaking space, solves the problem.

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: AW: Another alignment thing, maybe related to [Bug 47380]

Posted by Andreas Delmelle <an...@telenet.be>.
On 18 Jun 2009, at 12:26, Georg Datterl wrote:

Hi Georg

> Latest version. Just checked, no updates in svn since yesterday.

What I feared... ;-)
That means I have /some/ local change(s) that would solve the issue.  
Only I have no idea at the moment /where/ precisely. I'm almost done  
with a basic implementation for keep-*.within-column. As soon as the  
commit has been made, I'll run the test against Trunk again, and see  
if it persists. If not, I'll definitely add your sample to the test- 
suite. If yes, then at least I have a lot less classes to check.

More later.

Thanks!

Andreas


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


AW: Another alignment thing, maybe related to [Bug 47380]

Posted by Georg Datterl <ge...@geneon.de>.
Hi Andreas, 

Latest version. Just checked, no updates in svn since yesterday. 

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 
-----Ursprüngliche Nachricht-----
Von: Andreas Delmelle [mailto:andreas.delmelle@telenet.be] 
Gesendet: Donnerstag, 18. Juni 2009 12:19
An: fop-users@xmlgraphics.apache.org
Betreff: Re: Another alignment thing, maybe related to [Bug 47380]

On 18 Jun 2009, at 12:00, Georg Datterl wrote:

Hi Georg

> since you already had a look at the bug, maybe this is related:
>
> <snip />
> The flow contains two nearly identical blocks, only the first block 
> contains an additional empty inline. In the result, I'd not expect the 
> inline to result in visual difference. But: The second block is 
> aligned right, the first block is not quite. Filling the empty inline, 
> even with only a non-breaking space, solves the problem.

Which version/revision did you try exactly? I just tried with current FOP Trunk, and the output does not show any difference between the two blocks (apart from the background-color, obviously...)

Could still be that I have made some local changes that fix the issue, but I'd rather see this confirmed before digging deeper...


Thanks!


Regards

Andreas

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


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


Re: Another alignment thing, maybe related to [Bug 47380]

Posted by Andreas Delmelle <an...@telenet.be>.
On 18 Jun 2009, at 12:00, Georg Datterl wrote:

Hi Georg

> since you already had a look at the bug, maybe this is related:
>
> <snip />
> The flow contains two nearly identical blocks, only the first block  
> contains an additional empty inline. In the result, I'd not expect  
> the inline to result in visual difference. But: The second block is  
> aligned right, the first block is not quite. Filling the empty  
> inline, even with only a non-breaking space, solves the problem.

Which version/revision did you try exactly? I just tried with current  
FOP Trunk, and the output does not show any difference between the two  
blocks (apart from the background-color, obviously...)

Could still be that I have made some local changes that fix the issue,  
but I'd rather see this confirmed before digging deeper...


Thanks!


Regards

Andreas

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