Releases: rds1983/SpriteFontPlus
0.8.5.43
0.8.5.42
0.8.1.40
0.8.1.39
New Features
Blurry Text
Blur level is specified in the font creation code like this:
var blurryFont = DynamicSpriteFont.FromTtf(stream, 30, 1024, 1024, 1); // 1 is blur level
Now this font will draw text like this:
Stroked Text
Stroke level is specified in the font creation code like this:
var strokeFont = DynamicSpriteFont.FromTtf(stream, 30, 1024, 1024, 0, 1); // 1 is stroke level
Now this font will draw text like this:
Many thanks to bartwe as his fork of SFF was used to merge features from.
0.8.0.38
0.8.0.37
0.8.0.36
General Changes:
- Returned back to StbTrueTypeSharp(from SafeStbTrueTypeSharp), so SpriteFontPlus is unsafe again.
New Features:
- DynamicSpriteFont's set of methods accepting StringBuilder parameter.
- DynamicSpriteFont's set of methods accepting array of colors for every individual glyph. Thus this code:
_spriteBatch.DrawString(_font, "Colored Text", new Vector2(0, 0), new Color[]
{
Color.Red,
Color.Blue,
Color.Green,
Color.Aquamarine,
Color.Azure,
Color.Chartreuse,
Color.Lavender,
Color.OldLace,
Color.PaleGreen,
Color.SaddleBrown,
Color.IndianRed,
Color.ForestGreen,
Color.Khaki
});
Closed Issues:
#31 - Colors per glyph with DrawString
#33 - Feature Request: Add to DynamicSpriteFont methods that accept StringBuilder as parameter
0.7.5.26
Changes:
-
Removed FontId property from DynamicSpriteFont. Now a glyph is searched within all ttfs of DynamicSpriteFont. Thus now it's possible to to draw glyphs from multiple different ttfs in one DrawString call:
-
Made major refactoring of FontStashSharp(library working behind DynamicSpriteFont) to make its code more performant and easier to read.
Closed Issues:
- #19 - Feature Request: Add a .FromTtf overload that accepts a Stream
- #21 - Add fallback glyph for some missing glyph
- #22 - Make it so glyph is searched within all fonts of DynamicSpriteFont and remove FontId
- #24 - Refactoring: Remove Alignment from FontStashSharp
- #26 - Refactoring: Move Font loading into Font class. Also move there Ascender, Descender and LineHeight calculation.
- #28 - Refactoring: Move kernings data inside FontGlyph class
0.7.1.25
0.7.1.24
- Renamed NuGet SpriteFontPlus.MonoGame to just SpriteFontPlus
- Removed SpriteFontPlus.FNA from NuGet. Now the only way to reference SpriteFontPlus in FNA is as submodule(see https://github.com/rds1983/SpriteFontPlus#adding-reference for more info).
- Fixed #16.