From: Yixuan Chen <xuan@xlk.me>
To: Eli Zaretskii <eliz@gnu.org>
Cc: luangruo@yahoo.com, 73752@debbugs.gnu.org, visuweshm@gmail.com
Subject: bug#73752: 29.4; Ligatures are randomly rendered with extra spaces
Date: Sun, 27 Oct 2024 16:32:34 -0400 [thread overview]
Message-ID: <a76606fa-654d-42f9-ac40-3c7eb379f235@xlk.me> (raw)
In-Reply-To: <86y12971jq.fsf@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 3949 bytes --]
On 10/27/24 16:07, Eli Zaretskii wrote:
> To convince me that this is really happening (although I'm unable to
> understand how it could, given how Emacs faces work), you will need to
> show some code which generates such a situation in a reproducible
> manner, and then show me by using "M-x describe-text-properties" and
> "C-u C-x =" that indeed the same characters in the same face are shown
> on different lines with different metrics.
OK, here you go.
> you will need to show some code which generates such a situation in a reproducible manner
The same script I submitted in this bug.
"screenshot1.png" shows the bugged display. Here's the result of
"describe-text-properties",
> There are text properties here:
> face (face12 font-lock-string-face)
> fontified t
In case you want to know what the face12 is,
> Face: face12 (sample) (customize this face)
>
> Documentation:
> Not documented as a face.
>
>
> Family: unspecified
> Foundry: unspecified
> Width: unspecified
> Height: 125
> Weight: medium
> Slant: italic
> Foreground: unspecified
> DistantForeground: unspecified
> Background: unspecified
> Underline: unspecified
> Overline: unspecified
> Strike-through: unspecified
> Box: unspecified
> Inverse: unspecified
> Stipple: unspecified
> Font: unspecified
> Fontset: unspecified
> Extend: unspecified
> Inherit: unspecified
and here's the result of "C-x C-u =":
> position: 1277 of 3527 (36%), column: 34
> character: > (displayed as >) (codepoint 62, #o76, #x3e)
> charset: ascii (ASCII (ISO646 IRV))
> code point in charset: 0x3E
> script: latin
> syntax: _ which means: symbol
> category: .:Base, a:ASCII, l:Latin, r:Roman
> to input: type "C-x 8 RET 3e" or "C-x 8 RET GREATER-THAN SIGN"
> buffer code: #x3E
> file code: #x3E (encoded by coding system utf-8-unix)
> display: by this font (glyph code):
> ftcrhb:-SAJA-Cascadia Code-regular-italic-normal-*-17-*-*-*-m-0-iso10646-1 (#x3AC)
>
> Character code properties: customize what to show
> name: GREATER-THAN SIGN
> general-category: Sm (Symbol, Math)
> decomposition: (62) ('>')
>
> There are text properties here:
> face (face12 font-lock-string-face)
> fontified t
In a separate fresh new emacs window, I execute the following command:
(set-face-attribute 'default nil :weight 'medium :slant 'italic
:height 125)
"screenshot2.png" shows how it looks this time (the normal display).
the result of "describe-text-properties":
> There are text properties here:
> face font-lock-string-face
> fontified nil
and "C-u C-x =":
> position: 1277 of 3527 (36%), column: 34
> character: > (displayed as >) (codepoint 62, #o76, #x3e)
> charset: ascii (ASCII (ISO646 IRV))
> code point in charset: 0x3E
> script: latin
> syntax: _ which means: symbol
> category: .:Base, a:ASCII, l:Latin, r:Roman
> to input: type "C-x 8 RET 3e" or "C-x 8 RET GREATER-THAN SIGN"
> buffer code: #x3E
> file code: #x3E (encoded by coding system utf-8-unix)
> display: by this font (glyph code):
> ftcrhb:-SAJA-Cascadia Code-regular-italic-normal-*-17-*-*-*-m-0-iso10646-1 (#x3AC)
>
> Character code properties: customize what to show
> name: GREATER-THAN SIGN
> general-category: Sm (Symbol, Math)
> decomposition: (62) ('>')
>
> There are text properties here:
> face font-lock-string-face
> fontified t
If you want more information, I will keep both emacs window open for the
next two hours.
[-- Attachment #2: screenshot1.png --]
[-- Type: image/png, Size: 15002 bytes --]
[-- Attachment #3: screenshot2.png --]
[-- Type: image/png, Size: 13496 bytes --]
next prev parent reply other threads:[~2024-10-27 20:32 UTC|newest]
Thread overview: 50+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-11 16:18 bug#73752: 29.4; Ligatures are randomly rendered with extra spaces xuan
2024-10-12 8:02 ` Eli Zaretskii
2024-10-12 16:09 ` Yixuan Chen
2024-10-27 10:21 ` Eli Zaretskii
2024-10-27 16:19 ` Visuwesh
2024-10-27 17:19 ` Eli Zaretskii
2024-10-27 17:27 ` Eli Zaretskii
2024-10-27 17:39 ` Yixuan Chen
2024-10-27 17:43 ` Eli Zaretskii
2024-10-27 17:46 ` Yixuan Chen
2024-10-27 19:14 ` Eli Zaretskii
2024-10-27 19:36 ` Yixuan Chen
2024-10-27 19:44 ` Eli Zaretskii
2024-10-27 19:47 ` Yixuan Chen
2024-10-27 20:11 ` Eli Zaretskii
2024-10-27 19:41 ` Yixuan Chen
2024-10-27 20:07 ` Eli Zaretskii
2024-10-27 20:32 ` Yixuan Chen [this message]
2024-10-28 14:25 ` Eli Zaretskii
2024-10-28 14:44 ` Yixuan Chen
2024-10-28 14:47 ` Yixuan Chen
2024-10-28 15:05 ` Eli Zaretskii
2024-10-28 15:20 ` Yixuan Chen
2024-10-28 17:19 ` Eli Zaretskii
2024-10-28 17:26 ` Eli Zaretskii
2024-10-28 17:28 ` Yixuan Chen
2024-10-28 18:41 ` Eli Zaretskii
2024-10-28 4:26 ` Visuwesh
2024-10-28 14:59 ` Eli Zaretskii
2024-10-28 15:24 ` Yixuan Chen
2024-10-28 16:18 ` Visuwesh
2024-10-28 17:13 ` Eli Zaretskii
2024-10-29 10:59 ` Visuwesh
2024-10-29 13:04 ` Eli Zaretskii
2024-10-29 13:54 ` Visuwesh
2024-10-29 14:00 ` Visuwesh
2024-10-29 15:38 ` Eli Zaretskii
2024-10-29 16:46 ` Visuwesh
2024-10-29 17:45 ` Eli Zaretskii
2024-10-30 5:43 ` Visuwesh
2024-10-29 16:51 ` Eli Zaretskii
2024-10-27 17:29 ` Yixuan Chen
2024-10-29 23:14 ` Tim Ruffing
2024-10-30 15:12 ` Eli Zaretskii
2024-10-30 15:45 ` Eli Zaretskii
[not found] ` <mvmikt9zkcq.fsf@suse.de>
2024-10-30 15:47 ` Eli Zaretskii
2024-10-30 17:34 ` Tim Ruffing
2024-10-30 17:46 ` Eli Zaretskii
2024-10-30 18:00 ` Tim Ruffing
2024-10-30 18:57 ` 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=a76606fa-654d-42f9-ac40-3c7eb379f235@xlk.me \
--to=xuan@xlk.me \
--cc=73752@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=luangruo@yahoo.com \
--cc=visuweshm@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).