title: Handle PDF text matrix (Tm) values obtained with CGPDFScanner on iPhone/iPad
body: <p>I am trying to parse pdf content in order to search and highlight text.
  I managed with CGPDF stuff to find text with TJ and Tj operators and say in which page the word is. The problem comes with the highlighting.</p>
  <p>I followed many other posts such as this <a href="https://stackoverflow.com/questions/3627745/getting-text-position-while-parsing-pdf-with-quartz-2d">Getting text position</a> or this <a href="https://stackoverflow.com/questions/4097044/pdf-search-on-the-iphone?tab=votes#tab-top"> Pdf search </a>.</p>
  <p>I know the operators for text positioning are Tm (text matrix), TD and Td (T* maybe), But I cant figure out how to use this information.</p>
  <p>When I print the Tm value i get a nine-number integer, I can assume this is a 3x3 matrix. I can give you the output:</p>
  <blockquote>
  <p>2011-03-23 10:59:07.894 PDFSearch[11035:40b] BT(I) 161361744:</p>
  <p>2011-03-23 10:59:07.896 PDFSearch[11035:40b] TM(I) 161361104:</p>
  <p>2011-03-23 10:59:07.897 PDFSearch[11035:40b] Tf(I) 161361616:</p>
  <p>2011-03-23 10:59:07.899 PDFSearch[11035:40b] TJ: R</p>
  <p>2011-03-23 10:59:07.899 PDFSearch[11035:40b] TJ: e</p>
  <p>2011-03-23 10:59:07.901 PDFSearch[11035:40b] TJ: t</p>
  <p>2011-03-23 10:59:07.901 PDFSearch[11035:40b] TJ: i</p>
  <p>2011-03-23 10:59:07.903 PDFSearch[11035:40b] TJ: co</p>
  <p>2011-03-23 10:59:07.903 PDFSearch[11035:40b] TJ: l</p>
  <p>2011-03-23 10:59:07.905 PDFSearch[11035:40b] TJ: o</p>
  <p>2011-03-23 10:59:07.907 PDFSearch[11035:40b] ET(I) 161361872:</p>
  </blockquote>
  <p>Any idea how to use it to find text positioning? And use it to drow a box on the pdf view with quartz2D?</p>
  <p>Thanks :)</p>