1fribidi_get_bidi_type(3) Programmer's Manual fribidi_get_bidi_type(3)
2
3
4
6 fribidi_get_bidi_type - get character bidi type
7
9 #include <fribidi.h>
10
11 FriBidiCharType fribidi_get_bidi_type(FriBidiChar ch);
12
14 FriBidiChar ch
15 Input character.
16
18 This function returns the bidi type of a character as defined in Table
19 3.7 Bidirectional Character Types of the Unicode Bidirectional Algo‐
20 rithm available at http://www.unicode.org/reports/tr9/#Bidirec‐
21 tional_Character_Types, using data provided in file UnicodeData.txt of
22 the Unicode Character Database available at http://www.unicode.org/Pub‐
23 lic/UNIDATA/UnicodeData.txt.
24
25 There are a few macros defined in fribidi-bidi-types.h for querying a
26 bidi type.
27
29 Possible values for a FriBidiCharType are as follows:
30 FRIBIDI_TYPE_LTR Left-To-Right letter.
31 FRIBIDI_TYPE_RTL Right-To-Left letter.
32 FRIBIDI_TYPE_AL Arabic Letter.
33 FRIBIDI_TYPE_EN European Numeral.
34 FRIBIDI_TYPE_AN Arabic Numeral.
35 FRIBIDI_TYPE_ES European number Separator.
36 FRIBIDI_TYPE_ET European number Terminator.
37 FRIBIDI_TYPE_CS Common Separator.
38 FRIBIDI_TYPE_NSM Non Spacing Mark.
39 FRIBIDI_TYPE_BN Boundary Neutral.
40 FRIBIDI_TYPE_BS Block Separator.
41 FRIBIDI_TYPE_SS Segment Separator.
42 FRIBIDI_TYPE_WS WhiteSpace.
43 FRIBIDI_TYPE_ON Other Neutral.
44 FRIBIDI_TYPE_LRE Left-to-Right Embedding.
45 FRIBIDI_TYPE_RLE Right-to-Left Embedding.
46 FRIBIDI_TYPE_LRO Left-to-Right Override.
47 FRIBIDI_TYPE_RLO Right-to-Left Override.
48 FRIBIDI_TYPE_PDF Pop Directional Flag.
49
51 fribidi_charset_to_unicode(3), fribidi_unicode_to_charset(3),
52 fribidi_parse_charset(3), fribidi_shape_arabic(3),
53 fribidi_get_par_direction(3), fribidi_get_par_embedding_levels(3),
54 fribidi_reorder_line(3), fribidi_get_bidi_types(3),
55 fribidi_get_bidi_type_name(3), fribidi_debug_status(3), fribidi_mirror‐
56 ing_status(3), fribidi_set_mirroring(3), fribidi_reorder_nsm_status(3),
57 fribidi_set_reorder_nsm(3), fribidi_log2vis_get_embedding_levels(3),
58 fribidi_get_type(3), fribidi_get_type_internal(3),
59 fribidi_remove_bidi_marks(3), fribidi_log2vis(3), fribidi_join_ara‐
60 bic(3), fribidi_get_joining_type(3), fribidi_get_joining_types(3),
61 fribidi_get_joining_type_name(3), fribidi_get_mirror_char(3),
62 fribidi_shape_mirroring(3), fribidi_shape(3)
63
64
65
66GNU FriBidi 0.19.2 24 November 2008 fribidi_get_bidi_type(3)