title: How to find the Font Size of every paragraph of PDF file using python code?
body: <p>Right now i am Working on a project in which i have to find the font size of every paragraph in that PDF file. i have tried various python libraries like fitz, PyPDF2, pdfrw, pdfminer, pdfreader. all the libraries fetch the text data but i don't know how to fetch the font size of the paragraphs.
  thanks in advance..your help is appreciated.</p>
  <p>i have tried this but failed to get font size.</p>
  <pre><code>import fitz
  
  filepath = '/home/user/Downloads/abc.pdf'
  text = ''
  with fitz.open(filepath ) as doc:
      for page in doc:
          text+= page.getText()
  print(text)
  </code></pre>