unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Richard Wordingham <richard.wordingham@ntlworld.com>
Cc: 20173@debbugs.gnu.org
Subject: bug#20173: 24.4; Rendering misallocates combining marks on ligatures
Date: Tue, 24 Mar 2015 05:42:18 +0200	[thread overview]
Message-ID: <837fu7qcx1.fsf@gnu.org> (raw)
In-Reply-To: <20150323224107.4532b1cc@JRWUBU2>

> Date: Mon, 23 Mar 2015 22:41:07 +0000
> From: Richard Wordingham <richard.wordingham@ntlworld.com>
> Cc: 20173@debbugs.gnu.org
> 
> On Mon, 23 Mar 2015 17:38:52 +0200
> Eli Zaretskii <eliz@gnu.org> wrote:
> 
> > > Date: Mon, 23 Mar 2015 01:06:26 +0000
> > > From: Richard Wordingham <richard.wordingham@ntlworld.com>
> 
> > Is it possible that some rule(s) are missing from the end of
> > lisp/language/misc-lang.el?  Could you please take a look and see if
> > something needs to be fixed/added in how we set up the compositions
> > for Arabic?
> 
> There's no relevant problem there.  I demonstrated the bug to myself by
> first rendering Tai Tham <NA, TONE-2, SIGN AA> and confirming that
> TONE-2 rendered above the first component of the ligature NAA, fromed
> from <NA, SIGN AA>.  I then hacked my font so that the glyph for TONE-2
> was decomposed into the glyphs for MAI KANG and TONE-2, in that order,
> and observing TONE-2 being rendered on the second component of the
> ligature.  I then turned to Arabic so that a custom font would not be
> needed to demonstrate the bug.

Sorry, I'm not sure I understand you.  If the setting of composition
rules for Arabic is not the culprit, then what is?  AFAIK, there are
no rules that guide Emacs's shaping except what's in
composition-function-table.  Beyond that, the only other factor is the
font backend and how it shapes glyphs given the chunks of text Emacs
presents to it.

> As to what needs fixing in the Arabic section of misc-lang.el:

Thanks, I will look into these.





  reply	other threads:[~2015-03-24  3:42 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-23  1:06 bug#20173: 24.4; Rendering misallocates combining marks on ligatures Richard Wordingham
2015-03-23 15:38 ` Eli Zaretskii
2015-03-23 22:41   ` Richard Wordingham
2015-03-24  3:42     ` Eli Zaretskii [this message]
2015-03-24  8:28       ` Richard Wordingham
2015-03-24 17:03         ` Eli Zaretskii
2015-03-24 20:22           ` Richard Wordingham
2015-03-27  9:04           ` Richard Wordingham
2015-03-27  9:54             ` Eli Zaretskii
2020-08-17 22:45               ` Stefan Kangas

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=837fu7qcx1.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=20173@debbugs.gnu.org \
    --cc=richard.wordingham@ntlworld.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 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).