Re: Unicode 10 support merged into master
Dov Grobgeld <[email protected]> Wed, 8 Nov 2017 20:47:41 +0200
| Newsgroups | gmane.comp.internationalization.fribidi |
|---|---|
| Message-ID | <CA++fsGGQpxcqG0b3_N0=k-VptTQU24ZxETfBC1OtH9ShrtqS7A@mail.gmail.com> |
--===============2109695684==
Content-Type: multipart/alternative; boundary="94eb2c1cda28605fec055d7d1fe9"
--94eb2c1cda28605fec055d7d1fe9
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
I have now updated fribidi_log2vis and pushed to master. Consider the
difference:
$ echo 'say (hello)' | /usr/bin/fribidi --rtl
(say (hello
$ echo 'say (hello)' | ./fribidi --rtl
say (hello)
Regards,
Dov
On Wed, Nov 8, 2017 at 12:04 PM, Dov Grobgeld <[email protected]>
wrote:
> Yes. This case is covered by the new BD16 and N0 rules, and the
> parentheses are now "glued" to their embedded contents.
>
> This example also made me realize that I forgot to update the fribidi.c
> program to use the new API, and it therefore still returns the old result=
.
>
> I'll fix this tonight.
>
> Regards,
> Dov
>
> On Wed, Nov 8, 2017 at 11:33 AM, Eduardo Casti=C3=B1eyra <
> [email protected]> wrote:
>
>> Hi,
>>
>> Do you know if this version fixes this problem with the parentheses ?
>>
>> https://unicode.org/cldr/utility/bidi.jsp?a=3D%E2%80%8Fsay+%
>> 28hello%29&p=3DRTL
>>
>> Thanks!
>>
>>
>> On 11/7/2017 10:34 PM, Dov Grobgeld wrote:
>>
>> I merged the Unicode-10 support into master.
>>
>> To test the new version with the Unicode test files do the following:
>>
>> $ cd fribidi-vs-unicode/
>> $ ./test BidiTest.txt
>> No errors found! :-)
>> $ ./test-character BidiCharacterTest.txt
>> No errors found! :-)
>>
>> Note that I think there seems to be a Makefile bug so that
>> bidi-type.tab.i is not regenerated if you have an old version in your tr=
ee.
>> (This bug made the test-character above fail until I figured it out.) So
>> either remove it manually before building fribidi, or send a pull reques=
t
>> that resolves the bug. ;-)
>>
>> Regards,
>> Dov
>>
>>
>>
>> _______________________________________________
>> fribidi mailing [email protected]://lists.freedeskt=
op.org/mailman/listinfo/fribidi
>>
>>
>>
>> _______________________________________________
>> fribidi mailing list
>> [email protected]
>> https://lists.freedesktop.org/mailman/listinfo/fribidi
>>
>>
>
--94eb2c1cda28605fec055d7d1fe9
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:arial,he=
lvetica,sans-serif">I have now updated fribidi_log2vis and pushed to master=
. Consider the difference:</div><div class=3D"gmail_default" style=3D"font-=
family:arial,helvetica,sans-serif"><br></div><div class=3D"gmail_default" s=
tyle=3D"font-family:arial,helvetica,sans-serif"><font size=3D"1"><span styl=
e=3D"font-family:monospace,monospace">$ echo 'say (hello)' | /usr/b=
in/fribidi --rtl<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (say (hello<br>$ echo 'say (hello)=
9; | ./fribidi --rtl<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 say (hello)<br></span></font><br></div=
><div class=3D"gmail_default" style=3D"font-family:arial,helvetica,sans-ser=
if">Regards,</div><div class=3D"gmail_default" style=3D"font-family:arial,h=
elvetica,sans-serif">Dov<br></div></div><div class=3D"gmail_extra"><br><div=
class=3D"gmail_quote">On Wed, Nov 8, 2017 at 12:04 PM, Dov Grobgeld <span =
dir=3D"ltr"><<a href=3D"mailto:[email protected]" target=3D"_blank"=
>[email protected]</a>></span> wrote:<br><blockquote class=3D"gmail=
_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:=
1ex"><div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:ari=
al,helvetica,sans-serif">Yes. This case is covered by the new BD16 and N0 r=
ules, and the parentheses are now "glued" to their embedded conte=
nts.</div><div class=3D"gmail_default" style=3D"font-family:arial,helvetica=
,sans-serif"><br></div><div class=3D"gmail_default" style=3D"font-family:ar=
ial,helvetica,sans-serif">This example also made me realize that I forgot t=
o update the fribidi.c program to use the new API, and it therefore still r=
eturns the old result.</div><div class=3D"gmail_default" style=3D"font-fami=
ly:arial,helvetica,sans-serif"><br></div><div class=3D"gmail_default" style=
=3D"font-family:arial,helvetica,sans-serif">I'll fix this tonight.</div=
><div class=3D"gmail_default" style=3D"font-family:arial,helvetica,sans-ser=
if"><br></div><div class=3D"gmail_default" style=3D"font-family:arial,helve=
tica,sans-serif">Regards,</div><div class=3D"gmail_default" style=3D"font-f=
amily:arial,helvetica,sans-serif">Dov<br></div></div><div class=3D"HOEnZb">=
<div class=3D"h5"><div class=3D"gmail_extra"><br><div class=3D"gmail_quote"=
>On Wed, Nov 8, 2017 at 11:33 AM, Eduardo Casti=C3=B1eyra <span dir=3D"ltr"=
><<a href=3D"mailto:[email protected]" target=3D"_blank">eduardo@=
brainstorm3d.com</a>></span> wrote:<br><blockquote class=3D"gmail_quote"=
style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
=20
=20
=20
<div text=3D"#000000" bgcolor=3D"#FFFFFF">
Hi, <br>
<br>
Do you know if this version fixes this problem with the parentheses
?<br>
<br>
<a class=3D"m_2175839024802632183m_6928967025639917153moz-txt-link-freetext=
" href=3D"https://unicode.org/cldr/utility/bidi.jsp?a=3D%E2%80%8Fsay+%28hel=
lo%29&p=3DRTL" target=3D"_blank">https://unicode.org/cldr/utili<wbr>ty/=
bidi.jsp?a=3D%E2%80%8Fsay+%<wbr>28hello%29&p=3DRTL</a><br>
<br>
Thanks!<div><div class=3D"m_2175839024802632183h5"><br>
<br>
<div class=3D"m_2175839024802632183m_6928967025639917153moz-cite-prefix=
">On 11/7/2017 10:34 PM, Dov Grobgeld
wrote:<br>
</div>
</div></div><blockquote type=3D"cite"><div><div class=3D"m_217583902480=
2632183h5">
<div dir=3D"ltr">
<div class=3D"gmail_default" style=3D"font-family:arial,helvetica,s=
ans-serif">I merged the
Unicode-10 support into master.</div>
<div class=3D"gmail_default" style=3D"font-family:arial,helvetica,s=
ans-serif"><br>
</div>
<div class=3D"gmail_default" style=3D"font-family:arial,helvetica,s=
ans-serif">To test the new
version with the Unicode test files do the following:</div>
<div class=3D"gmail_default" style=3D"font-family:arial,helvetica,s=
ans-serif"><br>
</div>
<div class=3D"gmail_default" style=3D"font-family:arial,helvetica,s=
ans-serif">$ cd
fribidi-vs-unicode/</div>
<div class=3D"gmail_default" style=3D"font-family:arial,helvetica,s=
ans-serif">$ ./test
BidiTest.txt<br>
No errors found! :-)<br>
$ ./test-character BidiCharacterTest.txt <br>
No errors found! :-)</div>
<div class=3D"gmail_default" style=3D"font-family:arial,helvetica,s=
ans-serif"><br>
</div>
<div class=3D"gmail_default" style=3D"font-family:arial,helvetica,s=
ans-serif">Note that I
think there seems to be a Makefile bug so that bidi-type.tab.i
is not regenerated if you have an old version in your tree.
(This bug made the test-character above fail until I figured
it out.) So either remove it manually before building fribidi,
or send a pull request that resolves the bug. ;-)</div>
<div class=3D"gmail_default" style=3D"font-family:arial,helvetica,s=
ans-serif"><br>
</div>
<div class=3D"gmail_default" style=3D"font-family:arial,helvetica,s=
ans-serif">Regards,</div>
<div class=3D"gmail_default" style=3D"font-family:arial,helvetica,s=
ans-serif">Dov</div>
<div class=3D"gmail_default" style=3D"font-family:arial,helvetica,s=
ans-serif"><br>
</div>
</div>
<br>
<fieldset class=3D"m_2175839024802632183m_6928967025639917153mimeAtta=
chmentHeader"></fieldset>
<br>
</div></div><pre>______________________________<wbr>_________________
fribidi mailing list
<a class=3D"m_2175839024802632183m_6928967025639917153moz-txt-link-abbrevia=
ted" href=3D"mailto:[email protected]" target=3D"_blank">fribid=
[email protected]</a>
<a class=3D"m_2175839024802632183m_6928967025639917153moz-txt-link-freetext=
" href=3D"https://lists.freedesktop.org/mailman/listinfo/fribidi" target=3D=
"_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/fribidi</a>
</pre>
</blockquote>
<br>
</div>
<br>______________________________<wbr>_________________<br>
fribidi mailing list<br>
<a href=3D"mailto:[email protected]" target=3D"_blank">fribidi@=
lists.freedesktop.org</a><br>
<a href=3D"https://lists.freedesktop.org/mailman/listinfo/fribidi" rel=3D"n=
oreferrer" target=3D"_blank">https://lists.freedesktop.org/<wbr>mailman/lis=
tinfo/fribidi</a><br>
<br></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
--94eb2c1cda28605fec055d7d1fe9--
--===============2109695684==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZnJpYmlkaSBt
YWlsaW5nIGxpc3QKZnJpYmlkaUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cHM6Ly9saXN0cy5m
cmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9mcmliaWRpCg==
--===============2109695684==--