Excel to Pdf Conversion clips cells


the attached Excel File Test with docProps.zip (8.8 KB)
gets converted using this code

        var inputFile = new FileInfo("Documents/Test with docProps.xlsx");
        using var input = inputFile.OpenRead();

        var workbook = new Workbook(input, new LoadOptions(LoadFormat.Auto));

        // row heights have shrunk so content is cut! Reason: Bug in Font Substitution?
        workbook.Save("Out/ExcelWithCutRows.pdf", new CellsPdfSaveOptions());

(Aspose.Cells 21.9.0)

results in this

image.png (1.8 KB)

Best regards


Please make sure that Calibri and Arial fonts are installed on your machine. I did test your scenario/ case using the following sample code and template file, it works fine and the output file (attached) is fine tuned.
Sample code:

Workbook workbook = new Workbook("e:\\test2\\Test with docProps.xlsx");

out1.pdf (33.2 KB)