Re: How can I set the default direction?

Behdad Esfahbod <[email protected]> Tue, 19 Nov 2013 13:52:32 -0500
Newsgroups gmane.comp.internationalization.fribidi
Message-ID <[email protected]>
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/