FONTAINE
1.0
src
orthographies
Farsi.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
// Farsi.h
13
//
14
15
#ifndef ORTHOGRAPHY_DATA
16
#include "../OrthographyData.h"
17
#endif
18
19
#ifndef FARSI
20
#define FARSI
21
22
namespace
Farsi
{
23
24
//
25
// Unicode values -- Only those beyond basic Arabic
26
//
27
UINT32
values
[]={
28
0x067e,
// PEH
29
0x0686,
// TCHEH
30
0x0698,
// JEH
31
0x06a9,
// KEHEH
32
0x06af,
// GAF
33
0x06cc,
// FARSI YEH
34
START_RANGE_PAIR
,
35
0x06f0,0x06f9,
// Farsi numerals ۰-۹
36
END_OF_DATA
37
};
38
39
//
40
// Sample sentences
41
//
42
const
char
*
sentences
[]={
43
"من بنده عاصیم رضائی تو کجاست تاریک دلم"
,
44
END_OF_DATA
45
};
46
47
48
//
49
//
50
//
51
OrthographyData
data
={
52
"Farsi"
,
// Common name
53
"فارسی"
,
// Native name
54
0x067e,
// ARABIC LETTER PEH
55
values
,
56
"پ چ ژ ک گ ۀ ی"
,
// Sample characters
57
sentences
58
};
59
60
const
OrthographyData
*
pData
= &
data
;
61
62
};
// end of namespace
63
64
#endif
Farsi::values
UINT32 values[]
Definition:
Farsi.h:27
END_OF_DATA
#define END_OF_DATA
Definition:
OrthographyData.h:23
Farsi::data
OrthographyData data
Definition:
Farsi.h:51
OrthographyData
Definition:
OrthographyData.h:28
UINT32
unsigned int UINT32
Definition:
OrthographyData.h:19
START_RANGE_PAIR
#define START_RANGE_PAIR
Definition:
OrthographyData.h:22
Farsi
Definition:
Farsi.h:22
Farsi::sentences
const char * sentences[]
Definition:
Farsi.h:42
Farsi::pData
const OrthographyData * pData
Definition:
Farsi.h:60
Generated by
1.8.17