unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Amit Ramon <amit.ramon@gmail.com>
To: emacs-devel@gnu.org
Subject: Placement of HEBREW MAQAF (diacritical)
Date: Thu, 22 Jul 2010 22:19:33 +0300	[thread overview]
Message-ID: <20100722191932.GF17213@isis.luna> (raw)

[-- Attachment #1: Type: text/plain, Size: 1175 bytes --]

Hello,

The version of Emacs that I pulled and built two days ago doesn't
place the HEBREW PUNCTUATION MAQAF (05BE) in the right place. The
maqaf is like a dash and it should be placed between letters, but it
seems that now Emacs places it above the letter that precedes it. It
was working fine with the version that I built ~2 weeks ago. I'm
running Emacs on Debian Linux and X. I checked this with both Lucida
Sans and DejaVu Sans fonts. What also seems strange to me is that it
is not counted in the columns - what I mean is that the cursor column
position is not taking the maqaf into account - like it is not there.

I'm attaching two images of the same text - one inside Emacs and the
other in mlterm (that's a RTL-aware terminal emulator), both using the
same fonts. mlterm displays the maqaf correctly, but not Emacs. Also
attached is the text file that contains the text (mot.txt).

I'm also attaching the output of what-cursor-position, which again
looks strange to me since it talks about 'composing', which as far as
I understand should not occur in this case.

This problem occurs whether or not the bidi reordering is
active. Revision is 100853.

Thanks,

Amit

[-- Attachment #2: mot-emacs-24.png --]
[-- Type: image/png, Size: 854 bytes --]

[-- Attachment #3: mot-mlterm.png --]
[-- Type: image/png, Size: 876 bytes --]

[-- Attachment #4: mot.txt --]
[-- Type: text/plain, Size: 16 bytes --]

מוט־קטן

[-- Attachment #5: tet-maqaf --]
[-- Type: text/plain, Size: 810 bytes --]

        character: ט (1496, #o2730, #x5d8)
preferred charset: unicode (Unicode (ISO10646))
       code point: 0x05D8
           syntax: w 	which means: word
         category: .:Base
         to input: type "y" with hebrew-lyx
      buffer code: #xD7 #x98
        file code: #xD7 #x98 (encoded by coding system utf-8-unix)
          display: composed to form "ט־" (see below)

Composed with the following character(s) "־" using this font:
  xft:-unknown-DejaVu Sans-normal-normal-normal-*-13-*-*-*-*-0-iso10646-1
by these glyphs:
  [0 1 1496 1324 8 1 7 7 0 nil]
  [0 1 1470 1308 5 0 5 8 -6 [-7 0 0]]

Character code properties: customize what to show
  name: HEBREW LETTER TET
  general-category: Lo (Letter, Other)

There are text properties here:
  fontified            t

[back]

             reply	other threads:[~2010-07-22 19:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-22 19:19 Amit Ramon [this message]
2010-07-28 15:39 ` Placement of HEBREW MAQAF (diacritical) Yair F.
2010-07-28 17:51   ` Eli Zaretskii
2010-07-29 21:47     ` Yair F

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100722191932.GF17213@isis.luna \
    --to=amit.ramon@gmail.com \
    --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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).