excel 如图:image.png (30.2 KB)
转换后PDF:image.png (57.8 KB)
字体文件: SJQY.zip (1.3 KB)
字体文件只包含一个特殊字符,如果单元格中仅仅只有这个字符转换后正常,若有其他字符则无效
excel 如图:image.png (30.2 KB)
转换后PDF:image.png (57.8 KB)
字体文件: SJQY.zip (1.3 KB)
字体文件只包含一个特殊字符,如果单元格中仅仅只有这个字符转换后正常,若有其他字符则无效
@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.
请设置如下代码到PdfSaveOptions
:
saveOptions.setFontSubstitutionCharGranularity(true);
另外,如果源文件是您生成的,建议您使用富文本。例如,对于单元格E8
, 您可以把单元格的字体设为“Arial”,对字符"@", 设置字体为“SJQY”