From: Eli Zaretskii <eliz@gnu.org>
To: Behdad Esfahbod <behdad@behdad.org>
Cc: contovob@tcd.ie, dr.khaled.hosny@gmail.com, 35721@debbugs.gnu.org
Subject: bug#35721: 27.0.50; Strange Arabic shaping behavior
Date: Thu, 16 May 2019 16:28:10 +0300 [thread overview]
Message-ID: <83v9yacyvp.fsf@gnu.org> (raw)
In-Reply-To: <CAF63+7W1OwfibLCTB93bntLM=n+_8LgLrTDU8=NBu+xhnSa0zw@mail.gmail.com> (message from Behdad Esfahbod on Wed, 15 May 2019 16:02:19 -0700)
[-- Attachment #1: Type: text/plain, Size: 492 bytes --]
> From: Behdad Esfahbod <behdad@behdad.org>
> Date: Wed, 15 May 2019 16:02:19 -0700
> Cc: contovob@tcd.ie, Kenichi Handa <handa@gnu.org>,
> Khaled Hosny <dr.khaled.hosny@gmail.com>, 35721@debbugs.gnu.org
>
> Pretty much things you said: if font is not mono-spaced, there's nothing we can do.
Thanks. Let me be sure I understand what you are saying. If I invoke
hb-view like this:
hb-view -u 0x0634 -O png -o sheen.png DejaVuSansMono.ttf
then the result is the following PNG image:
[-- Attachment #2: sheen.png --]
[-- Type: image/png, Size: 2879 bytes --]
[-- Attachment #3: Type: text/plain, Size: 631 bytes --]
Do I understand you correctly that this is the expected result with
that font? Because what Emacs displays, even without HarfBuzz as its
shaping engine, looks exactly like that: the leftmost part of the
letter is off-screen.
> Also, if you don't pass neighboring context text to HarfBuzz, again,
> nothing we can do.
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?
Thanks again for your comments.
next prev parent reply other threads:[~2019-05-16 13:28 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 [this message]
2019-05-16 13:45 ` Khaled Hosny
2019-05-16 14:08 ` Eli Zaretskii
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83v9yacyvp.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 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.