fribidi_get_bracket(3)

fribidi_get_bracket3

Get bracketed character

Usage

#include <../fribidi/lib/fribidi.h>

FriBidiBracketType fribidi_get_bracket(FriBidiChar ch);

Parameters

FriBidiChar ch

Input character.

Overview

This function finds the bracketed equivalent of a character as defined in the file BidiBrackets.txt of the Unicode Character Database available at http://www.unicode.org/Public/UNIDATA/BidiBrackets.txt.

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.

Returns

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

Releases

5 releases since Debian 10 (Buster); the text changed 3 times.

  1. 10
  2. 11–12
  3. 13
  4. Arch

From fribidi 1.0.18-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.