title: TCPDF align header
body: <p>This is first time im using TCPDF , very good library but im not sure how to align <code>SetHeaderData</code> with my design </p>
  
  <p><img src="https://i.stack.imgur.com/AN7h0.jpg" alt="enter image description here"></p>
  
  <p>Here is my code :</p>
  
  <pre><code>define ('PDF_HEADER_STRING', "No. A-3-2, Kompleks Industri Puchong, No.1 Jalan TPP 1/6, Taman Perindustrian Puchong Seksyen 1, 47100 Puchong, Selangor Darul Ehsan, Malaysia.\nTel: (603) 8068 6119    Fax: (603) 8051 8119    Website: www.projectormalaysia.com\n\nQuotation No: ".$quo_quotationNo."          Date: ".$_POST['date']);
  
  // create new PDF document
  $pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
  $pdf-&gt;SetCreator(PDF_CREATOR);
  $pdf-&gt;SetAuthor('AV Tech Solution Sdn Bhd');
  $pdf-&gt;SetTitle('PDF Quotation');
  $pdf-&gt;SetSubject('PDF Quotation');
  $pdf-&gt;SetKeywords('');
  $pdf-&gt;SetHeaderData('avs-logo.png', '30', 'AV Tech Solution Sdn. Bhd. (958788-U)'.' ', PDF_HEADER_STRING);
  $pdf-&gt;setHeaderFont(Array('times', '', PDF_FONT_SIZE_MAIN));
  $pdf-&gt;setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA));
  $pdf-&gt;SetDefaultMonospacedFont(PDF_FONT_MONOSPACED);
  $pdf-&gt;SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT);
  $pdf-&gt;SetHeaderMargin(PDF_MARGIN_HEADER);
  $pdf-&gt;SetFooterMargin(PDF_MARGIN_FOOTER);
  $pdf-&gt;SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);
  $pdf-&gt;setImageScale(PDF_IMAGE_SCALE_RATIO);
  $tagvs = array('p' =&gt; array(0 =&gt; array('h' =&gt; 0.5, 'n' =&gt; 0.5), 1 =&gt; array('h' =&gt; 0.5, 'n' =&gt; 0.5)), 'br' =&gt; array(0 =&gt; array('h' =&gt; 1, 'n' =&gt; 1), 1 =&gt; array('h' =&gt; 1, 'n' =&gt; 1)));
  $pdf-&gt;setHtmlVSpace($tagvs);
  $pdf-&gt;setLanguageArray($l);
  $pdf-&gt;SetFont('helvetica', '', 8);
  $pdf-&gt;AddPage();
  </code></pre>