FONTAINE  1.0
Jamo.h
Go to the documentation of this file.
00001 //
00002 // The Fontaine Font Analysis Project 
00003 // 
00004 // Copyright (c) 2009, 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 // Jamo.h
00012 //
00013 
00014 #ifndef ORTHOGRAPHY_DATA
00015 #include "../OrthographyData.h"
00016 #endif
00017 
00018 #ifndef JAMO
00019 #define JAMO
00020 
00021 namespace Jamo{
00022 
00023 //
00024 // Unicode values 
00025 //
00026 UINT32 values[]={
00027         // Typographic Jamo range:
00028         START_RANGE_PAIR,
00029         0x1100,0x11FF,
00030         // Compatability Jamo used when typing in an IME:
00031         START_RANGE_PAIR,
00032         0x3131,0x318E,
00033         END_OF_DATA
00034 };
00035 
00036 //
00037 // Sample sentences
00038 // 
00039 const char *sentences[]={
00040         "ㄱㄲㄳㄴㄵㄶㄷㄸㄹㄺ",
00041         END_OF_DATA
00042 };
00043 
00044 
00045 //
00046 // 
00047 //
00048 OrthographyData data={
00049         "Korean Jamo", // Common name
00050         "자모", // Native name
00051         0x3131, // key
00052         values,
00053         "ㄱㄲㄳㄴㄵㄶㄷㄸㄹㄺ", // Sample characters
00054         sentences
00055 };
00056 
00057 const OrthographyData *pData = &data;
00058 
00059 }; // end of namespace
00060 
00061 #endif