When converting DOCX to PDF, the spacing between the numbering and the text is distorted. They overlap each other. This issue occurs even with a simple example. Since I haven't found this problem mentioned elsewhere, I assume the error is in my implementation. Below is my code.
<dependency>
<groupId>org.docx4j</groupId>
<artifactId>docx4j-core</artifactId>
<version>11.4.8</version>
</dependency>
<dependency>
<groupId>org.docx4j</groupId>
<artifactId>docx4j-JAXB-ReferenceImpl</artifactId>
<version>11.4.8</version>
</dependency>
<dependency>
<groupId>org.docx4j</groupId>
<artifactId>docx4j-export-fo</artifactId>
<version>11.4.9</version>
</dependency>
I also tried version 11.4.11 with the same result.
The conversion ...