Skip to content

Commit 4f44c58

Browse files
committed
Add more fonts
1 parent 62b5b42 commit 4f44c58

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

BeatSaberMarkupLanguage/Plugin.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ namespace BeatSaberMarkupLanguage
1919
[Plugin(RuntimeOptions.SingleStartInit)]
2020
public class Plugin
2121
{
22-
private static readonly string[] FontNamesToLoad = ["Segoe UI", "Segoe UI Emoji", "Segoe UI Historic", "Gadugi", "Nirmala UI", "Arial"];
22+
// All of these fonts are included by default with Windows 10+ https://learn.microsoft.com/en-us/typography/fonts/windows_10_font_list
23+
// Older versions of Windows only include a subset of these fonts, so some Unicode characters may not show up properly in-game.
24+
private static readonly string[] FontNamesToLoad = ["Segoe UI", "Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI Historic", "Microsoft Sans Serif", "Microsoft Himalaya", "Microsoft JhengHei UI", "Microsoft New Tai Lue", "Microsoft PhagsPa", "Microsoft Tai Le", "Microsoft Uighur", "Microsoft YaHei UI", "Microsoft Yi Baiti", "Gadugi", "Nirmala UI"];
2325
private static readonly string[] FontNamesToRemove = ["NotoSansJP-Medium SDF", "NotoSansKR-Medium SDF", "SourceHanSansCN-Bold-SDF-Common-1(2k)", "SourceHanSansCN-Bold-SDF-Common-2(2k)", "SourceHanSansCN-Bold-SDF-Uncommon(2k)"];
2426

2527
internal static Config Config { get; private set; }

0 commit comments

Comments
 (0)