21 November 2015

I’ve shifted gears yet again. I’m taking a little break from the day job to work on my #30DaysOfWriting for MonoGame: Code Camps.

Fanny Pack’s Sprite Fonts tool has monopolized my time, but I have no regrets. It’s shaping up to become a powerful open source tool for game development. Today should be my last day on this task, though. I need to make some progress on the book while I’m off work. I won’t get an opportunity like this again before the 2016 summer camp.

The Sprite Fonts tool isn’t 100% quite yet. I’m giving myself another two days to get Sprite Fonts into a usable state, then the book’s text and example games are back in my crosshairs. I’ve knocked out several bug fixes in recent days, and added extra error handling to make the app more stable when things go wrong.

One of those bug fixes was in the font scraper that was unintentionally excluding 300+ fonts from the user interface. Of course, that’s exposed several fonts that aren’t browser-friendly (which the app correctly handles and flags with a nice error message).

The font picker dialog now supports selecting fonts, highlighting filtered fields and their text within the search results, and corrects an issue that prevented many fonts from loading. There are still a number of fonts that don’t properly load. The error logs indicate that the fonts are corrupt. I doubt that. I think the browser is just a bit pickier than the OS. I’ve been able to use those fonts in other apps. I’m making a note to research at a later time, and I’m leaving the errant fonts in the collection in the hopes that I’ll be able to resolve whatever the issue is.

In the interest of getting something usable online ASAP, I might postpone support for importing your own truetype fonts. But don’t worry. It’s high on my priority list. It’s just not an essential feature for the book to proceed.

For the curious, you can check out the current iteration of the font picker dialog by visiting the test page and clicking the Popup button. And, if you know of any kick-ass sources for free-for-commercial-use fonts, feel free to leave a link in the comments. I’m currently pulling fonts from the following sources:

Don’t forget to let me know if you see any issues. Your feedback is most appreciated.

– Joe

P.S. If you’d like to show your support, I’d appreciate a follow on Twitter or Facebook. And don’t forget that while you’re waiting for the new book to hit the printing press, you can check out my 2015 pun book, Fauxcabulary.