title: Get font from resources has bug in Java - Android
body: <p>I write code and use CompatResources to get font and set as TypeFace to views bug Fabric.io reported some crashes about it .</p>
  
  <blockquote>
    <p>Caused by android.content.res.Resources$NotFoundException Font
    resource ID #0x7f090000 could not be retrieved.</p>
  </blockquote>
  
  <p>and it is my code :</p>
  
  <pre><code>tfFontIcon = ResourcesCompat.getFont(mContext, R.font.font_icon);
  </code></pre>
  
  <p>thanks for your help.</p>