FONTAINE  1.0
Glagolitic.h
Go to the documentation of this file.
00001 //
00002 // The Fontaine Font Analysis Project 
00003 // 
00004 // Copyright (c) 2011 by Edward H. Trager
00005 // All Rights Reserved
00006 // 
00007 // Released under the GNU GPL version 2.0 or later.
00008 //     
00009 
00010 //
00011 // Glagolitic.h
00012 //
00013 
00014 #ifndef ORTHOGRAPHY_DATA
00015 #include "../OrthographyData.h"
00016 #endif
00017 
00018 #ifndef GLAGOLITIC
00019 #define GLAGOLITIC
00020 
00021 namespace Glagolitic{
00022 
00023 //
00024 // Unicode values 
00025 //
00026 UINT32 values[]={
00027         // Capital letters:
00028         START_RANGE_PAIR,
00029         0x2C00,0x2C2E,
00030         // Small letters:
00031         START_RANGE_PAIR,
00032         0x2C30,0x2C5E,
00033         END_OF_DATA
00034 };
00035 
00036 //
00037 // Sample sentences
00038 // 
00039 const char *sentences[]={
00040         // From http://www.obshtezhitie.net/texts/bgf/uni/bgf.html:
00041         " ⰰⰴⱏⰻⰽⱁ  ⱍ̅ⰽ҃ⱏ  ⱄⰻ  ⱈⱁⱋⰵⱅⱏ  ⱃⰰⰸ[ⱁⱃⰻⱅ] ",
00042         END_OF_DATA
00043 };
00044 
00045 
00046 //
00047 // 
00048 //
00049 OrthographyData data={
00050         "Glagolitic", // Common name
00051         "hlaholika", // Native name
00052         0x2C00, // key
00053         values,
00054         " ⰰⰴⱏⰻⰽⱁ", // Sample characters
00055         sentences
00056 };
00057 
00058 const OrthographyData *pData = &data;
00059 
00060 }; // end of namespace
00061 
00062 #endif