From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#11860: 24.1; Arabic - Harakat (diacritics, short vowels) don't appear Date: Sun, 19 Aug 2012 21:52:38 +0300 Message-ID: <83obm6d895.fsf@gnu.org> References: <87628fhujq.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1345402380 24872 80.91.229.3 (19 Aug 2012 18:53:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 19 Aug 2012 18:53:00 +0000 (UTC) Cc: 11860@debbugs.gnu.org, smias@yandex.ru To: Kenichi Handa Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Aug 19 20:52:59 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1T3AcM-0002ws-CN for geb-bug-gnu-emacs@m.gmane.org; Sun, 19 Aug 2012 20:52:58 +0200 Original-Received: from localhost ([::1]:41812 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T3AcL-0007i2-6R for geb-bug-gnu-emacs@m.gmane.org; Sun, 19 Aug 2012 14:52:57 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:41335) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T3AcI-0007hl-97 for bug-gnu-emacs@gnu.org; Sun, 19 Aug 2012 14:52:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T3AcH-0004Wp-4S for bug-gnu-emacs@gnu.org; Sun, 19 Aug 2012 14:52:54 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57484) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T3AcH-0004Wl-16 for bug-gnu-emacs@gnu.org; Sun, 19 Aug 2012 14:52:53 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1T3AcP-0005pY-Mi for bug-gnu-emacs@gnu.org; Sun, 19 Aug 2012 14:53:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 19 Aug 2012 18:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11860 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11860-submit@debbugs.gnu.org id=B11860.134540237122394 (code B ref 11860); Sun, 19 Aug 2012 18:53:01 +0000 Original-Received: (at 11860) by debbugs.gnu.org; 19 Aug 2012 18:52:51 +0000 Original-Received: from localhost ([127.0.0.1]:38797 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T3AcE-0005p9-Sl for submit@debbugs.gnu.org; Sun, 19 Aug 2012 14:52:51 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:44733) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T3AcC-0005p1-EY for 11860@debbugs.gnu.org; Sun, 19 Aug 2012 14:52:49 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0M9000K00N1FRH00@a-mtaout20.012.net.il> for 11860@debbugs.gnu.org; Sun, 19 Aug 2012 21:52:38 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M9000K33N3PFQ70@a-mtaout20.012.net.il>; Sun, 19 Aug 2012 21:52:38 +0300 (IDT) In-reply-to: <87628fhujq.fsf@gnu.org> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:63300 Archived-At: > From: Kenichi Handa > Cc: eliz@gnu.org, 11860@debbugs.gnu.org, smias@yandex.ru > Date: Sun, 19 Aug 2012 22:37:29 +0900 > > > > The comment refer to "clusters". I don't know what it > > > exactly means in uniscribe, but I guess it relates to > > > grapheme cluster, and if so, this part seems to relates to > > > the ordering of glyphs in this kind of grapheme clauster: > > > > > > [0 1 1593 969 8 1 8 12 4 nil] > > > [0 1 1593 760 0 3 6 12 4 [1 -2 0]] > > > That seems to be correct. > > Why? As the xadvance of the first glyph is 8, and > the xoffset of the second glyph is 1, the second glyph is > never drawn at the same column as the first glyph. I agree with your analysis, but then it is unclear to me why the other components of the vector are different between GNU/Linux and Windows 7. Can you explain them? For instance, this (Windows): [0 1 1593 969 8 1 8 12 4 nil] vs this (GNU/Linux): [0 1 1593 969 8 2 8 4 4 nil] raises the following questions: . why are the values of LBEARING different (1 vs 2)? . why are the values of ASCENT different (12 vs 4)? The Windows code takes ASCENT and DESCENT values from the font -- is that correct? The fonts are identical, so I'd expect identical values here, at least for the base character. It is hard to debug more complex portions of the code when such basic values already differ.