fribidi_get_bidi_type (3) - Linux Manuals

fribidi_get_bidi_type: get character bidi type

NAME

fribidi_get_bidi_type - get character bidi type

SYNOPSIS

#include <fribidi.h>

extern FriBidiCharType fribidi_get_bidi_type(FriBidiChar ch);

PARAMETERS

FriBidiChar ch
Input character.

DESCRIPTION

This function returns the bidi type of a character as defined in Table 3.7 Bidirectional Character Types of the Unicode Bidirectional Algorithm available at http://www.unicode.org/reports/tr9/#Bidirectional_Character_Types, using data provided in file UnicodeData.txt of the Unicode Character Database available at http://www.unicode.org/Public/UNIDATA/UnicodeData.txt.

There are a few macros defined in fribidi-bidi-types.h for querying a bidi type.

RETURNS

Since there are 23 possible values for an extern FriBidiCharType, they are not all listed here.