On Mar 8, 2007, at 17:22, Abel Braaksma wrote:

[EMAIL PROTECTED] wrote:
Some time it's due to an issue of the PDF viewer, try to zoom at the
corners and/or print the PDF.


but can be resolved when the borders were drawn differently. I believe (not sure) that the borders for each individual cell are drawn as separate lines (or something), and not merged together as lines that continue where they can (I believe this is the infamous "collapse" issue?).

To be entirely complete: the borders are indeed drawn/rendered as separate lines ('paths' is the corresponding term in PDF, IIC), but strictly speaking, this is unrelated to border-collapse. IIC, and we were to offer a basic implementation for border-collapse="collapse", then this would not change the way the borders are rendered in PDF. It would, OTOH, also be possible to draw borders as continuous lines when border-collapse="separate" and border-separation="0pt".

You can compare the rendering of the borderstyle of the whole table, and the borders of individual cells. I know it is not possible to set borders for columns and rows yet, but if you could, that would, by large, solve the problem without having to resolve to "collapse".

Slight correction: to specify borders on columns and/or rows, one precisely /does/ need the collapsing border model. With border-collapse="separate", the only elements to which any border properties apply are fo:table and fo:table-cell.

The issue by itself (short lines etc) is something I have seen appear by most PDF creators I know off.

For as far as I can estimate it, it would be possible, but not at all a trivial task to change the way the borders are rendered (from a whole bunch of separate 'paths' or 'strokes' to a complete grid in one piece).


Cheers,

Andreas



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to