Hi,
I am using aspose-cells java (version 21.4) to convert a CSV file to PDF. The CSV file has some Japanese characters. When this file is converted to PDF, the Japanese characters are not printed properly. Also the columns alignment is not proper for all rows(Even when a CSV with only EN characters are converted to PDF).
I have used the following lines of code for conversion.
LoadOptions opts = new LoadOptions(LoadFormat.CSV);
Workbook csvworkbook = new Workbook(inputStream, opts);
csvworkbook.save("csv-to-pdf.pdf", com.aspose.cells.SaveFormat.PDF);
When the same data is added in ods and converted to pdf, the pdf conversion is fine.
I have attached the .csv and also the .ods files I used for conversion.
csv-issue.7z (45.9 KB)
Kindly help me to resolve this issue.
Regards,
Raz