FONTAINE 1.0

PolytonicGreek.h

Go to the documentation of this file.
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 // PolytonicGreek.h
00013 //
00014 
00015 #ifndef ORTHOGRAPHY_DATA
00016 #include "../OrthographyData.h"
00017 #endif
00018 
00019 #ifndef POLYTONIC_GREEK
00020 #define POLYTONIC_GREEK
00021 
00022 namespace PolytonicGreek{
00023 
00024 //
00025 // Unicode values 
00026 //
00027 UINT32 values[]={
00028         START_RANGE_PAIR,
00029         0x1f00,0x1f15,
00030         START_RANGE_PAIR,
00031         0x1f18,0x1f1d,
00032         START_RANGE_PAIR,
00033         0x1f20,0x1f45,
00034         START_RANGE_PAIR,
00035         0x1f48,0x1f4d,
00036         START_RANGE_PAIR,
00037         0x1f50,0x1f57,
00038         0x1f59,
00039         0x1f5b,
00040         0x1f5d,
00041         START_RANGE_PAIR,
00042         0x1f5f,0x1f7d,
00043         START_RANGE_PAIR,
00044         0x1f80,0x1fb4,
00045         START_RANGE_PAIR,
00046         0x1fb6,0x1fbc,
00047         START_RANGE_PAIR,
00048         0x1fc2,0x1fc4,
00049         START_RANGE_PAIR,
00050         0x1fc6,0x1fd3,
00051         START_RANGE_PAIR,
00052         0x1fd6,0x1fdb,
00053         START_RANGE_PAIR,
00054         0x1fe0,0x1fec,
00055         START_RANGE_PAIR,
00056         0x1ff2,0x1ff4,
00057         START_RANGE_PAIR,
00058         0x1ff6,0x1ffc,
00059         END_OF_DATA
00060 };
00061 
00062 //
00063 // Sample sentences
00064 // 
00065 const char *sentences[]={
00066         "ἡἔἂὄὗὥᾏᾟ",
00067         END_OF_DATA
00068 };
00069 
00070 
00071 //
00072 // 
00073 //
00074 OrthographyData data={
00075         "Polytonic Greek", // Common name
00076         "Polytonic Greek", // Native name
00077         0x1f21, // GREEK SMALL LETTER ETA WITH DASIA
00078         values,
00079         "ἡἔἂὄὗὥᾏᾟ", // Sample characters
00080         sentences
00081 };
00082 
00083 const OrthographyData *pData = &data;
00084 
00085 }; // end of namespace
00086 
00087 #endif