title: FontRenderContext error when using autoSizeColumn method in Android
body: <p>everyone, I created a method which generates an xlsx file and now I would like to auto-resize its columns. I tried this function:</p>
  
  <pre><code>//Auto Size columns
  for (int i=0; i&lt;columns.length; i++) sheet.autoSizeColumn(i);
  </code></pre>
  
  <p>The problem is that I get the error: </p>
  
  <blockquote>
    <p>Failed resolution of: Ljava/awt/font/FontRenderContext;"</p>
  </blockquote>
  
  <p>In this <a href="https://stackoverflow.com/questions/37069820/android-poi-crash-when-using-autosizecolumn">question</a> I found out the exists a method which can I use, but I don't understand the mechanism. I know the exactly number of the character for each columns, but if I try to insert them manually as well nothing changes:</p>
  
  <pre><code>sheet.setColumnWidth(0, 8);
  </code></pre>
  
  <p>0: number of the column.<br>
  8: length of the word in the column</p>