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 // Cyrillic.h 00013 // 00014 00015 #ifndef ORTHOGRAPHY_DATA 00016 #include "../OrthographyData.h" 00017 #endif 00018 00019 #ifndef BASIC_CYRILLIC 00020 #define BASIC_CYRILLIC 00021 00022 namespace BasicCyrillic{ 00023 00024 // 00025 // Unicode values 00026 // 00027 UINT32 values[]={ 00028 START_RANGE_PAIR, 00029 0x0410,0x044f, 00030 END_OF_DATA 00031 }; 00032 00033 // 00034 // Sample sentences 00035 // 00036 const char *sentences[]={ 00037 "В чащах юга жил-был цитрус...—да, но фальшивый экземпляръ!", 00038 "Эх, чужак! Общий съём цен шляп (юфть) — вдрызг!", 00039 "Эй, жлоб! Где туз? Прячь юных съёмщиц в шкаф.", 00040 END_OF_DATA 00041 }; 00042 00043 00044 // 00045 // 00046 // 00047 OrthographyData data={ 00048 "Basic Cyrillic", // Common name 00049 "Кири́ллица", // Native name 00050 0x0414, // CYRILLIC CAPITAL LETTER DE 00051 values, 00052 "АБВГДЕЖЗИЙКЛ", // Sample characters 00053 sentences 00054 }; 00055 00056 const OrthographyData *pData = &data; 00057 00058 }; // end of namespace 00059 00060 #endif