diff --git a/osu.Game.Rulesets.Karaoke/IO/Stores/TtfGlyphStore.cs b/osu.Game.Rulesets.Karaoke/IO/Stores/TtfGlyphStore.cs index 3a5a49911..e6205edf2 100644 --- a/osu.Game.Rulesets.Karaoke/IO/Stores/TtfGlyphStore.cs +++ b/osu.Game.Rulesets.Karaoke/IO/Stores/TtfGlyphStore.cs @@ -48,6 +48,7 @@ public TtfGlyphStore(ResourceStore store, string assetName = null) Store = new ResourceStore(store); Store.AddExtension("ttf"); + Store.AddExtension("ttc"); AssetName = assetName; @@ -65,8 +66,8 @@ public Task LoadFontAsync() => fontLoadTask ??= Task.Factory.StartNew(() => using (var s = Store.GetStream($@"{AssetName}")) { var fonts = new FontCollection(); - var fontFamily = fonts.Install(s); - font = new Font(fontFamily, 1); + var fontFamily = fonts.InstallCollection(s, out var description).ToArray(); + font = new Font(fontFamily[0], 1); } completionSource.SetResult(font);