[FriBidi] How can I set the default direction?

Behdad Esfahbod behdad at behdad.org
Tue Nov 19 10:52:32 PST 2013


On 13-11-19 10:55 AM, Eduardo Castineyra wrote:
> Hi,
> 
> A lot of arabic users don't know the RL/LR marks do even exist. They are used
> to set their given editor in LTR or RTL mode (namely R-CTRL+R-SHIFT in Notepad).
> 
> Apparently FriBidi takes the direction of the first character as the leading one.
> 
> Is there any way to tell log2vis what the default direction is without having
> to programmatically add the mark at the beginning of the string?

Pass in FRIBIDI_PAR_LTR/RTL to pbase_dir.

-- 
behdad
http://behdad.org/


More information about the fribidi mailing list