Dean Herbert dbedf49e58
Merge pull request from peppy/fix-venera-grave
..
Inter Trim whitespace from all font files
Noto Move fonts to individual folders and add licences
Torus Trim whitespace from all font files
Torus-Alternate Trim whitespace from all font files
Venera Adjust venera again using hopefully non-adjusted metrics
README.md Add instructions
osuFont.bin Convert .fnt (textual) font files to .bin (binary)
osuFont_0.png Trim font spritesheet sizes where possible

README.md

How to create binary font files

There are two options:

When generating

When using the official BMFont generator, there is a setting in "Export Options" that specifies the output file format. Just set that to "binary" to get the correct file format. Remember to use the file extension ".bin".

Converting existing fonts

using SharpFNT;

string filename = "MyFont.fnt";

var font = BitmapFont.FromFile(filename);

// This value is ignored for Unicode fonts, but serializing will fail
// if this is empty so just set it to ANSI (0 in binary)
if (font.Info.Charset == string.Empty)
{
    font.Info.Charset = "ANSI";
}

font.Save(Path.ChangeExtension(filename, "bin"), FormatHint.Binary);