FONTAINE 1.0
Vietnamese.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 // Vietnamese.h
00013 //
00014 
00015 #ifndef ORTHOGRAPHY_DATA
00016 #include "../OrthographyData.h"
00017 #endif
00018 
00019 #ifndef VIETNAMESE
00020 #define VIETNAMESE
00021 
00022 namespace Vietnamese{
00023 
00024 //
00025 // Unicode values 
00026 //
00027 UINT32 values[]={
00028         0x00C0,
00029         0x00E0,
00030         0x00C1,
00031         0x00E1,
00032         0x00C2,
00033         0x00E2,
00034         0x1EA6,
00035         0x1EA7,
00036         0x1EA4,
00037         0x1EA5,
00038         0x1EAA,
00039         0x1EAB,
00040         0x1EA8,
00041         0x1EA9,
00042         0x1EAC,
00043         0x1EAD,
00044         0x00C3,
00045         0x00E3,
00046         0x0102,
00047         0x0103,
00048         0x1EB0,
00049         0x1EB1,
00050         0x1EAE,
00051         0x1EAF,
00052         0x1EB4,
00053         0x1EB5,
00054         0x1EB2,
00055         0x1EB3,
00056         0x1EB6,
00057         0x1EB7,
00058         0x1EA2,
00059         0x1EA3,
00060         0x1EA0,
00061         0x1EA1,
00062         0x0110,
00063         0x0111,
00064         0x00C8,
00065         0x00E8,
00066         0x00C9,
00067         0x00E9,
00068         0x00CA,
00069         0x00EA,
00070         0x1EC0,
00071         0x1EC1,
00072         0x1EBE,
00073         0x1EBF,
00074         0x1EC4,
00075         0x1EC5,
00076         0x1EC2,
00077         0x1EC3,
00078         0x1EC6,
00079         0x1EC7,
00080         0x1EBC,
00081         0x1EBD,
00082         0x1EBA,
00083         0x1EBB,
00084         0x1EB8,
00085         0x1EB9,
00086         0x00CC,
00087         0x00EC,
00088         0x00CD,
00089         0x00ED,
00090         0x0128,
00091         0x0129,
00092         0x1EC8,
00093         0x1EC9,
00094         0x1ECA,
00095         0x1ECB,
00096         0x00D2,
00097         0x00F2,
00098         0x00D3,
00099         0x00F3,
00100         0x00D4,
00101         0x00F4,
00102         0x1ED2,
00103         0x1ED3,
00104         0x1ED0,
00105         0x1ED1,
00106         0x1ED6,
00107         0x1ED7,
00108         0x1ED4,
00109         0x1ED5,
00110         0x1ED8,
00111         0x1ED9,
00112         0x00D5,
00113         0x00F5,
00114         0x1ECE,
00115         0x1ECF,
00116         0x01A0,
00117         0x01A1,
00118         0x1EDC,
00119         0x1EDD,
00120         0x1EDA,
00121         0x1EDB,
00122         0x1EE0,
00123         0x1EE1,
00124         0x1EDE,
00125         0x1EDF,
00126         0x1EE2,
00127         0x1EE3,
00128         0x1ECC,
00129         0x1ECD,
00130         0x00D9,
00131         0x00F9,
00132         0x00DA,
00133         0x00FA,
00134         0x0168,
00135         0x0169,
00136         0x1EE6,
00137         0x1EE7,
00138         0x01AF,
00139         0x01B0,
00140         0x1EEA,
00141         0x1EEB,
00142         0x1EE8,
00143         0x1EE9,
00144         0x1EEE,
00145         0x1EEF,
00146         0x1EEC,
00147         0x1EED,
00148         0x1EF0,
00149         0x1EF1,
00150         0x1EE4,
00151         0x1EE5,
00152         0x1EF2,
00153         0x1EF3,
00154         0x00DD,
00155         0x00FD,
00156         0x1EF8,
00157         0x1EF9,
00158         0x1EF6,
00159         0x1EF7,
00160         0x1EF4,
00161         0x1EF5,
00162         END_OF_DATA
00163 };
00164 
00165 //
00166 // Sample sentences : First 2 lines of Tale of Kiều (傳翹): 
00167 // 
00168 const char *sentences[]={
00169         "Trăm năm, trong cõi người ta, Chữ tài, chữ mệnh, khéo là ghét nhau.",
00170         "Trải qua một cuộc bể dâu, Những điều trông thấy mà đau đớn lòng;",
00171         END_OF_DATA
00172 };
00173 
00174 
00175 //
00176 // 
00177 //
00178 OrthographyData data={
00179         "Vietnamese",
00180         "tiếng Việt",
00181         0x1EA6, // LATIN CAPITAL LETTER A WITH CIRCUMFLEX AND GRAVE
00182         values,
00183         "ẦầẵặỒỗỬửỴỵ",
00184         sentences
00185 };
00186 
00187 const OrthographyData *pData = &data;
00188 
00189 }; // end of namespace
00190 
00191 #endif