From b4d0f16e9ccd5e6e89cf714f4fb5c77c189a6b05 Mon Sep 17 00:00:00 2001 From: Jerome Laban Date: Wed, 13 Nov 2024 13:22:20 -0500 Subject: [PATCH] chore: Adjust default font --- Uno.Gallery/App.xaml.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Uno.Gallery/App.xaml.cs b/Uno.Gallery/App.xaml.cs index 0271428fa..3ff3197c3 100644 --- a/Uno.Gallery/App.xaml.cs +++ b/Uno.Gallery/App.xaml.cs @@ -45,6 +45,10 @@ public App() InitializeLogging(); ConfigureXamlDisplay(); +#if HAS_UNO + global::Uno.UI.FeatureConfiguration.Font.DefaultTextFontFamily = "ms-appx:///Uno.Fonts.OpenSans/Fonts/OpenSans.ttf"; +#endif + this.InitializeComponent(); #if !WINDOWS