No, that's not the problem. The cell background is painted and then cell
borders are painted next (i.e. "over" them). The problem is rather
subpixel effects. Lines can become smaller than one device pixel and can
therefore disappear (worst case). At any rate, FOP makes the lines
exactly as wide as you specify them. The negative effect occurs at
rendering time in the viewer.

I went looking into the PDF spec again (the general topic has come up
before) and this time I found something. There's chapter 6.5.4
"Automatic Stroke Adjustment" (in PDF 1.4) which could be used to
help counteract such effects. Maybe someone wants to experiment with the
"SA" state entry. Patches are welcome.

On 14.12.2007 17:16:10 Pascal Sancho wrote:
> Hi,
> 
> After some checks, this happens because cells borders are drawn before cells 
> background.
> As a workaround, you can use the background-color property on deeper table 
> element (from fo:table to fo:table-row).
> 
> HTH,
> 
> Pascal
> 
> > -----Message d'origine-----
> > De : Jerven Bolleman [mailto:[EMAIL PROTECTED] 
> > Envoyé : vendredi 14 décembre 2007 16:23
> > À : [email protected]
> > Objet : Re: fo:table border thickness
> > 
> > Dear Fop Users and Developers,
> > 
> > First of all, thank you for all your effort in providing fantastic
> > software that really helps people.
> > 
> > I am having similar problem as the original writer.
> > 
> > Unfortunately, we were migrating from Fop 0.20.5 to 0.9*. And one of
> > our major reports is no longer working the way we expected.
> > 
> > Basically lines sometimes disappear between colored (gray)
> > table-cells. This did not happen when using fop 0.20 to generate the
> > pdf.
> > While the observation is true that the lines have the correct width
> > (seen once zooming in or printing), they are no longer drawn by adobe
> > acrobat.
> > 
> > I can send the xslt on request as they are 143 pages of style sheet.
> > But I have a minimal sample. Attached, if there is interest in the
> > resulting
> > pdf's in 0.20 and 0.94 then I am happy to provide them.
> > 
> > The workaround using border-collapse="separate" provides even more
> > problems in adobe.
> > 
> > The specific version is 0.94 for FOP and 7.0.8 for acrobat reader on
> > Windows. Although it also occurs with the free Sumatra gpl viewer.
> > 
> > Does anyone have any ideas?
> > 
> > Jerven
> > 
> > 
> > -- 
> > Jerven Bolleman
> > [EMAIL PROTECTED]


Jeremias Maerki


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

Reply via email to