Hi crischprolch, 

I have a similar experience with vertical border lines, in Acrobat parts of the 
border seem to be one pixel wider (or smaller) than others. Since it is always 
a pixel, no matter the zoom factor, and it is not visible in print, I ignored 
it...

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: crischprolch [mailto:[email protected]] 
Gesendet: Mittwoch, 29. Juli 2009 10:59
An: [email protected]
Betreff: Rows borders look so bad...


Hi,

I'm using FOP 0.95 to build PDF files from XML files.

I found a strange thing on rows borders : when I have more than 2 columns in a 
table, rows borders are strange. In fact, only the first and the last columns 
borders are well drawn, all other columns ar not. On the "fo:table"
element, the "border-collapse" attribute is valued to "collapse". Here is an 
example (only the third table is well drawn and there are the problem on the 
lines between the lines "ligne1" and "ligne2" ans so between the lines "ligne3" 
and "ligne4")  : 

http://www.nabble.com/file/p24715165/imprimEcran_lignesMalTracees.jpg 

I think that this may be a FOP bug on the border-collapse=collapse attribute 
because the problem appears where there is a border merging but I am not sure...

Here the source code : 

<fo:table border-collapse="collapse" font-size="12pt" font-family="Arial">
    <fo:table-column column-width="20%"/>
    <fo:table-column column-width="20%"/>
    <fo:table-column column-width="20%"/>
    <fo:table-column column-width="20%"/>
    <fo:table-column column-width="20%"/>
    <fo:table-body>
        <fo:table-row border="1pt solid blue">
            <fo:table-cell>
                <fo:block>ligne1</fo:block>
            </fo:table-cell>
            <fo:table-cell>
                <fo:block>ligne1</fo:block>
            </fo:table-cell>
            <fo:table-cell>
                <fo:block>ligne1</fo:block>
            </fo:table-cell>
            <fo:table-cell>
                <fo:block>ligne1</fo:block>
            </fo:table-cell>
            <fo:table-cell>
                <fo:block>ligne1</fo:block>
            </fo:table-cell>
        </fo:table-row>
        <fo:table-row  border="1pt solid blue">
            <fo:table-cell>
                <fo:block>ligne2</fo:block>
            </fo:table-cell>
            <fo:table-cell>
                <fo:block>ligne2</fo:block>
            </fo:table-cell>
            <fo:table-cell>
                <fo:block>ligne2</fo:block>
            </fo:table-cell>
            <fo:table-cell>
                <fo:block>ligne2</fo:block>
            </fo:table-cell>
            <fo:table-cell>
                <fo:block>ligne2</fo:block>
            </fo:table-cell>
        </fo:table-row>
    </fo:table-body>
</fo:table>

<fo:block>.</fo:block>
        
<fo:table border-collapse="collapse" font-size="12pt" font-family="Arial">
    <fo:table-column column-width="20%"/>
    <fo:table-column column-width="20%"/>
    <fo:table-column column-width="20%"/>
    <fo:table-column column-width="20%"/>
    <fo:table-body>
        <fo:table-row border="1pt solid blue">
            <fo:table-cell>
                <fo:block>ligne3</fo:block>
            </fo:table-cell>
            <fo:table-cell>
                <fo:block>ligne3</fo:block>
            </fo:table-cell>
            <fo:table-cell>
                <fo:block>ligne3</fo:block>
            </fo:table-cell>
            <fo:table-cell>
                <fo:block>ligne3</fo:block>
            </fo:table-cell>
        </fo:table-row>
        <fo:table-row  border="1pt solid blue">
            <fo:table-cell>
                <fo:block>ligne4</fo:block>
            </fo:table-cell>
            <fo:table-cell>
                <fo:block>ligne4</fo:block>
            </fo:table-cell>
            <fo:table-cell>
                <fo:block>ligne4</fo:block>
            </fo:table-cell>
            <fo:table-cell>
                <fo:block>ligne4</fo:block>
            </fo:table-cell>
        </fo:table-row>
    </fo:table-body>
</fo:table>

<fo:block>.</fo:block>

<fo:table border-collapse="collapse" font-size="12pt" font-family="Arial">
    <fo:table-column column-width="20%"/>
    <fo:table-column column-width="30%"/>
    <fo:table-body>
        <fo:table-row border="1pt solid blue">
            <fo:table-cell>
                <fo:block>ligne5</fo:block>
            </fo:table-cell>
            <fo:table-cell>
                <fo:block>ligne5</fo:block>
            </fo:table-cell>
        </fo:table-row>
        <fo:table-row  border="1pt solid blue">
            <fo:table-cell>
                <fo:block>ligne6</fo:block>
            </fo:table-cell>
            <fo:table-cell>
                <fo:block>ligne6</fo:block>
            </fo:table-cell>
        </fo:table-row>
    </fo:table-body>
</fo:table>


Thanks for your help.
--
View this message in context: 
http://www.nabble.com/Rows-borders-look-so-bad...-tp24715165p24715165.html
Sent from the FOP - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to