You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// The part of <see cref="FontName"/> directly after <see cref="Family"/>,
64
+
/// used for looking up other font families sharing same weight/italics specifications.
65
+
/// </summary>
66
+
/// <remarks>
67
+
/// The format is of the form: <br />
68
+
/// (empty) <br />
69
+
/// -Italic <br />
70
+
/// -{Weight}Italic
71
+
/// </remarks>
72
+
[NotNull]
73
+
publicstringFontNameNoFamily{get;}
74
+
62
75
/// <summary>
63
76
/// Creates an instance of <see cref="FontUsage"/> using the specified font <paramref name="family"/>, font <paramref name="weight"/> and a value indicating whether the used font is italic or not.
64
77
/// </summary>
@@ -76,13 +89,16 @@ public FontUsage([CanBeNull] string family = null, float size = default_text_siz
Copy file name to clipboardExpand all lines: osu.Framework/Text/ITexturedGlyphLookupStore.cs
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -10,15 +10,17 @@ public interface ITexturedGlyphLookupStore
10
10
/// <summary>
11
11
/// Retrieves a glyph from the store.
12
12
/// </summary>
13
-
/// <param name="fontName">The name of the font.</param>
13
+
/// <param name="fontName">The name of the font. Alternatively, a suffix of the name can be provided to search for the nearest font matching the given suffix.
14
+
/// This is used to look up a glyph in any font while requiring certain weight / italics specifications.</param>
14
15
/// <param name="character">The character to retrieve.</param>
/// Retrieves a glyph from the store asynchronously.
20
21
/// </summary>
21
-
/// <param name="fontName">The name of the font.</param>
22
+
/// <param name="fontName">The name of the font. Alternatively, a suffix of the name can be provided to search for the nearest font matching the given suffix.
23
+
/// This is used to look up a glyph in any font while requiring certain weight / italics specifications.</param>
22
24
/// <param name="character">The character to retrieve.</param>
0 commit comments