From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yixuan Chen Newsgroups: gmane.emacs.bugs Subject: bug#73752: 29.4; Ligatures are randomly rendered with extra spaces Date: Mon, 28 Oct 2024 13:28:14 -0400 Message-ID: References: <86zfn9ycis.fsf@gnu.org> <86o735als7.fsf@gnu.org> <87o73534dn.fsf@gmail.com> <86h68x8nuz.fsf@gnu.org> <86ed418niu.fsf@gnu.org> <6566317e-03bb-4856-9cc8-5e90c2875e44@xlk.me> <86cyjl8mqs.fsf@gnu.org> <86bjz58ik7.fsf@gnu.org> <04c3e9c5-0e18-4c35-8e5d-893c17690e5f@xlk.me> <86y12971jq.fsf@gnu.org> <86jzds719m.fsf@gnu.org> <1e871a38-a150-4198-a53a-831b9576df8b@xlk.me> <86h68w6zet.fsf@gnu.org> <0b859951-92ec-4125-be4e-5f0d2088e872@xlk.me> <86ed406t7s.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24069"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: luangruo@yahoo.com, 73752@debbugs.gnu.org, visuweshm@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 28 18:51:05 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1t5TtQ-00061U-Ro for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 28 Oct 2024 18:51:05 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t5Tss-0002Rv-0q; Mon, 28 Oct 2024 13:50:30 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t5Tsp-0002RO-PG for bug-gnu-emacs@gnu.org; Mon, 28 Oct 2024 13:50:28 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t5Tso-0000Eh-Qq for bug-gnu-emacs@gnu.org; Mon, 28 Oct 2024 13:50:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=In-Reply-To:From:References:MIME-Version:Date:To:Subject; bh=kGS+W6rkditHHOjhwS1Esz3DMVzOvGxaHKcVjGRhD4U=; b=JaTOCYwPyaMWxsGN/7VUuhO34FXPaMf5vjLpdsRgJ9YXbg03R3IHecdo5bMQ0N9FZH8B+hqJDPDdbiEv49TD2jbjz09zw83vLLGRI99+1luy7CFda5ZRghCTksHFQ04zSXyTdX/mkNp0dLDxz0NjbIYsDb7glowHd5sx5PF8mVaMWZmGPkNVPyohBzpyPQWWgefFoJ20aJDx+DvT1NOwlQW2imGXSpTDJp/q1KihRDnDGK4R5lO3HCU5bz05g62tpLEhV4LhsXdoaN+zQ6l3a2CTSI3R+7zfV/+soUrUsrE1Nb2c/4P1/K8NtoajEwg3HfpurbZUDExP5vP+ZBe9rQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t5TtP-0004CD-5F for bug-gnu-emacs@gnu.org; Mon, 28 Oct 2024 13:51:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Yixuan Chen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Oct 2024 17:51:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73752 X-GNU-PR-Package: emacs Original-Received: via spool by 73752-submit@debbugs.gnu.org id=B73752.173013780515686 (code B ref 73752); Mon, 28 Oct 2024 17:51:03 +0000 Original-Received: (at 73752) by debbugs.gnu.org; 28 Oct 2024 17:50:05 +0000 Original-Received: from localhost ([127.0.0.1]:54643 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t5TsT-00044r-61 for submit@debbugs.gnu.org; Mon, 28 Oct 2024 13:50:05 -0400 Original-Received: from qs51p00im-qukt01080301.me.com ([17.57.155.20]:27939) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t5TYD-00039E-AM for 73752@debbugs.gnu.org; Mon, 28 Oct 2024 13:29:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xlk.me; s=sig1; t=1730136507; bh=kGS+W6rkditHHOjhwS1Esz3DMVzOvGxaHKcVjGRhD4U=; h=Message-ID:Date:MIME-Version:Subject:To:From:Content-Type; b=ffsXans2aNi4sdYASmw/KdpW79S9V9rjD3QsxPF22goEyJuceq2kaZJPvTDblgAPw PQpBToquzc7hESdj+0K6fJ+6UP7okR/fVhL2QR38Jqb540SPSQCrbueqUHCN5sgtgw uHQ8stAt94lzXZgVXIZPUTBI6VYDSXa5A7XgXzEKbVdlcmaM9LRP7mBLJ4JqLdWQZD uGEZmNIv81eS7EgrHJrQD+CCOvNJGEYfJPVCpN44DpWusT4KsjXw1gfD+RtfojI0Us 6QCy1902QoXNj+cXAdlYiB+t6FrOZYT/QwolFyaQ3XZYY3wCjVd/XWE/M9PG7m3Q9U iHlFtr/95GgNg== Original-Received: from [192.168.1.14] (qs51p00im-dlb-asmtp-mailmevip.me.com [17.57.155.28]) by qs51p00im-qukt01080301.me.com (Postfix) with ESMTPSA id DC3595F00489; Mon, 28 Oct 2024 17:28:25 +0000 (UTC) Content-Language: en-US In-Reply-To: <86ed406t7s.fsf@gnu.org> X-Proofpoint-GUID: _en76TFLJpKrXQSET28B2XTHZ2IBBaGb X-Proofpoint-ORIG-GUID: _en76TFLJpKrXQSET28B2XTHZ2IBBaGb X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1051,Hydra:6.0.680,FMLib:17.12.62.30 definitions=2024-10-28_06,2024-10-28_02,2024-09-30_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 mlxlogscore=999 mlxscore=0 malwarescore=0 spamscore=0 adultscore=0 suspectscore=0 bulkscore=0 clxscore=1030 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2308100000 definitions=main-2410280139 X-Mailman-Approved-At: Mon, 28 Oct 2024 13:49:59 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:294447 Archived-At: On 10/28/24 13:19, Eli Zaretskii wrote: >> Date: Mon, 28 Oct 2024 11:20:29 -0400 >> Cc: visuweshm@gmail.com, luangruo@yahoo.com, 73752@debbugs.gnu.org >> From: Yixuan Chen >> >>> Actually, how about showing what "C-u C-x =" says in each of the 6 >>> positions you show? And then show what "C-u C-x =" says in the same 6 >>> positions in the "good" display? >> >> See "bad.txt" for the output of the bad emacs display, and "good.txt" >> for the output of good emacs display. I also attached the block cursor >> screenshots for good emacs display. > > Thanks. It's basically the same, as far as Emacs thinks, but do you > have any idea why EOB is different between these two cases (3535 vs > 3527)? Between the two versions (after bad.txt before good.txt), I made this change to the script: line 51 is modified from (run-at-time nil 1 #'random-faces))) to ;; (run-at-time nil 1 #'random-faces) )) so that I can manually set the face to face12. That's why EOB of "good.txt" is slightly larger. > Also, Emacs thinks that the second | character is at the same buffer > position and the same columns as the previous one -- any idea why? I'm sorry, that's me being bad at mouse and copy-pasting. This is the correct output for the second | character in "bad.txt". position: 1275 of 3527 (36%), column: 32 character: | (displayed as |) (codepoint 124, #o174, #x7c) charset: ascii (ASCII (ISO646 IRV)) code point in charset: 0x7C script: latin syntax: _ which means: symbol category: .:Base, a:ASCII, l:Latin, r:Roman to input: type "C-x 8 RET 7c" or "C-x 8 RET VERTICAL LINE" buffer code: #x7C file code: #x7C (encoded by coding system utf-8-unix) display: by this font (glyph code): ftcrhb:-SAJA-Cascadia Code-light-normal-normal-*-17-*-*-*-m-0-iso10646-1 (#x9F6) Character code properties: customize what to show name: VERTICAL LINE old-name: VERTICAL BAR general-category: Sm (Symbol, Math) decomposition: (124) ('|') There are text properties here: face (face12 font-lock-string-face) fontified t It seems like I simply pasted the output for the first bar character twice.