hi
How to extract true visual lines with text using Aspose.PDF when a line contains mixed font sizes, superscripts or subscripts?
Detailed Query:
I am using Aspose.PDF for Java to extract text from a page with line information for PDF comparison. Currently, I use TextFragmentAbsorber and group TextFragment based on their Y-coordinate, but this approach fails when a single visual line contains mixed font sizes, superscripts or subscripts, since such fragments have different Y values even though they belong to the same visual line.
Is there any other supported way to reconstruct true visual text lines independent of these font size or subscript or superscript shifts?