code: protected void loadCharacterData()
  	{
  		frc = new FontRenderContext(null, true, true);
  
  		float totalWidth = 0;
  		for (char c = 0; c < 256; c++)
  		{
  			String s = "" + c;
  			LineMetrics lm = font.getLineMetrics(s, frc);
  			Rectangle2D bounds = font.getStringBounds(s, frc);
  			CharData cd = new CharData(c, lm.getAscent(), (float) bounds.getWidth(), fontGeneratorOptions.fontSize);
  			charData[c] = cd;
  			totalWidth += cd.getFullWidth(fontGeneratorOptions);
  		}
  
  		int split = 1;
  		while (totalWidth / split > fontGeneratorOptions.fontSize * split)
  			split++;
  
  		//size = (int) Math.max(totalWidth / (split - 1), options.fontSize * (split - 1));
  		size = roundUp((int) totalWidth / (split - 1));
  	}
docs: #region Load font