FONTAINE
1.0
src
orthographies
Thai.h
Go to the documentation of this file.
1
//
2
// The Fontaine Font Analysis Project
3
//
4
// Copyright (c) 2009 by Edward H. Trager
5
// All Rights Reserved
6
//
7
// Released under the GNU GPL version 2.0 or later.
8
//
9
10
11
//
12
// Thai.h
13
//
14
15
#ifndef ORTHOGRAPHY_DATA
16
#include "../OrthographyData.h"
17
#endif
18
19
#ifndef THAI
20
#define THAI
21
22
namespace
Thai
{
23
24
//
25
// Unicode values
26
//
27
UINT32
values
[]={
28
START_RANGE_PAIR
,
29
0x0e01,0x0e3a,
30
START_RANGE_PAIR
,
31
0x0e3f,0x0e5b,
32
END_OF_DATA
33
};
34
35
//
36
// Sample sentences
37
//
38
const
char
*
sentences
[]={
39
"มื่อชั่วพ่อขุนรามคำแหง เมืองสุโขทัยนี้ดี ในน้ำมีปลา ในนามีข้าว"
,
40
END_OF_DATA
41
};
42
43
44
//
45
//
46
//
47
OrthographyData
data
={
48
"Thai"
,
// Common name
49
"ภาษาไทย"
,
// Native name
50
0x0e01,
// THAI CHARACTER KO KAI
51
values
,
52
"ฟหกดสวงท"
,
// Sample characters
53
sentences
54
};
55
56
const
OrthographyData
*
pData
= &
data
;
57
58
};
// end of namespace
59
60
#endif
END_OF_DATA
#define END_OF_DATA
Definition:
OrthographyData.h:23
Thai::sentences
const char * sentences[]
Definition:
Thai.h:38
OrthographyData
Definition:
OrthographyData.h:28
UINT32
unsigned int UINT32
Definition:
OrthographyData.h:19
Thai::values
UINT32 values[]
Definition:
Thai.h:27
Thai::data
OrthographyData data
Definition:
Thai.h:47
START_RANGE_PAIR
#define START_RANGE_PAIR
Definition:
OrthographyData.h:22
Thai
Definition:
Thai.h:22
Thai::pData
const OrthographyData * pData
Definition:
Thai.h:56
Generated by
1.8.17