Slawick wrote:
Dear FOP users,

I have a small problem with FOP (both 0.20 and 0.93).
When generating a PDF, I got an error of type "The contents of row 1 are taller than they should be", and in the generated PDF, the rows are higher than I expect.

I understand the error by itself, but not why it is generated.

For example, I have:
"the row grows to 21600 millipoints, but the row shouldn't get any taller than MinOptMax[min=opt=max=12000] millipoints"

But the font size I use is 12pt, and even if I add the 1pt padding on top and bottom, the result shouldn't be higher than 14pt.

Wrong. First of all theres half leading. Which means a line of text typically takes up 1.2x the font height.

1.2x 12pt = 14.4pt.

You don't show your FO, but if you have added 1pt padding top and bottom then the line height is up to:

16.4pt.

If your table cells have borders this may also increase the row height. There are many other things that can increase the row height, but rather than try and guess, post up the XSL-FO for the row in question and we'll help you analyze it.

<snip/>

Chris




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

Reply via email to