From: Paul Wisbey
Date: Wed, 4 Mar 2015 16:33:52 +0000 (+0000)
Subject: Log which Fonts are selected for each script
X-Git-Tag: new_text_0.1~10
X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=499af61496bb36d2f7353e5455040a43dc470a39;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git
Log which Fonts are selected for each script
Change-Id: Id9b93e6f5eda493ff8e19192551a8d25c0c25249
---
diff --git a/text/dali/public-api/text-abstraction/script.h b/text/dali/public-api/text-abstraction/script.h
index e2a3b1f..956075e 100644
--- a/text/dali/public-api/text-abstraction/script.h
+++ b/text/dali/public-api/text-abstraction/script.h
@@ -54,6 +54,29 @@ enum Script
UNKNOWN ///< The script is unknown.
};
+const char* const ScriptName[] =
+{
+ "LATIN", ///< The latin script. Used by many western languages and others around the world.
+ "ARABIC", ///< The arabic script. Used by Arab and Urdu among others.
+ "DEVANAGARI", ///< The devanagari script. Used by Hindi, Marathi, Sindhi, Nepali and Sanskrit.
+ "BENGALI", ///< The Bengali script. Used by Bangla, Assamese, Bishnupriya Manipuri, Daphla, Garo, Hallam, Khasi, Mizo, Munda, Naga, Rian, and Santali.
+ "GURMUKHI", ///< The Gurmukhi script. Used by Punjabi.
+ "GUJARATI", ///< The Gujarati script. Used by Gujarati.
+ "ORIYA", ///< The Oriya script. Used by Oriya (Odia), Khondi, and Santali.
+ "TAMIL", ///< The Tamil script. Used by Tamil, Badaga, and Saurashtra.
+ "TELUGU", ///< The Telugu script. Used by Telugu, Gondi, and Lambadi.
+ "KANNADA", ///< The Kannada script. Used by Kannada and Tulu.
+ "MALAYALAM", ///< The Malayalam script. Used by Malayalam.
+ "SINHALA", ///< The Sinhala script. Used by Sinhala and Pali.
+ "CJK", ///< The CJK script. Used by Chinese, Japanese, Korean and Vietnamese(old writing system).
+ "HANGUL", ///< The Hangul jamo script. Used by Korean.
+ "KHMER", ///< The Khmer script. Used by the Khmer language.
+ "LAO", ///< The Lao script. Used by the Lao language.
+ "THAI", ///< The Thai script. Used by the Thai language
+ "BURMESE", ///< The Burmese script. Used by the Burmese (Myanmar) language.
+ "UNKNOWN" ///< The script is unknown.
+};
+
} // namespace TextAbstraction
} // namespace Dali