This release was a long time in the making, but I'm proud of it where it stands and fairly confident that it should work better now than before. There are a lot of changes here, but mostly the ones that affect users are improvements. There is much less configuration required for most fonts in the default case, and this also applies to emoji and other inline atlases. Usually, if you're using a .dat font from KnownFonts or anything generated by FontWriter, no config should be needed for those fonts; just use a constructor for Font that takes a jsonName
by String or jsonHandle
by FileHandle, and has an ignoredStructuredJsonFlag
parameter. You can also load the Font automatically using FWSkin, given a skin.json file that reads in a BitmapFont from any supported file type. There's more configuration possible (smoothly, even!) for oblique, bold, and outline strengths, among other changes to Font. Compatibility with GWT has improved by avoiding Gdx.files.local()
wherever possible, so even if a file isn't found it won't halt GWT apps, but will likely throw an Exception. There's a lot of features here from the last six months or more, so enjoy!
This depends on RegExodus 0.1.17 and libGDX 1.13.1, if you aren't using Gradle to get this as a normal dependency. Please use Gradle, or Maven, or something to manage your build. I make GDX-Liftoff so Gradle is easier to work with libGDX projects, for crying out loud!
Full Changelog: v1.1.0...v2.0.0