8 Replies Latest reply on Apr 18, 2012 6:24 PM by FUBARinSFO

    How to get font attributes(height,width,name, type) of a PDF or PDF page?

    poortip87 Level 1



      I am developing a plugin which writes data in a particular location in a pdf.  First I was using hardcoded font width and height as well as other font attributes like name (CourierStd), type(Type-1) etc. But now want to get these font attirbutes according to the pdf on which my plugin is doing the processing. I am not able to figure out any API to extract text from the pdf and then use that text to get the font attributes.

      Can anyone please suggest a way to get the font attributes used in pdf or a particulsr pdf page???


      Thanks in advance.