From: Thamer Mahmoud <thamer.mahmoud@gmail.com>
To: emacs-devel@gnu.org
Cc: emacs-bidi@gnu.org
Subject: Re: Arabic support
Date: Mon, 06 Sep 2010 16:45:00 +0300 [thread overview]
Message-ID: <871v97htpf.fsf@zemblan.newkuwait.org> (raw)
In-Reply-To: 83bp8oml9c.fsf@gnu.org
[-- Attachment #1: Type: text/plain, Size: 1812 bytes --]
>> From: Kenichi Handa <handa@m17n.org>
>> Date: Thu, 26 Aug 2010 10:10:05 +0900
>>
>> I've just committed changes to trunk for Arabic shaping. If
>> there're any Arabic users in this list, please check the
>> displaying of Arabic text. On GNU/Linux system, you must
>> compile Emacs with libotf and m17n-lib (configure script
>> should detect them automatically).
>
Thanks for working on this. Here is my take:
* Attached are two screenshots showing the Arabic line from the HELLO
file rendered by gedit and Emacs using the same font (Nazli-20 from
ttf-farsiweb). Notice that in Emacs not all fonts have their LAM and
ALIF properly replaced by the LAM-ALIF ligature. Also the diacritics
(SHADDA) appears lower and less legible for the same font.
* The third attachment shows that when highlighting a region of an
Arabic word, the cursor at the edges of the visible selection "breaks"
the shaping and reshapes the characters around it into their isolated
form. This creates a wave-effect of moving characters with some
visible artifacts and bad indention issues.
* While the cursor is at a composed character (e.g., SEEN+SHADDA),
pressing C-p moves point unexpectedly to the beginning of the current
line.
* I do at least see one "trap" with C-p, although it is hard to
reproduce. You can try moving 4 or 5 lines below the Arabic line in
the HELLO file, then move upward using 4-5 C-p and get the cursor at
the SEEN+SHADDA. After which any further C-p jumps between SEEN and
LAM-ALIF, never going to the previous line.
* For those using Debian (Squeeze), I had to install not just the
libm17n and libm17n-dev packages, but also m17n-db. It seems that the
configure script doesn't detect or know about the status of (the
Debian-specific) m17n-db.
Thanks again,
Thamer
[-- Attachment #2: Emacs rendering --]
[-- Type: image/png, Size: 3296 bytes --]
[-- Attachment #3: Gedit rendering --]
[-- Type: image/png, Size: 4864 bytes --]
[-- Attachment #4: Select Region --]
[-- Type: image/png, Size: 2628 bytes --]
next prev parent reply other threads:[~2010-09-06 13:45 UTC|newest]
Thread overview: 50+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-26 1:10 Arabic support Kenichi Handa
2010-08-27 9:56 ` Eli Zaretskii
2010-08-28 10:15 ` Amit Aronovitch
2010-08-29 5:07 ` James Cloos
2010-08-29 5:13 ` James Cloos
2010-08-30 2:07 ` Kenichi Handa
2010-08-30 13:42 ` Amit Aronovitch
2010-08-30 14:11 ` [emacs-bidi] " Amit Aronovitch
2010-09-03 7:35 ` Kenichi Handa
2010-09-03 7:54 ` [emacs-bidi] " Amit Aronovitch
2010-09-01 2:55 ` Kenichi Handa
2010-09-01 4:58 ` Eli Zaretskii
2010-09-01 5:06 ` Kenichi Handa
2010-09-01 7:12 ` [emacs-bidi] " Stefan Monnier
2010-09-03 7:17 ` Kenichi Handa
2010-08-30 7:47 ` Kenichi Handa
2010-08-30 14:06 ` Eli Zaretskii
2010-09-01 2:17 ` Kenichi Handa
2010-09-01 3:47 ` "Martin J. Dürst"
2010-09-02 7:45 ` 大嶋 俊祐
2010-09-02 9:31 ` Eli Zaretskii
2010-09-02 12:58 ` "Martin J. Dürst"
2010-09-02 14:13 ` [emacs-bidi] " Eli Zaretskii
2010-09-01 6:11 ` Eli Zaretskii
2010-09-01 7:08 ` Kenichi Handa
2010-09-01 17:55 ` Eli Zaretskii
2010-09-02 2:13 ` Jason Rumney
2010-09-02 11:53 ` Eli Zaretskii
2010-09-02 12:00 ` Eli Zaretskii
2010-09-02 13:09 ` [emacs-bidi] " Jason Rumney
2010-09-02 14:29 ` Eli Zaretskii
2010-09-02 14:37 ` [emacs-bidi] " Jason Rumney
2010-09-02 13:01 ` Kenichi Handa
2010-09-02 14:04 ` Eli Zaretskii
2010-09-03 1:00 ` Kenichi Handa
2010-09-03 9:16 ` Eli Zaretskii
2010-09-03 10:18 ` David Kastrup
2010-09-03 11:08 ` Kenichi Handa
2010-09-03 14:54 ` Eli Zaretskii
2010-09-03 13:25 ` Eli Zaretskii
2010-09-03 14:32 ` Amit Aronovitch
2010-09-03 14:43 ` Eli Zaretskii
2010-09-04 7:13 ` Eli Zaretskii
2010-09-06 6:04 ` Kenichi Handa
2010-09-04 15:29 ` Eli Zaretskii
2010-09-02 13:48 ` Jason Rumney
2010-09-02 14:49 ` Eli Zaretskii
2010-09-06 13:45 ` Thamer Mahmoud [this message]
2010-09-07 4:22 ` TAKAHASHI Naoto
-- strict thread matches above, loose matches on Subject: below --
2010-09-07 15:08 mhibti
2010-09-13 6:40 ` Eli Zaretskii
2010-09-16 2:07 ` Kenichi Handa
2010-09-22 3:54 ` Kenichi Handa
2010-09-22 12:27 ` Thamer Mahmoud
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=871v97htpf.fsf@zemblan.newkuwait.org \
--to=thamer.mahmoud@gmail.com \
--cc=emacs-bidi@gnu.org \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.