Skip to content

Releases: FontStashSharp/FontStashSharp

1.5.6

Choose a tag to compare

@rds1983 rds1983 released this 02 Jun 00:53
  • Added new property SpriteFontBase.Name that allows to get/set the user specified font name
  • XML docs fixes

1.5.5

Choose a tag to compare

@rds1983 rds1983 released this 14 Apr 13:04

Added the option that allows to specify font size in ems rather than in pixels.
In order to turn it on for the specific FontSystem, use following code:

var settings = new FontSystemSettings
{
  UseEmToPixelsScale = true
};

var fontSystem = new FontSystem(settings);

In order to turn it on for all FontSystems:

FontSystemDefaults.UseEmToPixelsScale = true;

For now, the new feature works only with the default font rasterizer(StbTrueTypeSharp).

1.5.4

Choose a tag to compare

@rds1983 rds1983 released this 13 Feb 09:57

Added new property FontSystemSettings.GlyphRenderResult
See the docs: https://fontstashsharp.github.io/FontStashSharp/docs/glyph-rendering.html

1.5.2

Choose a tag to compare

@rds1983 rds1983 released this 20 Nov 12:48

Improved MonoGame performance by about 25% when text is non-scaled, non-rotated and has zero depth(which is probably like 90% of the rendered text).
Now it works 1.5x-1.6x slower(before it was like 2x slower) than MG's SpriteFont.
Added new sample Performance to measure the performance. If someone wants to run it, make sure to build it in the Release mode for the correct comparison.

1.5.1

Choose a tag to compare

@rds1983 rds1983 released this 25 Oct 11:22
FontSystemDefaults.TextShaper = new HarfBuzzTextShaper();

1.5.0

Choose a tag to compare

@rds1983 rds1983 released this 20 Oct 05:40
5fda654

New Major Feature: HarfBuzz Text Shaping
The credit goes to @11EJDE11

image

1.4.1

Choose a tag to compare

@rds1983 rds1983 released this 27 Aug 14:39

Updated FreeType rasterizer to the latest FreeTypeSharp version(3.0.1)
See this on how to switch to the FreeType: https://github.com/FontStashSharp/FontStashSharp/wiki/Custom-Font-Rasterizer

1.4.0

Choose a tag to compare

@rds1983 rds1983 released this 14 Aug 06:13
  • Renamed platform-agnostic version of FSS from just "FontStashSharp" to "FontStashSharp.PlatformAgnostic". Packages with old name were unlisted at nuget in order to prevent the confusion
  • #102
  • #106
  • Fix for FreeType rasterizer: FontStashSharp/FontStashSharp.Base#3

1.3.10

Choose a tag to compare

@rds1983 rds1983 released this 10 Jan 06:03

1.3.9

Choose a tag to compare

@rds1983 rds1983 released this 20 Sep 03:29

Some small fixes