How do I obtain PDF character positioning information?

Q: We are currently evaluating your PDF SDK to use in our application
to find superscripts or subscripts in PDF files. Is this possible
with your text extractor class to retrieve font info for each glyph
within a word and compare some positional information? Any code
samples or pointers in the right direction would be greatly
appreciated.
--------------
A: Yes this is possible. For full control and access to PDF grahics
model you mat want to use ElementReader and CharIteator. For more info
please see:

"How can I get the bounding box for each character in the text run"
  in http://groups.google.com/group/pdfnet-sdk:

http://groups.google.com/group/pdfnet-sdk/browse_thread/thread/7cda21a52a75544/6e6e34014dc04ecd
http://groups.google.com/group/pdfnet-sdk/browse_thread/thread/7cda21a52a75544/969e0df27f95ff4e
http://groups.google.com/group/pdfnet-sdk/browse_thread/thread/d451e9b4ddf7519b/3527085ac9e470fe

Alternatively you could use 'pdftron.PDF.TextExtractor' (http://
www.pdftron.com/pdfnet/samplecode.html#TextExtract) and iterate over
words and each character in the word to obtain their bounding boxes.
For examle:

for (word=line.GetFirstWord(); word.IsValid();
word=word.GetNextWord()) {
  Rect bbox = word.GetBBox();
  int num = word.GetNumGlyphs();
  for (int i=0; i<num; ++i) {
    word.GetGlyphQuad(i, quad); // Position info
    Style s = word.GetCharStyle(i); // Font and char style
  }
}

Please keep in mind that ElementReader is more powerful than
TextExtractor, however TextExtractor is simpler to use.