You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've encountered some problems with tables I just can't seem to fix myself.
When I create a table where borders cross there seems to be an issue with the border width. It appears to be thicker for one cell after the junction (see screenshot 1). I tried it with different pdf-readers and browsers, and although it appears to get better the more you zoom out, it really stands out when zoomed in. Maybe I'm doing something wrong with the css? Or it is a bug? The lines don't appear to have different width when I use either vertical or horizontal lines, only when they cross, and just for one cell in each direction.
Pagination for larger tables works fine, my headers repeat on each page and everything looks good. However, if I use page-break-after: avoid; in the css, and a page break is avoided by this rule, the headers disappear. The borders for them are still there but the text is missing (see screenshot 2). When the page-break-after: avoid; rule does NOT apply for one page, everything looks good again.
I created a repository here where you can reproduce the beaviour. Just run the PdfTableTest.java and look at foo.pdf. Any help would be appreciated!
Screenshot 1
Screenshot 2
Thank you!
The text was updated successfully, but these errors were encountered:
…isable bevels on borders.
Doing so avoids ugly anti-aliasing effects, especially on tables. Property is:
-fs-border-rendering: no-bevel and inherits so can be set at the table level to apply to all cells.
This commit is a better alternative to the work in #755.
Hi,
first of all, thank you for this awesome library.
I've encountered some problems with tables I just can't seem to fix myself.
page-break-after: avoid;
in the css, and a page break is avoided by this rule, the headers disappear. The borders for them are still there but the text is missing (see screenshot 2). When thepage-break-after: avoid;
rule does NOT apply for one page, everything looks good again.I created a repository here where you can reproduce the beaviour. Just run the PdfTableTest.java and look at foo.pdf. Any help would be appreciated!
Screenshot 1
Screenshot 2
Thank you!
The text was updated successfully, but these errors were encountered: