Class FontFactory

java.lang.Object
gaiasky.util.FontFactory
All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable

public class FontFactory extends Object implements com.badlogic.gdx.utils.Disposable
Helper to generate and inject FreeType fonts into the Gaia Sky skin.
  • Field Details

    • COMMON_CHARS

      public static final String COMMON_CHARS
      Western languages character set (Spanish, Catala, German, French, Italian, Slovenian, Turkish, Russian, Bulgarian).
      See Also:
  • Constructor Details

    • FontFactory

      public FontFactory()
  • Method Details

    • generateFonts

      public void generateFonts(com.badlogic.gdx.scenes.scene2d.ui.Skin skin, String lang)
    • dispose

      public void dispose()
      Specified by:
      dispose in interface com.badlogic.gdx.utils.Disposable