title: FPDF - Inline bold text
body: <p>I am trying to create a PDF from PHP and for legal reason we need to make part of our disclaimer BOLD and the disclaimer needs to be outlined.</p>
  
  <p>My current code uses:</p>
  
  <pre><code>if(isset($_POST['optout']) &amp;&amp; $_POST['optout'] == "yes"){
      $pdf-&gt;Ln(5);
      $pdf-&gt;SetFont('Arial','I',12);
      $pdf-&gt;SetTextColor(128);
      $pdf-&gt;MultiCell(0,4,'This is my disclaimer. THESE WORDS NEED TO BE BOLD. These words do not need to be bold.',1,'C');
  }
  </code></pre>
  
  <p>I am currently using WriteHTML for other parts of the document, and I could easily use that instead of MultiCell, but then how do I create the border?</p>
  
  <p>So I have 2 options..</p>
  
  <p><strong>native FPDF functions</strong></p>
  
  <p>PROS: Give an option for a border</p>
  
  <p>CONS: No easy way to make inline text bold</p>
  
  <p><strong>WriteHTML extension class</strong></p>
  
  <p>PROS: Lets me easily add bold text inline</p>
  
  <p>CONS: Not sure how to create the border</p>
  
  <p>Suggestions?</p>