How to get information of superscript and subscript text in the pdf #730
Replies: 2 comments 1 reply
-
Hi @sarveshkrg, and thanks for your interest in this library. Subscript and superscript do not have their own concepts in PDFs; rather, they're just text that use smaller font sizes and positioning. I recommend examining the |
Beta Was this translation helpful? Give feedback.
-
@jsvine I am trying to follow this approach, but the results are inconsistent—sometimes accurate, but other times superscripts are extracted as subscripts and vice versa. |
Beta Was this translation helpful? Give feedback.
-
Hi, anyone please help to get superscript subscript text identification from normal text in the pdf so that I can save the chemical formula and other constant values present in the pdf as it is into the excel. Thanks in advance.
Input
Output
Beta Was this translation helpful? Give feedback.
All reactions