Re: log2vis() misbehaving with Arabic text?
Philip Semanchuk <[email protected]> Thu, 23 Oct 2014 15:35:15 -0400
| Newsgroups | gmane.comp.internationalization.fribidi |
|---|---|
| Message-ID | <CAKz23ys5unJq+rpqgVwVcDb7=vsEKYjUma-bX+FdhRVV1d_52g@mail.gmail.com> |
--===============0691300002== Content-Type: multipart/alternative; boundary=001a1140fcd0e2896205061c2958 --001a1140fcd0e2896205061c2958 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Tue, Oct 21, 2014 at 6:40 PM, Behdad Esfahbod <[email protected]> wrote: Hi Philip, Comments below. On 14-10-21 11:42 AM, Philip Semanchuk wrote: > log2vis() puts the Shadda in a different place than the BAR > (Better-Arabic-Reshaper): > log2vis: u=E2=80=99\ufe94\ufef4\u0651\ufe91\ufeab\ufe8e\ufe9f' > bar: u=E2=80=99\ufe94\u0651\ufef4\ufe91\ufeab\ufe8e\ufe9f' > Which one is correct depends on how you are going to use the results. The rule in question is written down here: http://www.unicode.org/reports/tr9/#L3 If you want, for example, to output this sequence to a non-bidi-aware terminal, then the result that FriBidi is creating is correct and the BAR is incorrect. Looking at the BAR code, I'm much more confident in FriBidi being correct than in BAR. Hi Behdad, Thanks very much for the informative reply. I learn something new every day, including the fact that I have a lot to learn. I feel sure I should have a followup question but I need to experiment some more before I can ask it. I agree with your confidence in FriBidi over BAR. The latter is great for what it is, but I=E2=80=99m sure FriBidi sees more use and review. Thanks again Philip --001a1140fcd0e2896205061c2958 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">On Tue, Oct 21, 2014 at 6:40 PM, Behdad Esfahbod <<a hr= ef=3D"mailto:[email protected]">[email protected]</a>> wrote:<br><br>=C2= =A0=C2=A0=C2=A0 Hi Philip,<br><br>=C2=A0=C2=A0=C2=A0 Comments below.<br><br= >=C2=A0=C2=A0=C2=A0 On 14-10-21 11:42 AM, Philip Semanchuk wrote:<br>=C2=A0= =C2=A0=C2=A0 > log2vis() puts the Shadda in a different place than the B= AR<br>=C2=A0=C2=A0=C2=A0 > (Better-Arabic-Reshaper):<br>=C2=A0=C2=A0=C2= =A0 > log2vis: u=E2=80=99\ufe94\ufef4\u0651\ufe91\ufeab\ufe8e\ufe9f'= <br>=C2=A0=C2=A0=C2=A0 > bar:=C2=A0=C2=A0=C2=A0=C2=A0 u=E2=80=99\ufe94\u= 0651\ufef4\ufe91\ufeab\ufe8e\ufe9f'<br>=C2=A0=C2=A0=C2=A0 ><br><br>= =C2=A0=C2=A0=C2=A0 Which one is correct depends on how you are going to use= the results.=C2=A0 The<br>=C2=A0=C2=A0=C2=A0 rule in question is written d= own here:<br><br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <a href=3D"http://www.unico= de.org/reports/tr9/#L3">http://www.unicode.org/reports/tr9/#L3</a><br><br>= =C2=A0=C2=A0=C2=A0 If you want, for example, to output this sequence to a n= on-bidi-aware<br>=C2=A0=C2=A0=C2=A0 terminal, then the result that FriBidi = is creating is correct and the BAR is<br>=C2=A0=C2=A0=C2=A0 incorrect.<br><= br>=C2=A0=C2=A0=C2=A0 Looking at the BAR code, I'm much more confident = in FriBidi being correct than<br>=C2=A0=C2=A0=C2=A0 in BAR.<br><br><br>Hi B= ehdad,<br>Thanks very much for the informative reply. I learn something new= every day, including the fact that I have a lot to learn.<br><br>I feel su= re I should have a followup question but I need to experiment some more bef= ore I can ask it.<br><br>I agree with your confidence in FriBidi over BAR. = The latter is great for what it is, but I=E2=80=99m sure FriBidi sees more = use and review.<br><br>Thanks again<br>Philip<br><br></div> --001a1140fcd0e2896205061c2958-- --===============0691300002== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ fribidi mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/fribidi --===============0691300002==--