summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKangho Hur <kangho.hur@samsung.com>2017-07-03 05:17:08 +0000
committerGerrit Code Review <gerrit@review.ap-northeast-2.compute.internal>2017-07-03 05:17:09 +0000
commitb5f63c56ed7e35a991897d2804e75e24734228de (patch)
tree163029feaf00c1550f767581087265110171b2f2
parent9564fbfdb39a98525a2ae8a8ed4f0bc5abdd1da1 (diff)
parent45580c8f66b43022645287145385212fcbe8db56 (diff)
downloadxamarin-forms-b5f63c56ed7e35a991897d2804e75e24734228de.tar.gz
xamarin-forms-b5f63c56ed7e35a991897d2804e75e24734228de.tar.bz2
xamarin-forms-b5f63c56ed7e35a991897d2804e75e24734228de.zip
Merge "Add handling of the font path" into tizen
-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 0ec10c09..b9bbe0e5 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
{
@@ -49,6 +51,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()