I am using Java Aspose.PDF library for converting the PDF to HTML. I found a case when the text in PDF is appearing as SVG image in HTML and not as text. This is happening when the text is in a box that is vertically rotated. Please see the attached image. I need to show an in-context menu on this box so that I can show some actions to perform with the text.
Screenshot 2020-04-02 at 10.47.16 AM.png (78.7 KB)