title: fonttools convert ttf to woff2
body: <p>Currenly, I'm using fonttools(<a href="https://github.com/fonttools/fonttools" rel="nofollow noreferrer">https://github.com/fonttools/fonttools</a>) to convert font file <code>ttf</code> to <code>woff2</code> by <code>ttx</code> command with 2 steps</p>
  
  <ul>
  <li>convert <code>ttf</code> to <code>ttx</code></li>
  <li>then convert <code>ttx</code> to <code>woff2</code></li>
  </ul>
  
  <p>But it's too slow and <code>ttx</code> file to big, is there any way to convert <code>ttf</code> to <code>woff2</code> directly by using fonttools to improve performance?</p>