title: Android canvas ignoring fontsize
body: <p>No matter if I choose setTextSize(30), 300, or use the getResources, the text always appears very tiny on my screen.</p>
  
  <p>Why isn't the text scaling?</p>
  
  <pre><code>private void drawScore(Canvas canvas) {
          Paint p = new Paint();
          p.setARGB(1, 51, 42, 53);
          p.setStyle(Paint.Style.FILL);
          int scaledSize = getResources().getDimensionPixelSize(R.dimen.font);
          p.setTextSize(scaledSize);
          canvas.drawText(String.valueOf(scorer.points() + "pts"), canvas.getClipBounds().centerX(), 50, paint);
      }
  
  &lt;resources&gt;
      &lt;dimen name="fab_margin"&gt;16dp&lt;/dimen&gt;
      &lt;dimen name="font"&gt;300sp&lt;/dimen&gt;
  &lt;/resources&gt;
  </code></pre>