Skip to content

0.7.5.26

Compare
Choose a tag to compare
@rds1983 rds1983 released this 27 Jan 18:49

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:
    image

  • 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