Re: [emacs-bidi] Re: Arabic support

Amit Aronovitch <[email protected]> Fri, 3 Sep 2010 10:54:34 +0300
Newsgroups gmane.emacs.devel,gmane.emacs.bidi
Message-ID <[email protected]>
--000e0cd6a896d6e847048f563dc0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Fri, Sep 3, 2010 at 10:35 AM, Kenichi Handa <[email protected]> wrote:

> In article <[email protected]<=
AANLkTinO%[email protected]>>,
> Amit Aronovitch <[email protected]> writes:
>
> > Checking the  *Hebrew* diacritics (nikkud), I noticed a problem:
> > In some cases the diacritics are displayed in the wrong position (their
> > "real" cursor position is correct, which makes the UI *very* confusing)=
.
> > e.g. if you type "=3DE2=3D80=3DAB
> =3DD7=3DA2=3DD6=3DB8=3DD7=3D9C=3DD6=3DB5=3DD7=3D99=3DD7=3DA0=3DD7=3D95=3D=
D6=3D
> > =3DBC=3DE2=3D80=3DAC" , the Qamatz (first vowel) appears under the
> > space instead of under the Ain (first letter). If you remove the space,
> the
> > Qamatz does not appear at all. The Zeire (second vowel) appears under t=
he
> > Ain (first vowel) instead of the Lamed (second letter). However, the
> Shuruk
> > sticks to the Vav (last letter) as it should (though the positioning is
> too
> > close and to high IMHO).
> > I do not know if this issue is specific to my build.
>
> I think it is specific to your Hebrew font.  Please tell me
> which font is selected by typing C-u C-x =3D on some Hebrew
> character.


 Thanks for your reply.

Here is the output:

        character: =D7=9C (1500, #o2734, #x5dc)
preferred charset: iso-8859-8 (ISO/IEC 8859/8)
       code point: 0xEC
           syntax: w  which means: word
         category: .:Base
      buffer code: #xD7 #x9C
        file code: #xD7 #x9C (encoded by coding system utf-8-unix)
          display: composed to form "=D7=9C=D6=B5" (see below)

Composed with the following character(s) "=D6=B5" using this font:
  xft:-unknown-DejaVu Sans-normal-normal-normal-*-13-*-*-*-*-0-iso10646-1
by these glyphs:
  [0 1 1500 1328 8 1 7 11 0 nil]
  [0 1 1461 1299 0 3 6 -1 2 nil]

Character code properties: customize what to show
  name: HEBREW LETTER LAMED
  general-category: Lo (Letter, Other)
----------------------------
I do not think I have any font-related customization in my .emacs (this is
the default choice on my system).

Any tips on which fonts I should use (and how to set them up)?

    Amit

--000e0cd6a896d6e847048f563dc0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>On Fri, Sep 3, 2010 at 10:35 AM, Kenichi Handa <span =
dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]">[email protected]</a>&gt;</s=
pan> wrote:</div><div class=3D"gmail_quote"><blockquote class=3D"gmail_quot=
e" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"=
>
<div class=3D"im">In article &lt;<a href=3D"mailto:AANLkTinO%2B-rABef7x7Et1=
[email protected]">AANLkTinO+-rABef7x7Et1y14LbePwJ4Lbd=
[email protected]</a>&gt;, Amit Aronovitch &lt;<a href=3D"mailto:ar=
[email protected]">[email protected]</a>&gt; writes:<br>

<br>
&gt; Checking the =C2=A0*Hebrew* diacritics (nikkud), I noticed a problem:<=
br>
&gt; In some cases the diacritics are displayed in the wrong position (thei=
r<br>
&gt; &quot;real&quot; cursor position is correct, which makes the UI *very*=
 confusing).<br>
</div>&gt; e.g. if you type &quot;=3DE2=3D80=3DAB =3DD7=3DA2=3DD6=3DB8=3DD7=
=3D9C=3DD6=3DB5=3DD7=3D99=3DD7=3DA0=3DD7=3D95=3DD6=3D<br>
&gt; =3DBC=3DE2=3D80=3DAC&quot; , the Qamatz (first vowel) appears under th=
e<br>
<div class=3D"im">&gt; space instead of under the Ain (first letter). If yo=
u remove the space, the<br>
&gt; Qamatz does not appear at all. The Zeire (second vowel) appears under =
the<br>
&gt; Ain (first vowel) instead of the Lamed (second letter). However, the S=
huruk<br>
&gt; sticks to the Vav (last letter) as it should (though the positioning i=
s too<br>
&gt; close and to high IMHO).<br>
&gt; I do not know if this issue is specific to my build.<br>
<br>
</div>I think it is specific to your Hebrew font. =C2=A0Please tell me<br>
which font is selected by typing C-u C-x =3D on some Hebrew<br>
character.</blockquote><div><br></div><div>=C2=A0Thanks for your reply.</di=
v><div><br></div></div><div>Here is the output:</div><div><br></div><div>=
=C2=A0=C2=A0 =C2=A0 =C2=A0 =C2=A0character: =D7=9C (1500, #o2734, #x5dc)</d=
iv><div>preferred charset: iso-8859-8 (ISO/IEC 8859/8)</div>
<div>=C2=A0=C2=A0 =C2=A0 =C2=A0 code point: 0xEC</div><div>=C2=A0=C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 syntax: w=C2=A0<span class=3D"Apple-tab-span" styl=
e=3D"white-space: pre; ">	</span>which means: word</div><div>=C2=A0=C2=A0 =
=C2=A0 =C2=A0 =C2=A0 category: .:Base</div><div>=C2=A0=C2=A0 =C2=A0 =C2=A0b=
uffer code: #xD7 #x9C</div>
<div>=C2=A0=C2=A0 =C2=A0 =C2=A0 =C2=A0file code: #xD7 #x9C (encoded by codi=
ng system utf-8-unix)</div><div>=C2=A0=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0dis=
play: composed to form &quot;=D7=9C=D6=B5&quot; (see below)</div><div><br><=
/div><div>Composed with the following character(s) &quot;=D6=B5&quot; using=
 this font:</div>
<div>=C2=A0=C2=A0xft:-unknown-DejaVu Sans-normal-normal-normal-*-13-*-*-*-*=
-0-iso10646-1</div><div>by these glyphs:</div><div>=C2=A0=C2=A0[0 1 1500 13=
28 8 1 7 11 0 nil]</div><div>=C2=A0=C2=A0[0 1 1461 1299 0 3 6 -1 2 nil]</di=
v><div><br></div><div>Character code properties: customize what to show</di=
v>
<div>=C2=A0=C2=A0name: HEBREW LETTER LAMED</div><div>=C2=A0=C2=A0general-ca=
tegory: Lo (Letter, Other)</div><div>----------------------------</div><div=
>I do not think I have=C2=A0any font-related customization in my .emacs (th=
is is the default choice on my system).</div>
<div><br></div><div>Any tips on which fonts I should use (and how to set th=
em up)?</div><div><br></div><div>=C2=A0=C2=A0 =C2=A0Amit</div><div><br></di=
v></div>

--000e0cd6a896d6e847048f563dc0--