fribidi_get_bracket (3) - Linux Man Pages

fribidi_get_bracket: get bracketed character


fribidi_get_bracket - get bracketed character


#include <fribidi.h>

extern FriBidiBracketType fribidi_get_bracket(FriBidiChar ch);


FriBidiChar ch
Input character.


This function finds the bracketed equivalent of a character as defined in the file BidiBrackets.txt of the Unicode Character Database available at

If the input character is a declared as a brackets character in the Unicode standard and has a bracketed equivalent. The matching bracketed character is put in the output, otherwise the input character itself is put.


The bracket type of the character. Use the FRIBIDI_IS_BRACKET(FriBidiBracketType) to test if it is a valid property.