On 30.10.2008 00:31:03 JWang wrote: > > I am trying to upgrade the fop to 0.95 from 0.20.5 to use some of the newly > supported features. I am running into a few problems. I appreciate your > help. > > 1. The old version displays pdf files nicely. But the lines with the new > version are not displayed evenly. One part of a line in a table can be a lot > darker than another part. Does this has something to do with table cells > collapsing borders or something else?
So you have a screenshot that shows the problem you're seeing? Most probably, what you're seeing are anti-aliasing effects by Adobe Acrobat. If those effects go away if you disable "Smooth line art" in Acrobat Reader, you know what caused this. When printed all should look fine. > 2. More tables show up than before. We use many layers of nested tables to > put contents in groups. Typically a top-level table contains one table cell > that contains another table. The following example displays two tables in > the old version but 3 tables in the new version. When does FOP display one > table if two tables are nested? Having tables with only one column doesn't make much sense. Consider removing them. If necessary, you can replace them by a block-container which is more light-weight. Anyway, with only a partial snippet of your document it is very difficult to guess what effects you're seeing. > <fo:flow flow-name="xsl-region-body"> > <fo:block font-size="8pt"> > <fo:table table-layout="fixed" width="100%"> > <fo:table-column column-width="10.559999999999999in"/> > <fo:table-body> > <fo:table-row> > <fo:table-cell margin="2pt" padding="2pt" > display-align="center" text-align="left"> > <fo:table table-layout="fixed" width="100%"> > <fo:table-column > column-width="10.559999999999999in"/> > <fo:table-body> > <fo:table-row> > <fo:table-cell > display-align="center" border-collapse="collapse" > > border-style="solid" border-color="black" > > border-width=".1mm"> > <fo:table > table-layout="fixed" width="100%"> > <fo:table-column > column-width="10.559999999999999in"/> > <fo:table-body > border-width=".1mm" border-color="black" > > border-style="solid"> > <fo:table-row > keep-with-previous="always"> > <fo:table-cell > margin="2pt" padding="2pt" > > display-align="center" text-align="left"> > <fo:table > table-layout="fixed" width="100%"> > > <fo:table-column > > column-width="1.4300000000000002in"/> > > <fo:table-column > > column-width="1.4300000000000002in"/> > > <fo:table-column > > column-width="1.4300000000000002in"/> > > <fo:table-column > > column-width="1.4300000000000002in"/> > > <fo:table-column column-width="1.65in"/> > > <fo:table-column column-width="1.65in"/> > > <fo:table-column > > column-width="1.4300000000000002in"/> > > <fo:table-body> > > <fo:table-row > > > keep-together.within-column="always"> > > <fo:table-cell border-width=".1mm" > > > border-color="black" > > > border-style="solid" > > > border-collapse="collapse" > > > text-align="center" > > > display-align="center" > > > number-rows-spanned="2"> > > > <fo:block margin="0pt" padding="1pt" > > > font-size="8pt" > > > white-space-collapse="false"> > > > Units Of Measurement > > > </fo:block> > > </fo:table-cell>... > -- > View this message in context: > http://www.nabble.com/upgrading-to-0.95-from-0.20.5%2C-several-problems-tp20237183p20237183.html > Sent from the FOP - Users mailing list archive at Nabble.com. > Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
