We use Spire.Doc to create Word document containing information loaded from a database. To compose the document we use some small .docx documents as templates. The only 'constructed' parts of the document are tables (for which we use available APIs).
Until about 1 month ago, all worked properly.
Recently, for some parts of the document, the font style is changed.
Apparently, no system updates was made:
- same .net code
- same Spire.Doc version (7.1.0.40040)
- same OS version
Same problem (different behavior) is reproduced on more machines.
Recreating the document with same data of old documents (correctly generated), now produce document with different font.
Examining the produced document at low level, we found following difference for a 'sample' paragraph:
In 'old' created document:
<w:style w:type="paragraph" w:customStyle="1" w:styleId="Normal3755394c-d0af-4a60-bd19-cccddc90c6cd">
<w:name w:val="Normal_3755394c-d0af-4a60-bd19-cccddc90c6cd"/>
<w:qFormat/>
<w:rPr>
<w:rFonts w:ascii="Arial" w:hAnsi="Arial"/>
</w:rPr>
</w:style>
In 'new' created document:
<w:style w:type="paragraph" w:customStyle="1" w:styleId="Normale26a4d20-81f1-4488-8c5b-a5f549f89f57">
<w:name w:val="Normal_e26a4d20-81f1-4488-8c5b-a5f549f89f57"/>
<w:qFormat/>
</w:style>
(font name is missing)
Do you have any explanation for this?
Thank you.