opensubscriber
   Find in this group all groups
 
Unknown more information…

f : fop-users@xmlgraphics.apache.org 29 July 2009 • 5:46PM -0400

AW: Rows borders look so bad...
by Georg Datterl

REPLY TO AUTHOR
 
REPLY TO GROUP




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:crischprolch@yaho...]
Gesendet: Mittwoch, 29. Juli 2009 10:59
An: fop-users@xmlg...
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: fop-users-unsubscribe@xmlg...
For additional commands, e-mail: fop-users-help@xmlg...


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlg...
For additional commands, e-mail: fop-users-help@xmlg...


Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.