diff --git a/BeefLibs/Beefy2D/src/theme/dark/DarkTheme.bf b/BeefLibs/Beefy2D/src/theme/dark/DarkTheme.bf index 0243916e..72e9e6bc 100644 --- a/BeefLibs/Beefy2D/src/theme/dark/DarkTheme.bf +++ b/BeefLibs/Beefy2D/src/theme/dark/DarkTheme.bf @@ -358,20 +358,20 @@ namespace Beefy.theme.dark mHeaderFont.Load("Segoe UI", 11.7f * sScale); //8.8 mHeaderFont.AddAlternate("Segoe UI Symbol", 11.7f * sScale); - mHeaderFont.AddAlternate("Segoe UI Historic", 11.7f * sScale); + mHeaderFont.AddAlternate("Segoe UI Historic", 11.7f * sScale).IgnoreError(); mHeaderFont.AddAlternate("Segoe UI Emoji", 11.7f * sScale).IgnoreError(); mSmallFont.Dispose(true); mSmallFont.Load("Segoe UI", 12.8f * sScale); // 10.0 mSmallFont.AddAlternate("Segoe UI Symbol", 12.8f * sScale); - mSmallFont.AddAlternate("Segoe UI Historic", 12.8f * sScale); + mSmallFont.AddAlternate("Segoe UI Historic", 12.8f * sScale).IgnoreError(); mSmallFont.AddAlternate("Segoe UI Emoji", 12.8f * sScale).IgnoreError(); mSmallBoldFont.Dispose(true); mSmallBoldFont.Dispose(true); mSmallBoldFont.Load("Segoe UI Bold", 12.8f * sScale); // 10.0 mSmallBoldFont.AddAlternate("Segoe UI Symbol", 12.8f * sScale); - mSmallBoldFont.AddAlternate("Segoe UI Historic", 12.8f * sScale); + mSmallBoldFont.AddAlternate("Segoe UI Historic", 12.8f * sScale).IgnoreError(); mSmallBoldFont.AddAlternate("Segoe UI Emoji", 12.8f * sScale).IgnoreError(); /*mSmallBoldFont.Load(StringAppend!(tempStr, BFApp.sApp.mInstallDir, "fonts/segoeuib.ttf"), 12.8f * sScale); // 10.0 mSmallBoldFont.AddAlternate(scope String(BFApp.sApp.mInstallDir, "fonts/segoeui.ttf"), 12.8f * sScale); diff --git a/IDE/src/IDEApp.bf b/IDE/src/IDEApp.bf index d9697ec0..b3422a1c 100644 --- a/IDE/src/IDEApp.bf +++ b/IDE/src/IDEApp.bf @@ -10085,12 +10085,12 @@ namespace IDE { mCodeFont.AddAlternate("Segoe UI", fontSize); mCodeFont.AddAlternate("Segoe UI Symbol", fontSize); - mCodeFont.AddAlternate("Segoe UI Historic", fontSize); + mCodeFont.AddAlternate("Segoe UI Historic", fontSize).IgnoreError(); mCodeFont.AddAlternate("Segoe UI Emoji", fontSize).IgnoreError(); mTinyCodeFont.AddAlternate("Segoe UI", tinyFontSize); mTinyCodeFont.AddAlternate("Segoe UI Symbol", tinyFontSize); - mTinyCodeFont.AddAlternate("Segoe UI Historic", tinyFontSize); + mTinyCodeFont.AddAlternate("Segoe UI Historic", tinyFontSize).IgnoreError(); mTinyCodeFont.AddAlternate("Segoe UI Emoji", tinyFontSize).IgnoreError(); /*mCodeFont.AddAlternate(new String("fonts/segoeui.ttf"), fontSize);