diff --git a/src/Uno.UI/UI/Xaml/FontFamily.cs b/src/Uno.UI/UI/Xaml/FontFamily.cs index fa98a9ae3616..e71a91809bc1 100644 --- a/src/Uno.UI/UI/Xaml/FontFamily.cs +++ b/src/Uno.UI/UI/Xaml/FontFamily.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using Uno.UI; +using Windows.Networking; namespace Microsoft.UI.Xaml.Media { @@ -11,9 +12,14 @@ public partial class FontFamily public FontFamily(string familyName) { Source = familyName; - Init(familyName); + // A workaround before font fallback is supported. Issue: https://github.com/unoplatform/uno/issues/10148 + if (familyName.Equals("Segoe Fluent Icons,Segoe MDL2 Assets", StringComparison.OrdinalIgnoreCase)) + { + Source = "Segoe MDL2 Assets"; + } + // This instance is immutable, we can cache the hash code. _hashCode = familyName.GetHashCode(); }