AW: [Fribidi-discuss] License question to the project owners
Behdad Esfahbod
behdad at bamdad.org
Mon Aug 11 23:13:06 EST 2003
On Fri, 11 Jul 2003, Stefan Wanger wrote:
> Hi,
>
> i am testing ICU 2.4 with your Layout sample.
>
> But i have problems with embedded levels using the ubidi_setPara und
> ubidi_getLogicalRun API.
>
> This is my sample in logical order. <<12 34 56 78 90.txt>>
>
> 12 34 56 78 AB 90
>
> AB are strong RTL characters. Paragrapg level is LTR. "34 56" should be
> treated as RTL run
>
> How can I achieve the following visual output:
>
> 12 56 34 78 BA 90
>
> I tried 2 solutions
>
> 1. if i am using embedded levels ("00011110000000000") with ubidi_setPara,
> AB is not resolved as RTL run, when calling ubidi_getLogicalRun.
>
> 2. if i am using the RLE keyword (12 <RLE>34 56<PDF> 78 AB 90), the output
> is 12 90 BA 78 56 34
I'm not sure I have understood your problem. What are the
character types (for the digits)? One solution I'm thinking of
is using LRM and RLM:
12 <LRM><RLM>34 56<RLM><LRM> 78 <LRM><RLM>AB<RLM><LRM> 90
Definitely it contains extra marks, but the idea is how to get
what you want somehow mechanically.
> Please show me the right way.
>
> I would be very glad, if you can help.
>
> Thanks
>
> Stefan Wanger
--
Behdad Esfahbod 21 Mordad 1382, 2003 Aug 12
http://behdad.org/ [Finger for Geek Code]
If you do a job too well, you'll get stuck with it.
More information about the FriBidi
mailing list