Aspose.Words for Java word转html,word转换后图片错位

word转换后图片错位.zip (264.9 KB)
转换代码如下:
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);

@xiangma

请确保已在将文档转换为HtmlFixed文件格式的机器上安装了文档中使用的所有字体。

您能否请ZIP并在此处附加以下字体进行测试?我们将对此问题进行调查,并为您提供更多信息。

  • ‘仿宋_GB2312’