We are using Aspose.Cells for .NET version 17.7 for conversion XLSX files to PDF files and images. We noticed, that Aspose.Cells does not use font installed on the machine.
We are making PDF files using following code:
using (var workBook = new Workbook(inputStream))
Steps to reproduce:
Copy Samba.ttf and Asimov.otf from attached ZIP to C:\Windows\Fonts.
Take initial Fonts.xlsx and generate PDF file from it.
Compare fonts in initial XLSX and generated PDF.
Expected results: in both files used the same fonts.
Actual results: in output PDF file used other fonts.
When we generate PDF file using “Save as” menu in MS Excel 2013, in output PDF file initial fonts are used.
Same issue we noticed when converting same XLSX file to image.
In attached ZIP archive:
Samba.ttf and Asimov.otf - fonts;
Fonts.xlsx - initial XLSX file;
Fonts.xlsx.pdf - resulting PDF file, generated by Aspose.Cells.
Files.zip (128.5 KB)