Skip to content

0.7.7 "The Finglonger"

Compare
Choose a tag to compare
@tommyettinger tommyettinger released this 28 Feb 00:05
· 866 commits to main since this release

This release has an assortment of small features and fixes. There's support for and inclusion of MSDFA fonts, using msdf-gdx-gen. There's a few new fonts in KnownFonts -- Gentium MSDF, Yanone Kaffeesatz MSDF, and Yataghan (also MSDF). There's the Font.drawVertices() method that can be overridden to support unusual types of Batch (typically ones with additional attributes). There's various fixes for word wrapping, including unexpected wrapping when a label doesn't have enough width for a word, and the long-standing quirk of \r and \n being treated differently by Font.markup() and Font.regenerateLayout(). Finally, we have the same feature typing-label just added, the {IF} token, which allows conditional replacement of text based on a variable. Lots of stuff! It seems to work well so far, though I'm sure there are bugs somewhere (hopefully small ones).

Have fun with this!