SYNOPSIS

#include <fribidi.h>

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 a 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.

RELATED TO fribidi_get_joining_type…