« Return to Thread: Another alignment thing, maybe related to [Bug 47380]

Another alignment thing, maybe related to [Bug 47380]

by Georg Datterl :: Rate this Message:

Reply to Author | View in Thread

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@...
For additional commands, e-mail: fop-users-help@...

 « Return to Thread: Another alignment thing, maybe related to [Bug 47380]