When using Spire.Doc to convert RTF files to PDF files we are seeing the spacing between the middle initial and last names being compressed together to the point that the text is touching. There is a space present in the RTF file before the conversion, but it is not there in the outputted PDF file.
The code i am using to convert the file is:
Dim Doc As New Spire.Doc.Document(path)
Doc.SaveToFile(path.Replace(".rtf", ".pdf"), Spire.Doc.FileFormat.PDF)
the version of Spire.Doc that we are using is 5.8.47.3040
I have attached a sample RTF file that is similar to what we are converting (sensitive information removed).
Is there anything i can do in code to ensure that the spacing isn't compressed when the file is converted to PDF?
Note: This doesn't seem to happen on our development environment, only when run on the test environment