• Main Page
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

Thai.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 // Thai.h
00013 //
00014 
00015 #ifndef ORTHOGRAPHY_DATA
00016 #include "../OrthographyData.h"
00017 #endif
00018 
00019 #ifndef THAI
00020 #define THAI
00021 
00022 namespace Thai{
00023 
00024 //
00025 // Unicode values 
00026 //
00027 UINT32 values[]={
00028         START_RANGE_PAIR,
00029         0x0e01,0x0e3a,
00030         START_RANGE_PAIR,
00031         0x0e3f,0x0e5b,
00032         END_OF_DATA
00033 };
00034 
00035 //
00036 // Sample sentences
00037 // 
00038 const char *sentences[]={
00039         "มื่อชั่วพ่อขุนรามคำแหง เมืองสุโขทัยนี้ดี ในน้ำมีปลา ในนามีข้าว",
00040         END_OF_DATA
00041 };
00042 
00043 
00044 //
00045 // 
00046 //
00047 OrthographyData data={
00048         "Thai", // Common name
00049         "ภาษาไทย", // Native name
00050         0x0e01, // THAI CHARACTER KO KAI
00051         values,
00052         "ฟหกดสวงท", // Sample characters
00053         sentences
00054 };
00055 
00056 const OrthographyData *pData = &data;
00057 
00058 }; // end of namespace
00059 
00060 #endif

Generated on Mon Jan 24 2011 for FONTAINE by  doxygen 1.7.1