From: Vincent Lefevre <vincent@vinc17.net>
To: Eli Zaretskii <eliz@gnu.org>
Cc: rpluim@gmail.com, 41278@debbugs.gnu.org
Subject: bug#41278: 27.0.91; incorrect U+203E OVERLINE alignment with Fantasque Sans Mono
Date: Fri, 15 May 2020 14:24:23 +0200 [thread overview]
Message-ID: <20200515122423.GD631870@zira.vinc17.org> (raw)
In-Reply-To: <20200515115739.GC631870@zira.vinc17.org>
On 2020-05-15 13:57:39 +0200, Vincent Lefevre wrote:
> On 2020-05-15 14:25:03 +0300, Eli Zaretskii wrote:
> > If not, you will always see alignment in xterm, but not always in
> > Emacs.
>
> I think that if the main font is a monospaced font, Emacs should
> honor this choice in font replacements, keeping the cell dimensions
> of the main font.
>
> Now, this would solve the alignment problem, but if Emacs just does
> that using the current font replacement, there will still be a space
> between the U+203E OVERLINE characters. This issue does not occur
> with xterm.
BTW, Noto Mono is also affected by font replacements that don't match
the cell width of the main font, both for U+203E OVERLINE and for
box drawing characters.
Some tests can be done with Markus Kuhn's demo file at
https://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-demo.txt
In particular:
Box drawing alignment tests: █
▉
╔══╦══╗ ┌──┬──┐ ╭──┬──╮ ╭──┬──╮ ┏━━┳━━┓ ┎┒┏┑ ╷ ╻ ┏┯┓ ┌┰┐ ▊ ╱╲╱╲╳╳╳
║┌─╨─┐║ │╔═╧═╗│ │╒═╪═╕│ │╓─╁─╖│ ┃┌─╂─┐┃ ┗╃╄┙ ╶┼╴╺╋╸┠┼┨ ┝╋┥ ▋ ╲╱╲╱╳╳╳
║│╲ ╱│║ │║ ║│ ││ │ ││ │║ ┃ ║│ ┃│ ╿ │┃ ┍╅╆┓ ╵ ╹ ┗┷┛ └┸┘ ▌ ╱╲╱╲╳╳╳
╠╡ ╳ ╞╣ ├╢ ╟┤ ├┼─┼─┼┤ ├╫─╂─╫┤ ┣┿╾┼╼┿┫ ┕┛┖┚ ┌┄┄┐ ╎ ┏┅┅┓ ┋ ▍ ╲╱╲╱╳╳╳
║│╱ ╲│║ │║ ║│ ││ │ ││ │║ ┃ ║│ ┃│ ╽ │┃ ░░▒▒▓▓██ ┊ ┆ ╎ ╏ ┇ ┋ ▎
║└─╥─┘║ │╚═╤═╝│ │╘═╪═╛│ │╙─╀─╜│ ┃└─╂─┘┃ ░░▒▒▓▓██ ┊ ┆ ╎ ╏ ┇ ┋ ▏
╚══╩══╝ └──┴──┘ ╰──┴──╯ ╰──┴──╯ ┗━━┻━━┛ ▗▄▖▛▀▜ └╌╌┘ ╎ ┗╍╍┛ ┋ ▁▂▃▄▅▆▇█
▝▀▘▙▄▟
--
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
next prev parent reply other threads:[~2020-05-15 12:24 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-14 19:41 bug#41278: 27.0.91; incorrect U+203E OVERLINE alignment with Fantasque Sans Mono Vincent Lefevre
2020-05-15 9:57 ` Robert Pluim
2020-05-15 10:28 ` Vincent Lefevre
2020-05-15 11:25 ` Eli Zaretskii
2020-05-15 11:52 ` Robert Pluim
2020-05-15 13:01 ` Eli Zaretskii
2020-05-15 11:57 ` Vincent Lefevre
2020-05-15 12:24 ` Vincent Lefevre [this message]
2020-05-15 12:58 ` Eli Zaretskii
2020-08-24 0:37 ` Stefan Kangas
2020-05-15 12:55 ` Eli Zaretskii
2020-05-15 16:17 ` Vincent Lefevre
2020-05-15 12:31 ` Vincent Lefevre
2020-05-15 10:35 ` Eli Zaretskii
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=20200515122423.GD631870@zira.vinc17.org \
--to=vincent@vinc17.net \
--cc=41278@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=rpluim@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).