unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Khaled Hosny <dr.khaled.hosny@gmail.com>
Cc: contovob@tcd.ie, behdad@behdad.org, 35721@debbugs.gnu.org
Subject: bug#35721: 27.0.50; Strange Arabic shaping behavior
Date: Thu, 16 May 2019 17:08:47 +0300	[thread overview]
Message-ID: <83imuacx00.fsf@gnu.org> (raw)
In-Reply-To: <20190516134508.GH1802@macbook.localdomain> (message from Khaled Hosny on Thu, 16 May 2019 15:45:08 +0200)

> Date: Thu, 16 May 2019 15:45:08 +0200
> From: Khaled Hosny <dr.khaled.hosny@gmail.com>
> Cc: Behdad Esfahbod <behdad@behdad.org>, contovob@tcd.ie, handa@gnu.org,
> 	35721@debbugs.gnu.org
> 
> > I believe this is about the other part: displaying text which is
> > partially selected, when selection is shown as a different background
> > color.  You are saying that to do its job, a shaping engine needs to
> > see the entire text, not just the part which has the same colors.
> > Right?
> 
> There are two kinds of formatting changes, that involve a different font
> and that don’t.
> 
> For changes that involve a different font (using a new typeface, making
> text bold or italic etc.) each part of the text on the sides of the
> change has to be shaped separately, but if enough context is given then
> HarfBuzz can at least do basic Arabic shaping (selecting the right form
> for the context).
> 
> Changes that does not involve a different font like color, underline,
> background etc. should not break the shaping at all and the text should
> be shaped together. The formatting information should be kept along the
> text and be applied after shaping i.e. if characters N to N+5 are red,
> then after shaping glyphs belonging to characters N to N+5 should be
> drawn red.

Right, thanks.

The main point of this bug report is about the other part, though: how
sheen should be displayed when using DejaVu Sans Mono.





  reply	other threads:[~2019-05-16 14:08 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-13 22:09 bug#35721: 27.0.50; Strange Arabic shaping behavior Basil L. Contovounesios
2019-05-14 15:10 ` Eli Zaretskii
2019-05-14 18:23   ` Eli Zaretskii
2019-05-15 23:02     ` Behdad Esfahbod
2019-05-16 13:28       ` Eli Zaretskii
2019-05-16 13:45         ` Khaled Hosny
2019-05-16 14:08           ` Eli Zaretskii [this message]
2019-05-16 14:20             ` Khaled Hosny
2019-05-16 14:36               ` Eli Zaretskii
2019-05-16 20:54                 ` Basil L. Contovounesios
2019-05-17  6:31                   ` Eli Zaretskii
2019-05-20 19:07                     ` Basil L. Contovounesios
2019-05-16 20:47   ` Basil L. Contovounesios

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=83imuacx00.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=35721@debbugs.gnu.org \
    --cc=behdad@behdad.org \
    --cc=contovob@tcd.ie \
    --cc=dr.khaled.hosny@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 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).