1 // 2 // The Fontaine Font Analysis Project 3 // 4 // Copyright (c) 2009 by Edward H. Trager 5 // All Rights Reserved 6 // 7 // Released under the GNU GPL version 2.0 or later. 8 // 9 10 11 // 12 // Devanagari.h 13 // 14 15 #ifndef ORTHOGRAPHY_DATA 16 #include "../OrthographyData.h" 17 #endif 18 19 #ifndef DEVANAGARI 20 #define DEVANAGARI 21 22 namespace Devanagari{ 23 24 // 25 // Unicode values 26 // 27 UINT32 values[]={ 28 START_RANGE_PAIR, 29 0x0905,0x0914, // Independent vowels 30 START_RANGE_PAIR, 31 0x0915,0x0939, // Consonants 32 START_RANGE_PAIR, 33 0x093f,0x094c, // Dependent vowel signs 34 0x094d, // virama 35 START_RANGE_PAIR, 36 0x0958,0x095f, // Additional consonants 37 START_RANGE_PAIR, 38 0x0960,0x0965, // Generic additions 39 START_RANGE_PAIR, 40 0x0966,0x096f, // Digits 41 0x0970, // Abbreviation sign 42 END_OF_DATA 43 }; 44 45 // 46 // Sample sentences 47 // 48 const char *sentences[]={ 49 "आप भला तो सब भला ।", 50 END_OF_DATA 51 }; 52 53 54 // 55 // 56 // 57 OrthographyData data={ 58 "Devanagari", // Common name 59 "देवनागरी", // Native name 60 0x0915, // 61 values, 62 "क ख ग घ ङ च छ ज झ ञ ट", // Sample characters 63 sentences 64 }; 65 66 const OrthographyData *pData = &data; 67 68 }; // end of namespace 69 70 #endif 71