SYNOPSIS

#include <fribidi.h>

void fribidi_shape_mirroring

(

const FriBidiLevel *embedding_levels,

const FriBidiStrIndex len,

FriBidiChar *str

);

PARAMETERS

const FriBidiLevel *embedding_levels

Input list of embedding levels, as returned by fribidi_get_par_embedding_levels.

const FriBidiStrIndex len

Input string length.

FriBidiChar *str

String to shape.

DESCRIPTION

This functions replaces mirroring characters on right-to-left embeddings in string with their mirrored equivalent as returned by fribidi_get_mirror_char().

This function implements rule L4 of the Unicode Bidirectional Algorithm available at http://www.unicode.org/reports/tr9/#L4.

RELATED TO fribidi_shape_mirroring…