title: Zend PDF different font size for saved and rendered file
body: <p>I tryed to open an existing file modify it by including text and then send it to the user (render). What I recognised is that the font size only changes for the saved version of the file. If I only render it, the font size is ignored.<br /><br />
  Why is this happening? What do I do wrong? Can I do something against it?</p>
  
  <p>Greetings,<br />
  -lony</p>
  
  <pre><code>    $this-&gt;_helper-&gt;layout-&gt;disableLayout();
      $this-&gt;_helper-&gt;viewRenderer-&gt;setNoRender();
  
      // fetch allready styled pdf
      $pdf = Zend_Pdf::load('img/voucher/gift_vouchers.pdf');
  
      // set default color and font with size
      $style = new Zend_Pdf_Style();
      $style-&gt;setFillColor(new Zend_Pdf_Color_Html('#c34827'));
      $style-&gt;setFont(Zend_Pdf_Font::fontWithName(Zend_Pdf_Font::FONT_HELVETICA), 9);
  
      // fetch first page
      $page = $pdf-&gt;pages[0];
  
      // set default style to page
      $page-&gt;setStyle($style);
  
      $page-&gt;drawText('To_', 72, 10);
      $page-&gt;drawText('From_', 72, 200);
      $page-&gt;drawText('For_Chrismas', 1, 100);
      $page-&gt;drawText('For_Message Lorem Ipsum isries.', 72, 520);
      $page-&gt;drawText('1231233123', 72, 520);
      $page-&gt;drawText('23/12/2010', 72, 520);
  
      // only for DEBUG to show difference
      $pdf-&gt;save('img/voucher/voucher-'.Zend_date::now()-&gt;getTimestamp().'.pdf');
  
      $this-&gt;getResponse()-&gt;setHeader('Content-type', 'application/pdf', true);
      $this-&gt;getResponse()-&gt;setHeader('Content-disposition', 'inline; filename=' . $this-&gt;_pdfName . '.pdf', true);
      $this-&gt;getResponse()-&gt;setBody($pdf-&gt;render(false));
  </code></pre>