@@ -23,7 +23,7 @@ public static class SystemFonts
2323 public static IEnumerable < FontFamily > Families => Collection . Families ;
2424
2525 /// <inheritdoc cref="IReadOnlyFontCollection.Get(string)"/>
26- public static FontFamily Get ( string name ) => Get ( name , CultureInfo . InvariantCulture ) ;
26+ public static FontFamily Get ( string name ) => GetByCulture ( name , CultureInfo . InvariantCulture ) ;
2727
2828 /// <inheritdoc cref="IReadOnlyFontCollection.TryGet(string, out FontFamily)" />
2929 public static bool TryGet ( string fontFamily , out FontFamily family )
@@ -52,13 +52,13 @@ public static Font CreateFont(string name, float size, FontStyle style)
5252 public static IEnumerable < FontFamily > GetByCulture ( CultureInfo culture )
5353 => Collection . GetByCulture ( culture ) ;
5454
55- /// <inheritdoc cref="IReadOnlyFontCollection.Get (string, CultureInfo)" />
56- public static FontFamily Get ( string fontFamily , CultureInfo culture )
57- => Collection . Get ( fontFamily , culture ) ;
55+ /// <inheritdoc cref="IReadOnlyFontCollection.GetByCulture (string, CultureInfo)" />
56+ public static FontFamily GetByCulture ( string fontFamily , CultureInfo culture )
57+ => Collection . GetByCulture ( fontFamily , culture ) ;
5858
59- /// <inheritdoc cref="IReadOnlyFontCollection.TryGet (string, CultureInfo, out FontFamily)" />
60- public static bool TryGet ( string fontFamily , CultureInfo culture , out FontFamily family )
61- => Collection . TryGet ( fontFamily , culture , out family ) ;
59+ /// <inheritdoc cref="IReadOnlyFontCollection.TryGetByCulture (string, CultureInfo, out FontFamily)" />
60+ public static bool TryGetByCulture ( string fontFamily , CultureInfo culture , out FontFamily family )
61+ => Collection . TryGetByCulture ( fontFamily , culture , out family ) ;
6262
6363 /// <summary>
6464 /// Create a new instance of the <see cref="Font"/> for the named font family with regular styling.
@@ -68,7 +68,7 @@ public static bool TryGet(string fontFamily, CultureInfo culture, out FontFamily
6868 /// <param name="size">The size of the font in PT units.</param>
6969 /// <returns>The new <see cref="Font"/>.</returns>
7070 public static Font CreateFont ( string name , CultureInfo culture , float size )
71- => Collection . Get ( name , culture ) . CreateFont ( size ) ;
71+ => Collection . GetByCulture ( name , culture ) . CreateFont ( size ) ;
7272
7373 /// <summary>
7474 /// Create a new instance of the <see cref="Font"/> for the named font family.
@@ -79,5 +79,5 @@ public static Font CreateFont(string name, CultureInfo culture, float size)
7979 /// <param name="style">The font style.</param>
8080 /// <returns>The new <see cref="Font"/>.</returns>
8181 public static Font CreateFont ( string name , CultureInfo culture , float size , FontStyle style )
82- => Collection . Get ( name , culture ) . CreateFont ( size , style ) ;
82+ => Collection . GetByCulture ( name , culture ) . CreateFont ( size , style ) ;
8383}
0 commit comments