4 |
typedef enum { |
typedef enum { |
5 |
/* do not change the order of these constants since 'property_val' |
/* do not change the order of these constants since 'property_val' |
6 |
depends on them */ |
depends on them */ |
7 |
FRIBIDI_TYPE_LTR, /* Strong left to right */ |
FRIBIDI_TYPE_LTR, /* Strong left to right */ |
8 |
FRIBIDI_TYPE_RTL, /* Right to left characters */ |
FRIBIDI_TYPE_RTL, /* Right to left characters */ |
9 |
FRIBIDI_TYPE_WL, /* Weak left to right */ |
FRIBIDI_TYPE_WL, /* Weak left to right */ |
10 |
FRIBIDI_TYPE_WR, /* Weak right to left */ |
FRIBIDI_TYPE_WR, /* Weak right to left */ |
11 |
FRIBIDI_TYPE_EN, /* European digit */ |
FRIBIDI_TYPE_EN, /* European digit */ |
12 |
FRIBIDI_TYPE_ES, /* European number separator */ |
FRIBIDI_TYPE_ES, /* European number separator */ |
13 |
FRIBIDI_TYPE_ET, /* European number terminator */ |
FRIBIDI_TYPE_ET, /* European number terminator */ |
14 |
FRIBIDI_TYPE_AN, /* Arabic digit */ |
FRIBIDI_TYPE_AN, /* Arabic digit */ |
15 |
FRIBIDI_TYPE_CS, /* Common Separator */ |
FRIBIDI_TYPE_CS, /* Common Separator */ |
16 |
FRIBIDI_TYPE_BS, /* Block separator */ |
FRIBIDI_TYPE_BS, /* Block separator */ |
17 |
FRIBIDI_TYPE_SS, /* Segment separator */ |
FRIBIDI_TYPE_SS, /* Segment separator */ |
18 |
FRIBIDI_TYPE_WS, /* Whitespace */ |
FRIBIDI_TYPE_WS, /* Whitespace */ |
19 |
FRIBIDI_TYPE_AL, /* Arabic characters */ |
FRIBIDI_TYPE_AL, /* Arabic characters */ |
20 |
FRIBIDI_TYPE_NSM, /* Non spacing mark */ |
FRIBIDI_TYPE_NSM, /* Non spacing mark */ |
21 |
FRIBIDI_TYPE_BN, |
FRIBIDI_TYPE_BN, |
22 |
FRIBIDI_TYPE_ON, /* Other Neutral */ |
FRIBIDI_TYPE_ON, /* Other Neutral */ |
23 |
FRIBIDI_TYPE_LRE, /* Left-To-Right embedding */ |
FRIBIDI_TYPE_LRE, /* Left-To-Right embedding */ |
24 |
FRIBIDI_TYPE_RLE, /* Right-To-Left embedding */ |
FRIBIDI_TYPE_RLE, /* Right-To-Left embedding */ |
25 |
FRIBIDI_TYPE_PDF, /* Pop directional override */ |
FRIBIDI_TYPE_PDF, /* Pop directional override */ |
26 |
FRIBIDI_TYPE_LRO, /* Left-To-Right override */ |
FRIBIDI_TYPE_LRO, /* Left-To-Right override */ |
27 |
FRIBIDI_TYPE_RLO, /* Right-To-Left override */ |
FRIBIDI_TYPE_RLO, /* Right-To-Left override */ |
28 |
|
|
29 |
/* The following are only used internally */ |
/* The following are only used internally */ |
30 |
FRIBIDI_TYPE_SOT, |
FRIBIDI_TYPE_SOT, |
31 |
FRIBIDI_TYPE_EOT, |
FRIBIDI_TYPE_EOT, |
32 |
FRIBIDI_TYPE_N, |
FRIBIDI_TYPE_N, |
33 |
FRIBIDI_TYPE_E, |
FRIBIDI_TYPE_E, |
34 |
FRIBIDI_TYPE_CTL, /* Control units */ |
FRIBIDI_TYPE_CTL, /* Control units */ |
35 |
FRIBIDI_TYPE_EO, /* Control units */ |
FRIBIDI_TYPE_EO, /* Control units */ |
36 |
FRIBIDI_TYPE_NULL, /* type record is to be deleted */ |
FRIBIDI_TYPE_NULL, /* type record is to be deleted */ |
37 |
FRIBIDI_TYPE_L = FRIBIDI_TYPE_LTR, |
FRIBIDI_TYPE_L = FRIBIDI_TYPE_LTR, |
38 |
FRIBIDI_TYPE_R = FRIBIDI_TYPE_RTL, |
FRIBIDI_TYPE_R = FRIBIDI_TYPE_RTL, |
39 |
FRIBIDI_TYPE_CM = FRIBIDI_TYPE_ON + 2, |
FRIBIDI_TYPE_CM = FRIBIDI_TYPE_ON + 2, |
53 |
FriBidiCharType fribidi_get_type_test(FriBidiChar ch); |
FriBidiCharType fribidi_get_type_test(FriBidiChar ch); |
54 |
FriBidiChar fribidi_get_mirror_char(FriBidiChar ch); |
FriBidiChar fribidi_get_mirror_char(FriBidiChar ch); |
55 |
|
|
56 |
void fribidi_analyse_string(TypeLink * type_rl_list, |
void fribidi_analyse_string(TypeLink *type_rl_list, |
57 |
FriBidiCharType * pbase_dir, |
FriBidiCharType *pbase_dir, |
58 |
int *pmax_level); |
int *pmax_level); |
59 |
|
|