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