title: PHP FPDF changing font size in specific are only
body: <p>I have set font size for over all pdf to 10, Question is if I want to change the font size for the specific area of pdf without changing the font size over all, can it be done? See below code, I want to change the font size in these area $pdf-&gt;SetXY(17, 80) ;</p>
  <pre><code> &lt;?php
  
   require_once('../../bus_partners/fpdf/fpdf/fpdf.php');
   require_once('../../bus_partners/fpdf/fpdi/fpdi.php');
  
   $pageCount   =  $pdf-&gt;setSourceFile('../../bus_partners/BIR-forms/2316.pdf') ;
   $tplIdx      =  $pdf-&gt;importPage(1, '/MediaBox');
                       
   $pdf-&gt;SetAutoPageBreak(false) ;
   $pdf-&gt;addPage('P', 'Legal') ;
   $pdf-&gt;useTemplate($tplIdx, 8, 12, 200, 320) ;
  
  
   // setting the font size for the whole page
   $pdf-&gt;SetFont('Arial');
   $pdf-&gt;SetFontSize(9);
   $pdf-&gt;SetTextColor(12, 12, 12);
  
  
   // Can I set the font size in this specific area only ?
   $pdf-&gt;SetXY(17, 80) ;
   $pdf-&gt;Write(0, $address_ee) ;
  
  
  
   ?&gt;
  
  
  
  
   
  </code></pre>