Skip to content

Releases: cyotek/Cyotek.Drawing.BitmapFont

v2.04

06 Jan 12:41
2d5e22b
Compare
Choose a tag to compare

Fixed

  • Fixed issues (including a crash) that could occur loading
    plain text fonts that contained blank lines

v2.0.3

03 Oct 14:17
86dddd0
Compare
Choose a tag to compare

Added

  • Added deployment target for .NET 5.0

Fixed

  • Fixed a crash which occurred when trying to load a plain text
    font and texture file names contained spaces. Thanks to
    abenedik for the fix
  • No longer requires a custom global.json to force an older
    SDK version in order to build the 3.5 target

v2.0.2

27 Apr 10:24
Compare
Choose a tag to compare

Fixed

  • Fixed a crash loading text or xml fonts with negative values if the OS culture uses a different sign (#25)

v2.0.1

31 Dec 15:46
Compare
Choose a tag to compare

Fixed

  • Fixed an issue if a text based font was missing a named value

v2.0

11 Oct 11:01
Compare
Choose a tag to compare

Added

  • Added deployment targets for .NET Framework 3.5, 4.0, 4.5.2,
    4.6.2, 4.6.2, 4.8, .NET Standard 1.3, .NET Standard 2.0, .NET
    Standard 2.1, .NET Core 2.1, .NET Core 2.2, and .NET Core 3.1
  • Added support for BMFont version 3 binary fonts
  • Added additional constructor to Character struct
  • Added X, Y, Width and Height properties to the
    Character class
  • Added OffsetX and OffsetY properties to the Character
    class
  • Added IsEmpty and static Empty properties to the
    Character class
  • Added InvalidChar to the BitmapFont class. If a BMFont
    explicitly defines the "invalid" character, this will be
    assigned to this property, otherwise it will use
    Character.Empty

Changed

  • Performance improvements when loading text fonts
  • BitmapFont[char] will no longer throw if a character not
    present in the font is requested, instead the value of the
    InvalidChar property will be returned

Deprecated

  • The Character.Bounds property has been deprecated and will
    be removed in a future version. The X, Y, Width and
    Height properties should be used instead
  • The Character.Offset property has been deprecated and will
    be removed in a future version. The OffsetX and OffsetY
    properties should be used instead

Removed

  • Due to switch to SDK projects, the .NET Framework 2.0 target
    the library was originally compiled under is no longer
    available

Fixed

  • API documentation is once again included in the NuGet package

2.0-beta

04 Oct 19:01
02450f0
Compare
Choose a tag to compare
2.0-beta Pre-release
Pre-release

Added

  • Added deployment targets for .NET Framework 3.5, 4.0, 4.5.2,
    4.6.2, 4.6.2, 4.8, .NET Standard 1.3, .NET Standard 2.0, .NET Standard 2.1, .NET
    Core 2.1, .NET Core 2.2, and .NET Core 3.1
  • Added support for BMFont version 3 binary fonts
  • Added additional constructor to Character struct
  • Added X, Y, Width and Height properties to the
    Character class
  • Added OffsetX and OffsetY properties to the Character
    class

Changed

  • Performance improvements when loading text fonts

Deprecated

  • The Character.Bounds property has been deprecated and will be removed
    in a future version. The X, Y, Width and Height
    properties should be used instead
  • The Character.Offset property has been deprecated and will be removed
    in a future version. The OffsetX and OffsetY properties
    should be used instead

Removed

  • Due to switch to SDK projects, the .NET Framework 2.0 target
    the library was originally compiled under is no longer
    available

v1.3.3

12 Jul 16:46
Compare
Choose a tag to compare
Merge pull request #10 from cyotek/ScottSWu-fix_getkerning

Scottswu fix getkerning

v1.3.1

19 Mar 10:26
Compare
Choose a tag to compare

Includes a fix by @rds1983 preventing a crash if certain fields were missing or invalid in plain text font files

1.3.0 Update

13 Dec 09:57
Compare
Choose a tag to compare

Added

  • Added documentation

Removed

  • Removed BitmapFont.NormalizeLineBreaks as this method should never have been added

v1.2.0: Various improvements

13 Jun 07:06
Compare
Choose a tag to compare
  • NEW: Moved the load code from BitmapFontLoader into the BitmapFont, leaving the original methods as placeholders. This now means you can override BitmapFont.Load if you need to do any custom processing, something you couldn't do with the static method
  • NEW: Added new Load methods that supports using a Stream or TextReader to avoid the need for a file
  • NEW: Added new LoadText and LoadXml methods that support strings, again therefore no longer requiring a file
  • NEW: Minor performance improvements
  • FIX: For some inexplicable reason, the XML font loader was loading the XML document twice