Lots of spaces are there when text was extracted from PDF using Aspose.PDF for .NET

hi i get lots of white spaces between words utf-8.

i will add a example and codesarit.pdf (166.7 KB)

 Dim docHtml As New Aspose.pdf.Document(f.InputStream)
              Dim textAbsorber As New TextAbsorber()
              docHtml.Pages.Accept(textAbsorber)
              Dim extractedText As String = textAbsorber.Text
              Response.Write(extractedText)

thank you :slight_smile:

@eranlipi

We were able to notice the issue in our environment while using Aspose.PDF for .NET 20.2 and logged it as PDFNET-47760 in our issue tracking system. We will further look into details of it and keep you posted with the status of its correction. Please be patient and spare us little time.

We are sorry for the inconvenience.

1 Like