Re: Prawn::Errors::CannotFit in Java but not with command line
Posted by
mojavelinux on
Apr 22, 2020; 10:16am
URL: https://discuss.asciidoctor.org/Prawn-Errors-CannotFit-in-Java-but-not-with-command-line-tp7938p7941.html
This is a known limitation of using inline images in table cells. You must set the width to a value that will allow the image to fit (or use a block image). Otherwise, it cannot be computed correctly and leads to this error.
Best Regards,
-Dan
On Wed, Apr 22, 2020 at 3:30 AM phgiraud [via Asciidoctor :: Discussion] <
[hidden email]> wrote:
Hi,
thanks for your answer, that's very useful because I also reproduce with your simple example.
I have identified the version that breaks the generation:
OK with org.asciidoctor:asciidoctorj-pdf:1.5.0-rc.2
KO with org.asciidoctor:asciidoctorj-pdf:1.5.0-rc.3
--