fribidi_get_joining_type
Section: Programmer's Manual (3)
Updated: 19 February 2018
Page Index
NAME
fribidi_get_joining_type - get character joining type
SYNOPSIS
#include <fribidi.h>
extern FriBidiJoiningType fribidi_get_joining_type(FriBidiChar ch);
PARAMETERS
- FriBidiChar ch
-
Input character.
DESCRIPTION
This function returns the joining type of a character as defined in Table
8-2 Primary Arabic Joining Classes of the Unicode standard available at
http://www.unicode.org/versions/Unicode4.0.0/ch08.pdf#G7462, using data
provided in file ArabicShaping.txt and UnicodeData.txt of the Unicode
Character Database available at
http://www.unicode.org/Public/UNIDATA/ArabicShaping.txt and
http://www.unicode.org/Public/UNIDATA/UnicodeData.txt.
There are a few macros defined in fribidi-joining-types.h for querying a
joining type.
RETURNS
Possible values for an
extern FriBidiJoiningType are as follows:
-
- FRIBIDI_JOINING_TYPE_U
-
NUn-joining, e.g. Full Stop.
- FRIBIDI_JOINING_TYPE_R
-
Right-joining, e.g. Arabic Letter Dal.
- FRIBIDI_JOINING_TYPE_D
-
Dual-joining, e.g. Arabic Letter Ain.
- FRIBIDI_JOINING_TYPE_C
-
Join-Causing, e.g. Tatweel, ZWJ.
- FRIBIDI_JOINING_TYPE_T
-
Transparent, e.g. Arabic Fatha.
- FRIBIDI_JOINING_TYPE_L
-
Left-joining, i.e. Fictional.
- FRIBIDI_JOINING_TYPE_G
-
IGnored, e.g. LRE, RLE, ZWNBSP.
SEE ALSO
fribidi_shape_arabic(3),
fribidi_get_par_direction(3),
fribidi_get_par_embedding_levels_ex(3),
fribidi_reorder_line(3),
fribidi_get_bidi_type(3),
fribidi_get_bidi_types(3),
fribidi_get_bidi_type_name(3),
fribidi_debug_status(3),
fribidi_set_debug(3),
fribidi_charset_to_unicode(3),
fribidi_unicode_to_charset(3),
fribidi_parse_charset(3),
fribidi_mirroring_status(3),
fribidi_set_mirroring(3),
fribidi_reorder_nsm_status(3),
fribidi_set_reorder_nsm(3),
fribidi_log2vis_get_embedding_levels(3),
fribidi_get_type(3),
fribidi_get_type_internal(3),
fribidi_remove_bidi_marks(3),
fribidi_log2vis(3),
fribidi_get_par_embedding_levels(3),
fribidi_join_arabic(3),
fribidi_get_joining_types(3),
fribidi_get_joining_type_name(3),
fribidi_get_mirror_char(3),
fribidi_shape_mirroring(3),
fribidi_get_bracket(3),
fribidi_get_bracket_types(3),
fribidi_shape(3)