补充了小标宋字体,但仍然提示找不到该字体。其它字体补充后,转换时就能找到对应的字体。只有小标宋提示找不对字体。
补充了小标宋仍然找不到小标宋字体.zip (1.9 MB)
转换代码如下:
Document document = new Document(sourceFileName);
HtmlFixedSaveOptions options = new HtmlFixedSaveOptions();
options.setUseTargetMachineFonts(false);
options.setUseHighQualityRendering(true);
options.setEncoding(Charset.forName(“UTF-8”));
options.setExportEmbeddedFonts(true);
options.setShowPageBorder(true);
document.acceptAllRevisions();
document.save(targetFileName, options);