(float size, int weight, byte unitType)
| 513 | /// scaled font instance |
| 514 | /// |
| 515 | public Font derive(float size, int weight, byte unitType) { |
| 516 | return derive(Display.getInstance().convertToPixels(size, unitType), weight); |
| 517 | } |
| 518 | |
| 519 | /// Creates a font based on this truetype font with the given pixel, **WARNING**! This method |
| 520 | /// will only work in the case of truetype fonts! |