Hi,
I'm using a WYSIWYG HTML Editor on a webpage, where the users can build a document with misc variables configured in another section. This is working like it should.
I do have one main challenge with fonts. If i build the word document with AddSection(), the final word document always uses "Times New Roman" font. I then tried to build a HTML page with all the content and import it into Spire.Doc - but this also uses "Times New Roman" even tho each HTML element has a style font-family "arial, helvetica, sans-serif" defined.
Attached ZIP file - Couldn't attach files - direct link
39e14b54-3bfd-4525-9e83-bc7894d53db0.html
This file is created based on the content from the HTML editor.
39e14b54-3bfd-4525-9e83-bc7894d53db0.docx
This file is the HTML file loaded into Spire.Doc and saved as a Docx file.
When creating the docx file - EmbedFontsInFile and EmbedSystemFonts is set to true.
Is there any way to make Spire.Doc / Word use the fonts defined on HTML elements?
Thanks in advance