From: Keith David Bershatsky <esq@lawlist.com>
To: Emacs Devel <emacs-devel@gnu.org>
Subject: IT testing for multiple characters (ִרֹ) that occupy 1 display string.
Date: Sun, 30 Sep 2018 17:14:04 -0700 [thread overview]
Message-ID: <m2in2mplpv.wl%esq@lawlist.com> (raw)
I am working on feature requests #17684 (crosshairs) and #22873 (multiple fake cursors).
When using move_it_in_display_line_to, ִרֹ is treated as one display string; however, it is 3 different characters occupying 3 HPOS. it->c only reports 1460.
I initially guessed that this was a composition situation, however, it.what returns a 0, which is the same as any other regular character.
Q: How do we test for this situation, so that we know all of the different characters and each of their individual pixel widths?
Thanks,
Keith
next reply other threads:[~2018-10-01 0:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-01 0:14 Keith David Bershatsky [this message]
2018-10-01 6:35 ` IT testing for multiple characters (ִרֹ) that occupy 1 display string Eli Zaretskii
-- strict thread matches above, loose matches on Subject: below --
2018-10-01 20:45 Keith David Bershatsky
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=m2in2mplpv.wl%esq@lawlist.com \
--to=esq@lawlist.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 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.