title: Coloring pdf cell, vertical text in fpdf
body: <p>I am just using <code>fpdf</code> library to generate <strong>pdf output</strong>,<br>
  some problems i had come across are:</p>
  
  <p>1) how to change background color of a cell, i tried with <code>$pdf-&gt;SetFillColor(255,0,0);</code> but fails.</p>
  
  <p>2) how to type text in <strong>vertically</strong> ?</p>
  
  <p>the code stuff i'm using is:</p>
  
  <pre><code>$pdf-&gt;SetXY(10,15);
  $pdf-&gt;SetFont('Arial','',10);
  $pdf-&gt;Cell(40,10,'text to display',1,0,'C',0);
  </code></pre>
  
  <p>here is the output i have to get:</p>
  
  <p><img src="https://i.stack.imgur.com/XhZma.png" alt="enter image description here"></p>