fribidi_set_reorder_nsm (3) - Linux Manuals

fribidi_set_reorder_nsm: set marks reordering on or off


fribidi_set_reorder_nsm - set marks reordering on or off


#include <fribidi.h>

extern fribidi_boolean fribidi_set_reorder_nsm(fribidi_boolean state);


fribidi_boolean state
New state to set.


This function is used to turn non-spacing marks reordering on or off. Reordering non-spacing marks is the act of placing non-spacing marks (bidi class NSM) after their base character in a right-to-left resolved context. If your rendering engine expects non-spacing marks always after the base character in the memory representation of the visual string, you need this option on. An example of where people may need it off is when rendering in the console when non-spacing marks cannot be applied on top of the base character.

This flag is on by default. This function is deprecated and only used with other deprecated functions.


The new marks reordering status.