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:
parent
ceca184b12
commit
cb72667aa8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user