Made medium the default font weight

This commit is contained in:
smoogipoo
2019-02-20 16:52:36 +09:00
parent 0693ab8e7d
commit dbfa95b9e7
30 changed files with 44 additions and 45 deletions

View File

@ -19,7 +19,7 @@ namespace osu.Game.Graphics
return new FontUsage(usage, familyString, size, weightString, italics, fixedWidth);
}
public static FontUsage GetFont(Typeface typeface = Typeface.Exo, float size = DEFAULT_FONT_SIZE, FontWeight weight = FontWeight.Regular, bool italics = false, bool fixedWidth = false)
public static FontUsage GetFont(Typeface typeface = Typeface.Exo, float size = DEFAULT_FONT_SIZE, FontWeight weight = FontWeight.Medium, bool italics = false, bool fixedWidth = false)
=> new FontUsage(getFamilyString(typeface), size, getWeightString(typeface, weight), italics, fixedWidth);
private static string getFamilyString(Typeface typeface)