mirror of
https://github.com/ppy/osu.git
synced 2024-12-13 05:22:54 +08:00
Add alternate Torus font
This commit is contained in:
parent
df50695021
commit
86240cc8ec
@ -21,6 +21,8 @@ namespace osu.Game.Graphics
|
||||
|
||||
public static FontUsage Torus => GetFont(Typeface.Torus, weight: FontWeight.Regular);
|
||||
|
||||
public static FontUsage TorusAlternate => GetFont(Typeface.TorusAlternate, weight: FontWeight.Regular);
|
||||
|
||||
public static FontUsage Inter => GetFont(Typeface.Inter, weight: FontWeight.Regular);
|
||||
|
||||
/// <summary>
|
||||
@ -57,6 +59,9 @@ namespace osu.Game.Graphics
|
||||
case Typeface.Torus:
|
||||
return "Torus";
|
||||
|
||||
case Typeface.TorusAlternate:
|
||||
return "Torus-Alternate";
|
||||
|
||||
case Typeface.Inter:
|
||||
return "Inter";
|
||||
}
|
||||
@ -113,6 +118,7 @@ namespace osu.Game.Graphics
|
||||
{
|
||||
Venera,
|
||||
Torus,
|
||||
TorusAlternate,
|
||||
Inter,
|
||||
}
|
||||
|
||||
|
@ -347,6 +347,11 @@ namespace osu.Game
|
||||
AddFont(Resources, @"Fonts/Torus/Torus-SemiBold");
|
||||
AddFont(Resources, @"Fonts/Torus/Torus-Bold");
|
||||
|
||||
AddFont(Resources, @"Fonts/Torus-Alternate/Torus-Alternate-Regular");
|
||||
AddFont(Resources, @"Fonts/Torus-Alternate/Torus-Alternate-Light");
|
||||
AddFont(Resources, @"Fonts/Torus-Alternate/Torus-Alternate-SemiBold");
|
||||
AddFont(Resources, @"Fonts/Torus-Alternate/Torus-Alternate-Bold");
|
||||
|
||||
AddFont(Resources, @"Fonts/Inter/Inter-Regular");
|
||||
AddFont(Resources, @"Fonts/Inter/Inter-RegularItalic");
|
||||
AddFont(Resources, @"Fonts/Inter/Inter-Light");
|
||||
|
Loading…
Reference in New Issue
Block a user