Aspose.cell 转pdf 特殊字体部分单元格转换无效

excel 如图:image.png (30.2 KB)
转换后PDF:image.png (57.8 KB)
字体文件: SJQY.zip (1.3 KB)

字体文件只包含一个特殊字符,如果单元格中仅仅只有这个字符转换后正常,若有其他字符则无效

@jianjiaorousi,
你愿意提供你的样例文件和可运行的Console工程吗?

excel 文件:106499.pdftmp.zip (8.4 KB)
AsposeToPdf.zip (740 Bytes)

@jianjiaorousi
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): CELLSJAVA-45388

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

@jianjiaorousi

请设置如下代码到PdfSaveOptions:

saveOptions.setFontSubstitutionCharGranularity(true);

另外,如果源文件是您生成的,建议您使用富文本。例如,对于单元格E8, 您可以把单元格的字体设为“Arial”,对字符"@", 设置字体为“SJQY”