From: Mark R. <ma...@la...> - 2020-05-30 16:39:37
|
On 30-05-2020 16:25, Paul Vinkenoog wrote: >> I have updated the examples (same links): >> >> - little bit more padding in PDF > > I don't see that (but can't compare with the previous rendering, obviously) > and the 'r' is still on the next line. Maybe my increase was too conservative (I increased from 2px to 4px). I have no increased it to 8px >> - Column heading left-aligned >> - No striping > > I like that better and I think that, between the tables, I'd still prefer the > autowidth, but with 2-3 times more right-padding than left-padding. Given the text is left-aligned, why would more right-padding than left-padding be important? > But like I said earlier: all 3 are OK, and if somehow the rendering of > autowidth columns in the PDF's is problematic, we'd better forget about > that alternative unless it's really easy to fix in a short time. Apparently, this is a bug in the prawn-table library asciidoctor-pdf uses to render the table (it didn't take the actual font-size into account or something). It is supposedly fixed upstream, but that fix hasn't been released. It should be possible to monkey-patch it, but it isn't exactly clear how to do that for the Gradle plugin, if it is possible at all, and I think my time is better spent on converting the documentation. In any case, I have updated the example: 1. More padding 2. Fourth example, with autowidth in HTML output and fullwidth in PDF Mark -- Mark Rotteveel |