Hi,
When testing prince xml in our reporting application we came across the following thing:
When a fixed width for a table cell is specified (in this case 30px) and the text in the cell would exceed the specified width, the text is wrapped onto multiple lines. If that happens, the width of the cell becomes bigger than the minimum required width for the text (yeah it sounds complicated but the images will explain it)
If you look at the following image:
Here the second and fourth column are bigger than the minimum width required for the text in them.
The next image shows how mozilla/firefox renders the same table:
For us it is really a problem since we can have tables with a lot of cells and if the html looks ok, the pdf should also, but in these cases the table would run-off the page and the rightmost part of the table is unreadable.
When testing prince xml in our reporting application we came across the following thing:
When a fixed width for a table cell is specified (in this case 30px) and the text in the cell would exceed the specified width, the text is wrapped onto multiple lines. If that happens, the width of the cell becomes bigger than the minimum required width for the text (yeah it sounds complicated but the images will explain it)
If you look at the following image:
Here the second and fourth column are bigger than the minimum width required for the text in them.
The next image shows how mozilla/firefox renders the same table:
For us it is really a problem since we can have tables with a lot of cells and if the html looks ok, the pdf should also, but in these cases the table would run-off the page and the rightmost part of the table is unreadable.