c# - How to detect superscript with ItextSharp? -


hy

i using itextsharp parse pdf file text output. want know if can catch if pdf contains subscript or superscript, knows how make difference between normal character , superscript in pdf using itextsharp, or other library ?

thanks

disclaimer: don't have evidence but...

i expect super/subscript identical normal text. it's same font, smaller. if happens on same line other text, super/sub scripts raised , lowered - won't able detect explicit meta-tag in layout-oriented format such pdf.

in other words, i'd guess need identify super/subscripts heuristics: finding text that's smaller , vertically displaced compared other text on "same" line. whether that's easy or not depends on pdf creator , details of itextsharp, since identifying "line" not straightforward.


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -