Releases: cyotek/Cyotek.Drawing.BitmapFont
Releases · cyotek/Cyotek.Drawing.BitmapFont
v2.04
v2.0.3
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
v2.0.1
v2.0
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
andHeight
properties to the
Character
class - Added
OffsetX
andOffsetY
properties to theCharacter
class - Added
IsEmpty
and staticEmpty
properties to the
Character
class - Added
InvalidChar
to theBitmapFont
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. TheX
,Y
,Width
and
Height
properties should be used instead - The
Character.Offset
property has been deprecated and will
be removed in a future version. TheOffsetX
andOffsetY
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
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
andHeight
properties to the
Character
class - Added
OffsetX
andOffsetY
properties to theCharacter
class
Changed
- Performance improvements when loading text fonts
Deprecated
- The
Character.Bounds
property has been deprecated and will be removed
in a future version. TheX
,Y
,Width
andHeight
properties should be used instead - The
Character.Offset
property has been deprecated and will be removed
in a future version. TheOffsetX
andOffsetY
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
v1.3.1
1.3.0 Update
Added
- Added documentation
Removed
- Removed
BitmapFont.NormalizeLineBreaks
as this method should never have been added
v1.2.0: Various improvements
- NEW: Moved the load code from
BitmapFontLoader
into theBitmapFont
, leaving the original methods as placeholders. This now means you can overrideBitmapFont.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 aStream
orTextReader
to avoid the need for a file - NEW: Added new
LoadText
andLoadXml
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