FONTAINE  1.0
BasicGreek.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 // BasicGreek.h
00013 //
00014 
00015 #ifndef ORTHOGRAPHY_DATA
00016 #include "../OrthographyData.h"
00017 #endif
00018 
00019 #ifndef BASICGREEK
00020 #define BASICGREEK
00021 
00022 namespace BasicGreek{
00023 
00024 //
00025 // Unicode values 
00026 //
00027 UINT32 values[]={
00028         0x0386,
00029         0x0388,
00030         0x0389,
00031         0x038a,
00032         0x038c,
00033         0x038e,
00034         0x038f,
00035         0x0390,
00036         START_RANGE_PAIR,
00037         0x0391,0x03a1,
00038         START_RANGE_PAIR,
00039         0x03a3,0x03a9,
00040         START_RANGE_PAIR,
00041         0x03aa,0x03b0,
00042         START_RANGE_PAIR,
00043         0x03b1,0x03c9,
00044         START_RANGE_PAIR,
00045         0x03ca,0x03ce,
00046         END_OF_DATA
00047 };
00048 
00049 //
00050 // Sample sentences
00051 // 
00052 const char *sentences[]={
00053         "Γαζίες καὶ μυρτιὲς δὲν θὰ βρῶ πιὰ στὸ χρυσαφὶ ξέφωτο.",
00054         "Ξεσκεπάζω τὴν ψυχοφθόρα βδελυγμία. ",
00055         END_OF_DATA
00056 };
00057 
00058 
00059 //
00060 // 
00061 //
00062 OrthographyData data={
00063         "Basic Greek", // Common name
00064         "Ελληνικό αλφάβητο", // Native name
00065         0x03a9, // GREEK CAPITAL LETTER OMEGA
00066         values,
00067         "ΑαΒβΓγΔδΕεΞξΩω", // Sample characters
00068         sentences
00069 };
00070 
00071 const OrthographyData *pData = &data;
00072 
00073 }; // end of namespace
00074 
00075 #endif