blob: 7e5171e9720cc9c32a899096874e9bc40cb52d43 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
|
<!-- ##### SECTION Title ##### -->
Bidirectional Text
<!-- ##### SECTION Short_Description ##### -->
Types and functions to help with handling bidirectional text
<!-- ##### SECTION Long_Description ##### -->
<para>
Pango supports bidirectional text (like Arabic and Hebrew) automatically.
Some applications however, need some help to correctly handle bidirectional
text.
</para>
<para>
The #PangoDirection type can be used with pango_context_set_base_dir() to
instruct Pango about direction of text, though in most cases Pango detects
that correctly and automatically. The rest of the facilities in this section
are used internally by Pango already, and are provided to help applications
that need more direct control over bidirectional setting of text.
</para>
<!-- ##### SECTION See_Also ##### -->
<para>
pango_context_get_base_dir(),
pango_context_set_base_dir(),
pango_itemize_with_base_dir()
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### ENUM PangoDirection ##### -->
<para>
</para>
@PANGO_DIRECTION_LTR:
@PANGO_DIRECTION_RTL:
@PANGO_DIRECTION_TTB_LTR:
@PANGO_DIRECTION_TTB_RTL:
@PANGO_DIRECTION_WEAK_LTR:
@PANGO_DIRECTION_WEAK_RTL:
@PANGO_DIRECTION_NEUTRAL:
<!-- ##### FUNCTION pango_unichar_direction ##### -->
<para>
</para>
@ch:
@Returns:
<!-- ##### FUNCTION pango_find_base_dir ##### -->
<para>
</para>
@text:
@length:
@Returns:
<!-- ##### FUNCTION pango_get_mirror_char ##### -->
<para>
</para>
@ch:
@mirrored_ch:
@Returns:
<!-- ##### ENUM PangoBidiType ##### -->
<para>
</para>
@PANGO_BIDI_TYPE_L:
@PANGO_BIDI_TYPE_LRE:
@PANGO_BIDI_TYPE_LRO:
@PANGO_BIDI_TYPE_R:
@PANGO_BIDI_TYPE_AL:
@PANGO_BIDI_TYPE_RLE:
@PANGO_BIDI_TYPE_RLO:
@PANGO_BIDI_TYPE_PDF:
@PANGO_BIDI_TYPE_EN:
@PANGO_BIDI_TYPE_ES:
@PANGO_BIDI_TYPE_ET:
@PANGO_BIDI_TYPE_AN:
@PANGO_BIDI_TYPE_CS:
@PANGO_BIDI_TYPE_NSM:
@PANGO_BIDI_TYPE_BN:
@PANGO_BIDI_TYPE_B:
@PANGO_BIDI_TYPE_S:
@PANGO_BIDI_TYPE_WS:
@PANGO_BIDI_TYPE_ON:
<!-- ##### FUNCTION pango_bidi_type_for_unichar ##### -->
<para>
</para>
@ch:
@Returns:
|