SYNOPSIS

#include <fribidi.h>

const char *fribidi_get_bidi_type_name(FriBidiCharType t);

PARAMETERS

FriBidiCharType t

Input bidi type.

Possible values for a FriBidiCharType are as follows:

FRIBIDI_TYPE_LTR

Left-To-Right letter.

FRIBIDI_TYPE_RTL

Right-To-Left letter.

FRIBIDI_TYPE_AL

Arabic Letter.

FRIBIDI_TYPE_EN

European Numeral.

FRIBIDI_TYPE_AN

Arabic Numeral.

FRIBIDI_TYPE_ES

European number Separator.

FRIBIDI_TYPE_ET

European number Terminator.

FRIBIDI_TYPE_CS

Common Separator.

FRIBIDI_TYPE_NSM

Non Spacing Mark.

FRIBIDI_TYPE_BN

Boundary Neutral.

FRIBIDI_TYPE_BS

Block Separator.

FRIBIDI_TYPE_SS

Segment Separator.

FRIBIDI_TYPE_WS

WhiteSpace.

FRIBIDI_TYPE_ON

Other Neutral.

FRIBIDI_TYPE_LRE

Left-to-Right Embedding.

FRIBIDI_TYPE_RLE

Right-to-Left Embedding.

FRIBIDI_TYPE_LRO

Left-to-Right Override.

FRIBIDI_TYPE_RLO

Right-to-Left Override.

FRIBIDI_TYPE_PDF

Pop Directional Flag.

DESCRIPTION

This function returns the bidi type name of a character type. The returned string is a static string and should not be freed.

The type names are the same as ones defined in Table 3.7 Bidirectional Character Types of the Unicode Bidirectional Algorithm available at http://www.unicode.org/reports/tr9/#Bidirectional_Character_Types, with a few modifications: L->LTR, R->RTL, B->BS, S->SS.

RELATED TO fribidi_get_bidi_type_name…