Prawn::Errors::CannotFit in Java but not with command line
Posted by
phgiraud on
Apr 22, 2020; 7:51am
URL: https://discuss.asciidoctor.org/Prawn-Errors-CannotFit-in-Java-but-not-with-command-line-tp7938.html
Hello,
I get the following error when using Java version of Asciidoctor PDF:
avr. 22, 2020 9:46:12 AM org.asciidoctor.jruby.internal.JRubyAsciidoctor convertFile
SEVERE: (CannotFit) Prawn::Errors::CannotFit
Using the latest distribution (via Maeven Central):
asciidoctorj-pdf-1.5.3.jar
asciidoctorj-2.2.0.jar
The problem seems to be with a table in the document that contains images.
When using Linux command line with the following Gem installed:
asciidoctor (2.0.10, 1.5.8, 1.5.7.1)
asciidoctor-pdf (1.5.0.beta.4, 1.5.0.beta.3, 1.5.0.alpha.16)
I do not get this error.
Thanks in advance.