Font size is getting changed in merge fields values on Aspose.words version 13.10 and above

Hi Team,

Font size is getting changed in merge fields values on Aspose.words version 13.10 and above.

There is a merge field named “htmlDeficiencyTextSolicitor” in our template (Image1.png) and the html for the same field is getting generated dynamically from a SQL stored procedure. After upgraded to Aspose.Words version 13.10, the font size of the text is getting changed from 11pt to 12pt (Image2). Getting the same issue with all the above versions as well.

If we provide the font size explicitly in the stored procedure when providing the styling, it works fine (Image3.png). Since we deal with a large number of documents, it’s difficult to provide font size explicitly for every files.
Do we have any other solution for this issue?

Image1.png (4.5 KB)
Image2.png (15.9 KB)
Image3.png (15.6 KB)

@Febinbabu Could you please provide you sample template, output and expected output documents along with code and data required to reproduce the problem? We will check the issue and provide you more information.
Unfortunately, it is impossible to analyze the issue using screenshots.

Hi Alexy,

Discussion with management is going on to provide the documents. Mean time we are trying to find out a solution if possible.

In Aspose.Words 13.10 release notes I observed that some bugfix you have provided related to font size.“WORDSNET-5389-Size of font is changed during rendering”.
This version onwards we start facing issue. could you please confirm what was the fix? Can we get rid of this change?

@Febinbabu The issue WORDSNET-5389 has been closed about 10 years ago as not reproducible. So no actual code changes has been made and it is difficult to say what exactly fixed this particular issue.