From 499af61496bb36d2f7353e5455040a43dc470a39 Mon Sep 17 00:00:00 2001 From: Paul Wisbey Date: Wed, 4 Mar 2015 16:33:52 +0000 Subject: [PATCH] Log which Fonts are selected for each script Change-Id: Id9b93e6f5eda493ff8e19192551a8d25c0c25249 --- text/dali/public-api/text-abstraction/script.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) 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 -- 2.7.4