FONTAINE 1.0
|
00001 // 00002 // The Fontaine Font Analysis Project 00003 // 00004 // Copyright (c) 2009 by Edward H. Trager 00005 // All Rights Reserved 00006 // 00007 // Released under the GNU GPL version 2.0 or later. 00008 // 00009 00010 00011 // 00012 // Bengali.h 00013 // 00014 00015 #ifndef ORTHOGRAPHY_DATA 00016 #include "../OrthographyData.h" 00017 #endif 00018 00019 #ifndef BENGALI 00020 #define BENGALI 00021 00022 namespace Bengali{ 00023 00024 // 00025 // Unicode values 00026 // 00027 UINT32 values[]={ 00028 START_RANGE_PAIR, 00029 0x0981,0x0983, 00030 START_RANGE_PAIR, 00031 0x0985,0x098c, 00032 START_RANGE_PAIR, 00033 0x098f,0x0990, 00034 START_RANGE_PAIR, 00035 0x0993,0x09a8, 00036 START_RANGE_PAIR, 00037 0x09aa,0x09b0, 00038 0x09b2, 00039 START_RANGE_PAIR, 00040 0x09b6,0x09b9, 00041 0x09bc, 00042 START_RANGE_PAIR, 00043 0x09be,0x09c4, 00044 START_RANGE_PAIR, 00045 0x09c7,0x09c8, 00046 START_RANGE_PAIR, 00047 0x09cb,0x09cd, 00048 0x09d7, 00049 START_RANGE_PAIR, 00050 0x09dc,0x09dd, 00051 START_RANGE_PAIR, 00052 0x09df,0x09e3, 00053 START_RANGE_PAIR, 00054 0x09e6,0x09fa, 00055 END_OF_DATA 00056 }; 00057 00058 // 00059 // Sample sentences 00060 // 00061 const char *sentences[]={ 00062 "না মামা থেকে কানা মামা ভাল।", 00063 END_OF_DATA 00064 }; 00065 00066 00067 // 00068 // 00069 // 00070 OrthographyData data={ 00071 "Bengali", // Common name 00072 "বাংলা", // Native name 00073 0x0985, // key অ 00074 values, 00075 "অ আ ই ঈ উ এ ঐ ও ঔ ক খ গ", // Sample characters 00076 sentences 00077 }; 00078 00079 const OrthographyData *pData = &data; 00080 00081 }; // end of namespace 00082 00083 #endif