summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Xamarin.Forms.Platform.Tizen/FormsApplication.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/FormsApplication.cs b/Xamarin.Forms.Platform.Tizen/FormsApplication.cs
index 57d14223..471ee758 100644
--- a/Xamarin.Forms.Platform.Tizen/FormsApplication.cs
+++ b/Xamarin.Forms.Platform.Tizen/FormsApplication.cs
@@ -8,6 +8,8 @@ using EButton = ElmSharp.Button;
using EProgressBar = ElmSharp.ProgressBar;
using EColor = ElmSharp.Color;
using ELabel = ElmSharp.Label;
+using TApplication = Tizen.Applications.Application;
+using System.IO;
namespace Xamarin.Forms.Platform.Tizen
{
@@ -48,6 +50,9 @@ namespace Xamarin.Forms.Platform.Tizen
base.OnPreCreate();
Application.ClearCurrent();
CreateWindow();
+
+ var path = Path.Combine(TApplication.Current.DirectoryInfo.Resource, "fonts");
+ Utility.AppendGlobalFontPath(path);
}
protected override void OnTerminate()