internal FontStyle(Spritesheet source) { _bitmapSource = source; // ReSharper disable once VirtualMemberCallInConstructor _supportedChars = GetSupportedCharacters(); // ReSharper disable once VirtualMemberCallInConstructor _spacing = GetSpacing(); }
protected override FontSpacing GetSpacing() { FontSpacing config = new FontSpacing(8); config.SetKerning("ABCDEFGHJKLMNOPQRSTUVWXYZ abcdeghkmnopqvuwyz023456789@_~?#$&=", 6); config.SetKerning("Ifjrstx1\"<>%", 5); config.SetKerning("-+^*/\\", 4); config.SetKerning("il,;'()[]", 3); config.SetKerning("!.|:", 2); return(config); }