title: Php fpdf page orientation bug
body: <p>I have problem with fpdf page orientation. 
  Part of my code:</p>
  
  <pre><code>        $pdf=new PDF_MC_Table();
          $pdf-&gt;AliasNbPages();
          $pdf-&gt;AddPage('L','A3');
          $pdf-&gt;SetWidths(array(50,200,50,50,50));
          $pdf-&gt;SetFont('Arial','B',10);
  
          if(!empty($ow)){
                      $pdf-&gt;SetFont('Arial','B',10);
                      $pdf-&gt;Ln();
                      $pdf-&gt;Cell('50',7,'OPEN TASK OVERDUE');
                      $pdf-&gt;SetFont('Arial','',10);
                      $groupedTasks=[];
                      foreach ($ow as $w) {
                          $groupedTasks[$w['date_due']][] =$w;
                      }
                      foreach ($groupedTasks as $key=&gt;$val) {
                          $pdf-&gt;SetFont('Arial', 'B', 10);
                          $pdf-&gt;SetFillColor(0,0,0);
                          $pdf-&gt;SetTextColor(255,255,255);
                          $pdf-&gt;Ln();
                          $pdf-&gt;Cell('50',6,$key." (Due Date)",'','','',true);$pdf-&gt;Ln();
                          $pdf-&gt;Ln();
                          $pdf-&gt;SetFillColor(255,255,255);
                          $pdf-&gt;SetTextColor(0,0,0);
                          $pdf-&gt;Cell(50,7,"Lead",1,0,'C',true);
                          $pdf-&gt;Cell(200,7,"Note",1,0,'C',true);
                          $pdf-&gt;Cell(50,7,"Task type",1,0,'C',true);
                          $pdf-&gt;Cell(50,7,"Due date",1,0,'C',true);
                          $pdf-&gt;Cell(50,7,"Assign to",1,0,'C',true);
                          $pdf-&gt;Ln();
                          $pdf-&gt;SetFont('Arial', '', 10);
                          foreach ($val as $value) {
                              $pdf-&gt;Row([iconv('UTF-8', 'windows-1252', $value['lead_name']),
                                      iconv('UTF-8', 'windows-1252', $value['content']),
                                      iconv('UTF-8', 'windows-1252', $value['task_type']),
                                      iconv('UTF-8', 'windows-1252', $value['date_due']),
                                      iconv('UTF-8', 'windows-1252', $value['assign_to'])]
                              );
                          }
                      }
  
                  }
  </code></pre>
  
  <p>And my problem is that some page (3-4) is in A3 orientation and other set orientation in A4 and my table is broken. 
  What problem can be? 
  I set orientation such as: <code>$pdf-&gt;AddPage('L','A3');</code></p>
  
  <p>My screen:<a href="http://clip2net.com/s/3KetEPv" rel="nofollow noreferrer">http://clip2net.com/s/3KetEPv</a></p>
  
  <p>Hope you will help me.Thanks!</p>