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 // Arabic.h 00013 // 00014 00015 #ifndef ORTHOGRAPHY_DATA 00016 #include "../OrthographyData.h" 00017 #endif 00018 00019 #ifndef ARABIC 00020 #define ARABIC 00021 00022 namespace Arabic{ 00023 00024 // 00025 // Unicode values 00026 // 00027 UINT32 values[]={ 00028 START_RANGE_PAIR, 00029 0x0621,0x063a, 00030 START_RANGE_PAIR, 00031 0x0640,0x0652, 00032 // 0x0653, // Missing from AE fonts 00033 // 0x0654, // Missing from AE fonts 00034 // 0x0655, // Missing from AE fonts 00035 START_RANGE_PAIR, 00036 0x0660,0x0669, 00037 // 0x0670, // Missing from AE fonts 00038 END_OF_DATA 00039 }; 00040 00041 // 00042 // Sample sentences 00043 // 00044 const char *sentences[]={ 00045 "العين لا تعلو على الحاج", 00046 END_OF_DATA 00047 }; 00048 00049 00050 // 00051 // 00052 // 00053 OrthographyData data={ 00054 "Arabic", // Common name 00055 "العربية", // Native name 00056 0x0639, // ARABIC LETTER AIN 00057 values, 00058 "ا ب ت ث ج ح خ د ذ ر ز س", // Sample characters 00059 sentences 00060 }; 00061 00062 const OrthographyData *pData = &data; 00063 00064 }; // end of namespace 00065 00066 #endif