1fribidi_shape_arabic(3)       Programmer's Manual      fribidi_shape_arabic(3)
2
3
4

NAME

6       fribidi_shape_arabic - do Arabic shaping
7

SYNOPSIS

9       #include <fribidi.h>
10
11       extern void fribidi_shape_arabic
12       (
13            FriBidiFlags flags,
14            const FriBidiLevel *embedding_levels,
15            const FriBidiStrIndex len,
16            FriBidiArabicProp *ar_props,
17            FriBidiChar *str
18       );
19

PARAMETERS

21       FriBidiFlags flags
22              Shaping flags.
23
24       const FriBidiLevel *embedding_levels
25              Not Documented.
26
27       const FriBidiStrIndex len
28              Input string length.
29
30       FriBidiArabicProp *ar_props
31              Input/output  Arabic properties as computed by fribidi_join_ara‐
32              bic.
33
34       FriBidiChar *str
35              String to shape.
36

DESCRIPTION

38       The actual shaping that is done depends on the flags set.   Only  flags
39       starting with FRIBIDI_FLAG_SHAPE_ARAB_ affect this function.  Currently
40       these are:
41
42       * FRIBIDI_FLAG_SHAPE_MIRRORING: Do mirroring.
43       * FRIBIDI_FLAG_SHAPE_ARAB_PRES: Shape Arabic characters to  their  pre‐
44       sentation form glyphs.
45       * FRIBIDI_FLAG_SHAPE_ARAB_LIGA: Form mandatory Arabic ligatures.
46       *  FRIBIDI_FLAG_SHAPE_ARAB_CONSOLE:  Perform  additional Arabic shaping
47       suitable for text rendered on grid terminals  with  no  mark  rendering
48       capabilities.
49
50       Of  the  above, FRIBIDI_FLAG_SHAPE_ARAB_CONSOLE is only used in special
51       cases, but the rest are recommended in  any  environment  that  doesn't
52       have other means for doing Arabic shaping.  The set of extra flags that
53       enable  this  level  of   Arabic   support   has   a   shortcut   named
54       FRIBIDI_FLAGS_ARABIC.
55

SEE ALSO

57       fribidi_get_par_direction(3),   fribidi_get_par_embedding_levels_ex(3),
58       fribidi_reorder_line(3),                      fribidi_get_bidi_type(3),
59       fribidi_get_bidi_types(3),               fribidi_get_bidi_type_name(3),
60       fribidi_debug_status(3), fribidi_set_debug(3),  fribidi_charset_to_uni‐
61       code(3),    fribidi_unicode_to_charset(3),    fribidi_parse_charset(3),
62       fribidi_mirroring_status(3),                  fribidi_set_mirroring(3),
63       fribidi_reorder_nsm_status(3),              fribidi_set_reorder_nsm(3),
64       fribidi_log2vis_get_embedding_levels(3),           fribidi_get_type(3),
65       fribidi_get_type_internal(3),             fribidi_remove_bidi_marks(3),
66       fribidi_log2vis(3),                fribidi_get_par_embedding_levels(3),
67       fribidi_join_arabic(3),  fribidi_get_joining_type(3), fribidi_get_join‐
68       ing_types(3),    fribidi_get_joining_type_name(3),     fribidi_get_mir‐
69       ror_char(3),     fribidi_shape_mirroring(3),    fribidi_get_bracket(3),
70       fribidi_get_bracket_types(3), fribidi_shape(3)
71
72
73
74c2man fribidi-arabic.h         19 February 2018        fribidi_shape_arabic(3)
Impressum