From c4a4972fcc26135c82c429464fd5348f78a5f699 Mon Sep 17 00:00:00 2001 From: Joshua Granick Date: Sat, 30 Nov 2013 11:01:57 -0800 Subject: [PATCH] Add system font --- project/src/common/FreeType.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/project/src/common/FreeType.cpp b/project/src/common/FreeType.cpp index e9d91f9ab..93b28fb2b 100644 --- a/project/src/common/FreeType.cpp +++ b/project/src/common/FreeType.cpp @@ -312,6 +312,8 @@ bool GetFontFile(const std::string& inName,std::string &outFile) outFile = "/usr/share/fonts/times.ttf"; #elif defined (BLACKBERRY) outFile = "/usr/fonts/font_repository/monotype/times.ttf"; + #elif defined (TIZEN) + outFile = "/usr/share/fonts/TizenSansRegular.ttf"; #else outFile = "/usr/share/fonts/truetype/freefont/FreeSerif.ttf"; #endif @@ -324,6 +326,8 @@ bool GetFontFile(const std::string& inName,std::string &outFile) outFile = "/usr/share/fonts/Prelude-Medium.ttf"; #elif defined (BLACKBERRY) outFile = "/usr/fonts/font_repository/monotype/arial.ttf"; + #elif defined (TIZEN) + outFile = "/usr/share/fonts/TizenSansRegular.ttf"; #else outFile = "/usr/share/fonts/truetype/freefont/FreeSans.ttf"; #endif @@ -336,6 +340,8 @@ bool GetFontFile(const std::string& inName,std::string &outFile) outFile = "/usr/share/fonts/cour.ttf"; #elif defined (BLACKBERRY) outFile = "/usr/fonts/font_repository/monotype/cour.ttf"; + #elif defined (TIZEN) + outFile = "/usr/share/fonts/TizenSansRegular.ttf"; #else outFile = "/usr/share/fonts/truetype/freefont/FreeMono.ttf"; #endif