mirror of
https://github.com/ppy/osu
synced 2025-04-11 03:31:46 +00: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 Torus => GetFont(Typeface.Torus, weight: FontWeight.Regular);
|
||||||
|
|
||||||
|
public static FontUsage Inter => GetFont(Typeface.Inter, weight: FontWeight.Regular);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Retrieves a <see cref="FontUsage"/>.
|
/// Retrieves a <see cref="FontUsage"/>.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@ -54,6 +56,9 @@ namespace osu.Game.Graphics
|
|||||||
|
|
||||||
case Typeface.Torus:
|
case Typeface.Torus:
|
||||||
return "Torus";
|
return "Torus";
|
||||||
|
|
||||||
|
case Typeface.Inter:
|
||||||
|
return "Inter";
|
||||||
}
|
}
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
@ -107,7 +112,8 @@ namespace osu.Game.Graphics
|
|||||||
public enum Typeface
|
public enum Typeface
|
||||||
{
|
{
|
||||||
Venera,
|
Venera,
|
||||||
Torus
|
Torus,
|
||||||
|
Inter,
|
||||||
}
|
}
|
||||||
|
|
||||||
public enum FontWeight
|
public enum FontWeight
|
||||||
|
Loading…
Reference in New Issue
Block a user