summaryrefslogtreecommitdiff
path: root/README.adoc
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2020-02-13 05:20:02 -0700
committerDan Allen <dan.j.allen@gmail.com>2020-02-13 05:20:02 -0700
commit91d3441a242bc60246784b9f56cb697dff3f3b07 (patch)
tree3a1c1e9168ce7308a9875e662709738a4c7baa9e /README.adoc
parentd8da207887965c1eff9c6929d42c30e1a0b4ac6e (diff)
add note to README about width of inline images in table cells [skip ci]
Diffstat (limited to 'README.adoc')
-rw-r--r--README.adoc1
1 files changed, 1 insertions, 0 deletions
diff --git a/README.adoc b/README.adoc
index 2a250f99..6c9ede23 100644
--- a/README.adoc
+++ b/README.adoc
@@ -98,6 +98,7 @@ But don't miss the <<Highlights>> to get a preview of what's possible.
* Footnotes are always rendered as endnotes (at end of chapter for books; at end of document for all other doctypes)
* Table cells that exceed height of a single page will be truncated (see https://github.com/prawnpdf/prawn-table/issues/41[prawn-table#41])
+* Inline images in table cells must fit within available space or Prawn::Errors::CannotFit error will be thrown
* Columns cannot be assigned a 0% width (or a width less than the width of a single character); in the same vein, a column cannot be set to autowidth if width of all other columns meets or exceeds 100%; the result is that the converter with throw a Prawn::Errors::CannotFit error
* An inline image in a table cell will not force the column wider if the width of the image exceeds the width of the column; either reduce the image width using `pdfwidth` or increase the width of the column using `cols`; another solution is to convert the cell to an AsciiDoc table cell (see https://github.com/asciidoctor/asciidoctor-pdf/issues/830)
* Must use development version of prawn-table for autowidth to work on table head row