1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 12:53:11 +08:00

add typeface inter in osu font

This commit is contained in:
Gagah Pangeran Rosfatiputra 2021-08-03 22:10:33 +07:00
parent ceca184b12
commit cb72667aa8
No known key found for this signature in database
GPG Key ID: 25F6F17FD29031E2

View File

@ -21,6 +21,8 @@ namespace osu.Game.Graphics
public static FontUsage Torus => GetFont(Typeface.Torus, weight: FontWeight.Regular);
public static FontUsage Inter => GetFont(Typeface.Inter, weight: FontWeight.Regular);
/// <summary>
/// Retrieves a <see cref="FontUsage"/>.
/// </summary>
@ -54,6 +56,9 @@ namespace osu.Game.Graphics
case Typeface.Torus:
return "Torus";
case Typeface.Inter:
return "Inter";
}
return null;
@ -107,7 +112,8 @@ namespace osu.Game.Graphics
public enum Typeface
{
Venera,
Torus
Torus,
Inter,
}
public enum FontWeight