Right, I have run that test already. I still have the symbol rendering issues. I’ve attached the resulting pdf
Hi again,
I am operating on RedHat version 4.1.2-46 64bit. My JDK version is 1.7. I cannot provide the font files, but I have attached a list of the fonts we have available.
Hi Kelly,
Hi Kelly,
- Download the aforesaid fonts from this link.
- Place them in any accessible directory.
- Specify the font location using the statement CellsHelper.setFontDir(location to the fonts) at the start of your application.
- Load the spreadsheet in an instance of Workbook & save it back in the PDF format.
- Check the PDF properties for embedded font list.
Hi,
Thanks for using Aspose.Cells for Java.
We have fixed the following issues
(CELLSJAVA-40962 - Aspose.Cells renders the #N/A value differently than MS Excel)
(CELLSJAVA-40965 - Cells run into each other in the PDF)
Please download and try this fix: Aspose.Cells for Java v8.2.0.2 and let us know your feedback.
Thank you.
This is the screenshot of my fonts
Hi Kelly,
I was mistaken about the CELLSJAVA-40965 issue, my pdf looks the same as yours.
Hi Kelly,
java.io.File f = new java.io.File(fontLocation + “arial.ttf”);
if(f.exists())
{
ArrayList fonts = new ArrayList();
fonts.add(fontLocation + “arial.ttf”);
CellsHelper.setFontFiles(fonts);
Workbook book = new Workbook(input);
book.save(outputPdf, SaveFormat.PDF);
}
Hi Kelly,
I was not. I am not sure how to demonstrate my problems to you since I have followed all the steps you have sent me, but the issue still persists.
Hi Kelly,
System.setProperty(“Aspose.Cells.FontDirExc”, “C:/Users/Babar Raza/Desktop/ariel/”);
Workbook book = new Workbook(“D:/temp/AnimalExample.xlsx”);
book.save(“D:/temp/output.pdf”, SaveFormat.PDF);
- PDF generated with this code.
- PDF generated with code recently provided.
I wanted to check on the status of the filed issues:
Hi Kelly,
The issues you have found earlier (filed as CELLSJAVA-40965;CELLSJAVA-40962) have been fixed in this update.
This message was posted using Notification2Forum from Downloads module by Aspose Notifier.
Hi,
Thanks for using Aspose.Cells for Java.
Please download and try this fix: Aspose.Cells for Java v8.2.1.4 and let us know your feedback.
Please try the new fix for CELLSJAVA-40963 - Unwanted Chart Axis values rendered in the PDF of CheeseExample.xlsx.
Also, for CELLSJAVA-40964 issue. We can’t fix it. We can read the original value is “0.73900000000000166”. We don’t know why the excel cut it to “0.739”.
Hi Kelly,
Workbook wb = new Workbook(myDir + fname);
PdfSaveOptions options = new PdfSaveOptions();
options.setImageType(ImageFormat.getPng());
options.setAllColumnsInOnePagePerSheet(true);
wb.save(myDir + fname + “.pdf”, options);
Thank you for continuing to work on these issues. The issue CELLSJAVA-40963 has been resolved from my end as well. For the other issue CELLSJAVA-40963, it should match the source cell formatting, which is to truncate the number to 2 decimal places. Why is it not following this behavior?