Title is not in correct position and overlapping with other data in DOC and PPT format

Hi,

Using the aspose-cells and aspose version 22.12, and aspose-pdf 22.9, there seems to be an issue where the text is merging Together in DOC or PPT format for some text.
PDF file: bold.pdf (220.9 KB)
I am using below code:
import com.aspose.pdf.Font
import com.aspose.pdf.FontRepository
import com.aspose.pdf.License
import com.aspose.pdf.TextFragment
import com.aspose.pdf.TextFragmentState
import com.aspose.pdf.TextFragmentAbsorber
import com.aspose.pdf.DocSaveOptions
import com.aspose.pdf.Document

def dataDir = “/Users/sayuj.singh/Documents/TIK/”

License license = new License();
license.setLicense("/Users/sayuj.singh/Desktop/Libs/EXS/ExportService/src/main/webapp/aspose/license/development/Aspose.Pdf.lic")

Document doc = new Document(dataDir + “bold.pdf”);

TextFragmentAbsorber textFragmentAbsorber = new TextFragmentAbsorber();
doc.getPages().accept(textFragmentAbsorber)

DocSaveOptions saveOption = new DocSaveOptions();
saveOption.setFormat(DocSaveOptions.DocFormat.DocX);

doc.save(dataDir + “3.docx”, saveOption);

image.jpg (265.9 KB)

@Sayuj_Singh

Can you please check the output generated in our environment using 23.6 version of the API and let us know by sharing the screenshots about the issues that you found in it. We will log a ticket in our issue tracking system and share the ID with you.REQ-MAY-02489_Requirements.pdf_0.1.docx (243.1 KB)