all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kenichi Handa <handa@m17n.org>
To: emacs-devel@gnu.org
Cc: yair.f.lists@gmail.com
Subject: Re: Composing Hebrew diacriticals
Date: Tue, 15 Jun 2010 20:02:09 +0900	[thread overview]
Message-ID: <tl7eig8pnim.fsf@m17n.org> (raw)
In-Reply-To: <tl7fx0v9nra.fsf@m17n.org> (message from Kenichi Handa on Thu, 10 Jun 2010 19:37:45 +0900)

In article <AANLkTinkfapIXNSnij20psfpKU1ZKS-6wJsVIDbVaQ7i@mail.gmail.com>, Yair F <yair.f.lists@gmail.com> writes:

> On Fri, May 28, 2010 at 3:42 AM, Kenichi Handa <handa@m17n.org> 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. :-)



       reply	other threads:[~2010-06-15 11:02 UTC|newest]

Thread overview: 85+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <tl7fx0v9nra.fsf@m17n.org>
2010-06-15 11:02 ` Kenichi Handa [this message]
2010-06-24  6:33   ` Composing Hebrew diacriticals Kenichi Handa
2010-06-25 10:16     ` Eli Zaretskii
2010-06-28 16:40     ` Yair F
2010-06-29  8:07       ` Kenichi Handa
2010-06-29 18:57         ` Yair F
2010-06-30  5:27           ` Kenichi Handa
     [not found]             ` <AANLkTim3sQzyJ4YQkOzfRHCFhztgLG-CA2vlM84lbwoq@mail.gmail.com>
2010-06-30 21:48               ` Fwd: " Yair F
2010-07-01  5:59                 ` Miles Bader
2010-07-01  5:52               ` Kenichi Handa
2010-07-01 20:30                 ` Yair F
2010-07-02  7:51                   ` Kenichi Handa
2010-07-12  8:17                     ` Kenichi Handa
2010-07-12 21:10                       ` Yair F
2010-07-13  4:11                         ` Kenichi Handa
2010-07-13  4:47                           ` Yair F
2010-07-13 12:01                         ` Eli Zaretskii
2010-04-30 12:29 Eli Zaretskii
2010-05-05  2:39 ` Kenichi Handa
2010-05-05 15:49   ` David Kastrup
2010-05-05 20:51     ` Eli Zaretskii
2010-05-06  7:20       ` David Kastrup
2010-05-06  0:45     ` Kenichi Handa
2010-05-06 12:14       ` David Kastrup
2010-05-06 13:01         ` Kenichi Handa
2010-05-05 18:01   ` Eli Zaretskii
2010-05-07 11:15     ` Kenichi Handa
2010-05-08 12:51       ` Eli Zaretskii
2010-05-06 14:59   ` Yair F.
2010-05-06 17:41     ` Eli Zaretskii
2010-05-07  0:48     ` Kenichi Handa
2010-05-07  4:41       ` Yair F
2010-05-07  6:23         ` Kenichi Handa
2010-05-07 10:00           ` Yair F
2010-05-07 11:11             ` Kenichi Handa
2010-05-07  9:28         ` Eli Zaretskii
2010-05-10 14:09           ` Yair F
2010-05-11  0:25             ` Kenichi Handa
2010-05-11 12:20               ` Kenichi Handa
2010-05-11 16:22                 ` Eli Zaretskii
2010-05-12  8:04                   ` Kenichi Handa
2010-05-12 17:35                     ` Eli Zaretskii
2010-05-12 19:05                       ` Juanma Barranquero
2010-05-13  3:06                         ` Eli Zaretskii
2010-05-13  0:42                       ` Kenichi Handa
2010-05-14  8:10                         ` Kenichi Handa
2010-05-14 10:02                           ` Eli Zaretskii
2010-05-14 11:58                             ` Kenichi Handa
2010-05-14 13:29                               ` Eli Zaretskii
2010-05-14 14:06                                 ` Eli Zaretskii
     [not found]                           ` <AANLkTilcNB_ntRY_EVS9EyMrqS3GRAp3rHGiXL_3YZuR@mail.gmail.com>
2010-05-15  2:14                             ` Kenichi Handa
2010-05-15 21:35                               ` Yair F
2010-05-17  4:35                                 ` Kenichi Handa
2010-05-17 17:32                                   ` Eli Zaretskii
2010-05-18  0:36                                     ` Kenichi Handa
2010-05-17 21:08                                   ` Yair F
2010-05-20  2:09                                     ` Kenichi Handa
2010-05-25  1:45                                       ` Kenichi Handa
2010-05-25 20:56                                         ` Yair F
2010-05-26  0:36                                           ` Kenichi Handa
2010-05-26  4:37                                             ` Yair F
2010-05-26  6:00                                               ` Kenichi Handa
2010-05-26 16:12                                                 ` Yair F
2010-05-27  7:27                                                   ` Kenichi Handa
2010-05-27 21:59                                                     ` Yair F
2010-05-28  0:42                                                       ` Kenichi Handa
2010-06-01  8:58                                                         ` Yair F
2010-05-18  7:29                                   ` Eli Zaretskii
2010-05-17 13:53                                 ` Stefan Monnier
2010-05-19 17:23                     ` Eli Zaretskii
2010-05-11 21:40                 ` Yair F
2010-05-12  3:15                   ` Eli Zaretskii
2010-05-12 15:11                     ` Yair F
2010-05-12 17:43                       ` Eli Zaretskii
2010-05-12 22:01                         ` Yair F
2010-05-13 17:14                           ` Eli Zaretskii
2010-05-13 19:46                             ` Yair F
2010-05-13 19:56                               ` Eli Zaretskii
2010-05-13 20:08                                 ` Yair F
2010-05-14  2:35                                   ` Miles Bader
2010-05-14 10:45                                     ` Yair F
2010-05-14 13:05                                       ` Eli Zaretskii
2010-05-14 13:15                                       ` Kenichi Handa
2010-05-15  0:46                                       ` Miles Bader
2010-05-13  0:29                       ` Kenichi Handa

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=tl7eig8pnim.fsf@m17n.org \
    --to=handa@m17n.org \
    --cc=emacs-devel@gnu.org \
    --cc=yair.f.lists@gmail.com \
    /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.