title: libgdx How do I scale a BitmapFont to changing screen sizes?
body: <p>What I want to have is the Bitmap Font to change in size accordingly when changing screen sizes. What I mean is on my computer, the font appears rather large, but on my phone, it is a little font that is harder to read. I could change the size, but I want it to look similar on all screens, instead of having it large on one screen and smaller on another. Here is my code to see what I have to work with:</p>
  
  <pre><code>public void render() {
      //score system
      scoreFont.setColor(1.0f, 1.0f, 1.0f, 1.0f);
      scoreBatch.begin(); 
      scoreFont.draw(scoreBatch, Long.toString(getScore()), 10, Gdx.graphics.getHeight() - 10); 
      scoreFont.setScale(3, 3);
      scoreBatch.end();
  }
  
  public void resize(int width, int height) {
      camera.viewportWidth = 450;
      camera.viewportHeight = 250;
      camera.update();
      stage.setViewport(450, 250, true);
      stage.getCamera().translate(-stage.getGutterWidth(), -stage.getGutterHeight(), 0);
  }
  </code></pre>