Typeface.dpi

Set font scale. This should be called at least once before drawing.

Font renderer should cache this and not change the scale unless updated.

  1. Vector2 dpi(Vector2 scale)
    interface Typeface
  2. Vector2 dpi()

Parameters

scale Vector2

Horizontal and vertical DPI value, for example (96, 96)

Meta