Cyotek.Drawing.BitmapFont Version 2 Released
A new version of our BMFont parsing library has been released.
I've slowly been picking up the reins on my languishing open source projects, and the first to get a proper release is our BMFont parsing library, Cyotek.Drawing.BitmapFont.
dotnet build
doesn't support .NET 2.0 as far
as I can tell so I dropped that targetBitmapFont
indexer
will no longer throw if the requested character is not found,
instead if the font defines the "invalid" character this be
returned, otherwise an empty character definition.There are various other smaller changes and additions, see the Release Notes page for the full details.
Now that I have a multi-targeted mostly cross-platform version, I can now consider more drastic changes that are breaking. Tentative planning for v3 include
BitmapFont
class will remain read-write)int
for everything, byte
and short
will be substituted as appropriate. This doesn't seem to
result in much of a drop in memory so this one is tentativeSystem.Drawing
; properties such as
Bounds
will be removed and replaced with individual native
properties (e.g. X
, Y
, Width
, Height
). Some of these
properties were added in v2 and their original counterparts
marked as obsoleteIDictionary
which is a) tidier, and b) easier to useComments and suggestions on these potential updates welcome!
The library is available as a NuGet package, or you can download release binaries and/or source from GitHub.
Like what you're reading? Perhaps you like to buy us a coffee?