I am facing styling issue while converting Word to PDF.
For simplicity I am attaching 2 very simple documents. Both documents are same other than one is having text style as “Normal” and other has text styling as “Title”
If you closely see both the .docx documents you can see the difference in spacing between first “T” and “e” letters.
The problem is when it get converted into PDF the spacing is not similar as in the word document. It looks like for both the spacing is applied with “Normal” styling.
This looks like a small issue but for me it’s creating lots of issues, as for big documents the page counts are getting different as some text is going to 2 lines which is originally in 1 line.
Please suggest if this can be handled with some code changes or if I am missing something.
docx_files.zip (23.7 KB)