From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: Composing Hebrew diacriticals Date: Tue, 15 Jun 2010 20:02:09 +0900 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1276599746 14701 80.91.229.12 (15 Jun 2010 11:02:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 15 Jun 2010 11:02:26 +0000 (UTC) Cc: yair.f.lists@gmail.com To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 15 13:02:25 2010 connect(): No such file or directory Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OOTuR-0000FX-T6 for ged-emacs-devel@m.gmane.org; Tue, 15 Jun 2010 13:02:24 +0200 Original-Received: from localhost ([127.0.0.1]:59950 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OOTuR-0007Wo-3k for ged-emacs-devel@m.gmane.org; Tue, 15 Jun 2010 07:02:23 -0400 Original-Received: from [140.186.70.92] (port=54892 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OOTuM-0007Wb-3f for emacs-devel@gnu.org; Tue, 15 Jun 2010 07:02:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OOTuK-0004e1-8r for emacs-devel@gnu.org; Tue, 15 Jun 2010 07:02:17 -0400 Original-Received: from mx1.aist.go.jp ([150.29.246.133]:54800) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OOTuJ-0004dN-QR for emacs-devel@gnu.org; Tue, 15 Jun 2010 07:02:16 -0400 Original-Received: from rqsmtp1.aist.go.jp (rqsmtp1.aist.go.jp [150.29.254.115]) by mx1.aist.go.jp with ESMTP id o5FB29Zm002748; Tue, 15 Jun 2010 20:02:09 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp1.aist.go.jp by rqsmtp1.aist.go.jp with ESMTP id o5FB29vI029389; Tue, 15 Jun 2010 20:02:09 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp1.aist.go.jp with ESMTP id o5FB29a3023718; Tue, 15 Jun 2010 20:02:09 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken with local (Exim 4.69) (envelope-from ) id 1OOTuD-0001sw-5w; Tue, 15 Jun 2010 20:02:09 +0900 In-Reply-To: (message from Kenichi Handa on Thu, 10 Jun 2010 19:37:45 +0900) X-detected-operating-system: by eggs.gnu.org: Solaris 9 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:125951 Archived-At: In article , Yair F writes: > On Fri, May 28, 2010 at 3:42 AM, Kenichi Handa wrote: > > Then please find why maybe_otf and otf are set to zero by > > stepping through the code of ftfont_get_otf which is called > > from ftfont_shape. > ftfont_get_otf sets otf only if maybe_otf != 0. > maybe_otf is initialized from ft_face->face_flags in xftfont_open. > For David CLM maybe_otf = 0 because ft_face->face_flags = 2577. > For Dejavu Sans maybe_otf = 8 because ft_face->face_flags = 2649. That's very strange. Perhaps your David CLM font is different from mine. In freetype.h, FT_FACE_FLAG_SFNT is explained as this: /* FT_FACE_FLAG_SFNT :: */ /* Indicates that the face uses the `sfnt' storage scheme. For */ /* now, this means TrueType and OpenType. */ So, if the font doesn't have this flag set, it means that the font is surely not OTF. This is some info about my David CLM font. % ls -l DavidCLM-Medium.ttf -rw-r--r-- 1 handa handa 24156 2010-06-15 09:48 DavidCLM-Medium.ttf % fc-list 'david clm' capability :capability=otlayout\:hebr % od -t x1 DavidCLM-Medium.ttf |head 0000000 00 01 00 00 00 10 01 00 00 04 00 00 46 46 54 4d 0000020 4f 58 4a 2a 00 00 5e 40 00 00 00 1c 47 44 45 46 0000040 08 87 07 9c 00 00 50 24 00 00 00 6e 47 50 4f 53 0000060 c3 06 cd 7e 00 00 55 34 00 00 09 0a 47 53 55 42 0000100 48 82 52 49 00 00 50 94 00 00 04 9e 4f 53 2f 32 0000120 89 5b 2c ee 00 00 01 88 00 00 00 56 63 6d 61 70 0000140 ae 86 db a7 00 00 05 3c 00 00 02 0a 63 76 74 20 0000160 00 28 02 f8 00 00 07 48 00 00 00 04 67 61 73 70 0000200 ff ff 00 03 00 00 50 1c 00 00 00 08 67 6c 79 66 0000220 62 9d 8f 85 00 00 08 fc 00 00 3c 34 68 65 61 64 --- Kenichi Handa handa@m17n.org PS. I got WiFi (WiMAX) now, and the Internet access has been much improved. :-)