Spire.Doc 12.6.10 supports loading customized font replacement rules in XML format for conversion

2024-06-24 07:38:38

We are excited to announce the release of Spire.Doc 12.6.10. This version supports loading custom font replacement rules in XML format for conversion and saving the XML of the document's default font replacement rules. Besides, it enhances the conversion from Word to PDF and HTML to Word. More details are listed below.

Here is a list of changes made in this release

Category ID Description
New feature - Adds the Document.SaveFontFallbackRuleSettings() method to save the XML of the document's default font replacement rules.
Document document = new Document();
document.LoadFromFile(inputFile);
document.SaveFontFallbackRuleSettings("FontReplacementRuleSettings.xml");
New feature - Adds the Document.LoadFontFallbackRuleSettings() method to load custom font replacement rules in XML format for conversion.
Document document = new Document();
document.LoadFromFile(inputFile);
document.LoadFontFallbackRuleSettings(“CustomFontReplacementRuleSettings.xml”);
document.SaveToFile(outputFile, FileFormat.PDF);
Bug SPIREDOC-10425 Fixes the issue that the program threw "System.ArgumentNullException" error when converting Word documents to PDF.
Bug SPIREDOC-10544 Fixes the issue that the images were not displayed after converting HTML to Word.
Bug SPIREDOC-10554 Fixes the issue that images and hyperlinks were incorrect after converting Markdown to Docx.
Bug SPIREDOC-10587 Fixes the issue that the program threw "Unknown boolex value" error when converting Word to PDF.
Click the link to download Spire.Doc 12.6.10:
More information of Spire.Doc new release or hotfix: