Hi, I am trying to convert a txt file to pdf format according to: Convert text to pdf
In the converted pdf file, the lines break not as they break in the text file. I suppose there is a configuration that should change the maximum row length but I couldn’t find such an option.
files.zip (64.1 KB)
I have also tried the option that written in https://github.com/aspose-pdf/Aspose.PDF-for-Java/blob/master/Examples/src/main/java/com/aspose/pdf/examples/AsposePdfExamples/DocumentConversion/ConvertTextFileToPDFFormat.java
and got a bad result:
output1.pdf (36.8 KB)
I would like to get help to find the right and best way to convert txt to pdf file.