title: How much height does a newLine() occupy in apache pdfBox?
body: <p>I want to keep track of the y-coordinate when generating pdf. 
  This is how I am currently doing it.</p>
  
  <pre><code>    PDRectangle mediabox = page.findMediaBox();
      float margin = 15;
      float y = mediabox.getUpperRightY() - margin;
      float fontSize = 10f;
      PDType1Font font = PDType1Font.HELVETICA;
  
      contentStream.showText("Hello");
      y = y - fontSize;           //decrease y-coordinate
      contentStream.newLine();    //go to new line
      contentStream.showText("World!");
      y = y - fontSize;           //decrease y-coordinate
  </code></pre>
  
  <p>What is the height of new line so that I can precisely keep track of the y-coordinate?</p>
  
  <p>I need something like this. </p>
  
  <pre><code>    contentStream.showText("Hello");
      y = y - fontSize;           //decrease y-coordinate
      contentStream.newLine();    //go to new line
      y = y - newLineSize;        &lt;---- require the height of new line.
      contentStream.showText("World!");
      y = y - fontSize;           //decrease y-coordinate
  </code></pre>
  
  <p>Thank you.</p>