Comment #4 on issue 1609 by
ni...@chromium.org: Missing spaces from text
https://bugs.chromium.org/p/pdfium/issues/detail?id=1609#c41. FPDFTextObj_GetText is for text extraction only, it should not be involved in the rendering process.
2. Chrome's rendering result is attached below, which is showing large distance between these texts. (Other PDF viewers such as acrobat and Okular, both shows the large distance between the texts, unlike the screenshot you attached in issue #1597).
3. Chrome uses the PDFium API FPDF_RenderPage_* to render pages. If you want to see how characters are rendered individually, you can try to look into the rendering process by using pdfium_test (build by PDFium), run pdfium_test --png /PATH_TO_PDF/yourfile.pdf.
characters are rendered one by one in PDFium, since PDFium finds the glyph for each character and reads each character's position from the PDF (that's how you get the large gap). A key function to look into is GetCharPosList(), which calculates each character's rendering positions.