title: Flying Saucer - HTML to PDF and Licensing (iText)
body: <p>I'm writing code to convert HTML to PDF, which includes the following 2 dependencies:</p>
  
  <pre><code>    &lt;dependency&gt;
          &lt;groupId&gt;org.xhtmlrenderer&lt;/groupId&gt;
          &lt;artifactId&gt;flying-saucer-core&lt;/artifactId&gt;
          &lt;version&gt;9.1.6&lt;/version&gt;
          &lt;scope&gt;compile&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.xhtmlrenderer&lt;/groupId&gt;
          &lt;artifactId&gt;flying-saucer-pdf-itext5&lt;/artifactId&gt;
          &lt;version&gt;9.1.6&lt;/version&gt;
          &lt;scope&gt;compile&lt;/scope&gt;
      &lt;/dependency&gt;
  </code></pre>
  
  <p>I have it working. And the only way I can see to do this is using the <strong>ITextRenderer</strong>. Unfortunately, it looks like this is iText 5, which requires AGPL license, or paying a large licensing fee.</p>
  
  <p>Seems pretty clear to me, based on this license: <a href="https://github.com/flyingsaucerproject/flyingsaucer/blob/master/LICENSE" rel="noreferrer">https://github.com/flyingsaucerproject/flyingsaucer/blob/master/LICENSE</a></p>
  
  <p>Is this correct?</p>
  
  <p>Is there any other way to do this that doesn't require iText (or licensed software)?</p>
  
  <p>I've tried Apache PDFBox, but it's so low-level, I'm not sure it would be possible. I know it wouldn't be easy. HTML -> PDF definitely isn't possible.</p>
  
  <p>OpenPDF looked kinda weak.</p>
  
  <p>Any thoughts/suggestions?</p>
  
  <p>This is a somewhat small part of our project (startup), so licensed software isn't the first choice.</p>
  
  <p>Thanks.</p>