Log which Fonts are selected for each script 03/36303/1
authorPaul Wisbey <p.wisbey@samsung.com>
Wed, 4 Mar 2015 16:33:52 +0000 (16:33 +0000)
committerPaul Wisbey <p.wisbey@samsung.com>
Wed, 4 Mar 2015 16:33:52 +0000 (16:33 +0000)
Change-Id: Id9b93e6f5eda493ff8e19192551a8d25c0c25249

text/dali/public-api/text-abstraction/script.h

index e2a3b1f..956075e 100644 (file)
@@ -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