From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Visuwesh Newsgroups: gmane.emacs.bugs Subject: bug#73752: 29.4; Ligatures are randomly rendered with extra spaces Date: Sat, 02 Nov 2024 23:32:53 +0530 Message-ID: <87h68pwm2a.fsf@gmail.com> References: <8f02b0490d2abb0889b760fb80c3ec492c63c784.camel@timruffing.de> <86ed3x4h7m.fsf@gnu.org> <86cyjh4dx5.fsf@gnu.org> <68b51105125b6c7a34ec8c2032588ce72d8557bc.camel@timruffing.de> <86wmho38y3.fsf@gnu.org> <861pzu28bz.fsf@gnu.org> <79a634db4f76e482038539722aab18fbf10a9251.camel@timruffing.de> <86msiiync2.fsf@gnu.org> <87bjyxyl64.fsf@gmail.com> <86ses9yh3j.fsf@gnu.org> <8734k9ydb4.fsf@gmail.com> <86ikt5y44p.fsf@gnu.org> <87y121wor7.fsf@gmail.com> <86ed3ty2pe.fsf@gnu.org> <87ttcpwnie.fsf@gmail.com> <86cyjdy1xb.fsf@gnu.org> <87plndwn4z.fsf@gmail.com> <86a5ehy1hc.fsf@gnu.org> <87ldy1wmg9.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13455"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: dev@real-or-random.org, xuan@xlk.me, 73752@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Nov 02 19:05:17 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 1t7IUu-0003LD-Pl for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 02 Nov 2024 19:05:16 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t7IUi-0001SZ-7V; Sat, 02 Nov 2024 14:05:04 -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 1t7IUg-0001SI-Ke for bug-gnu-emacs@gnu.org; Sat, 02 Nov 2024 14:05:02 -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 1t7IUg-0001VB-8k for bug-gnu-emacs@gnu.org; Sat, 02 Nov 2024 14:05:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=szgY6sP7tVLw0rXb2GbbUYjvAGuirv/keP+ieYawF4I=; b=bLF8t/kBRB4JTMdmHRhuSO6hzBQPbZnTKS56TeIhdjWch0cheaFk55UPpsNKofe7Y7uT5mSqAMUJ9pE5SV2MdxYKZVgQtBQwvw8gUtVkY+BWD73ZiYualpI6Ep9p+VK5d9whwakxS9y7u2/xd8mrcdbHkhjOKepuQkg4gaLyLVW36U5KMpaSYAtbqDVoAtqE8lJCr/wLstyXtaijHHEDGyNTd910oTz7mUkVwhlg8rcdWzbWImLnzTme/F0dLLgBowwbl7/K0aCvWuhZo+RhaESWuIO/udit7sbpBjp/f2FYcHe5jsLJwVn6EKpbBQCPkIGRS+W4ZO6u2mLCh28lkQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t7IUf-0003Gc-QX for bug-gnu-emacs@gnu.org; Sat, 02 Nov 2024 14:05:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Visuwesh Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 02 Nov 2024 18:05:01 +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.173057064612494 (code B ref 73752); Sat, 02 Nov 2024 18:05:01 +0000 Original-Received: (at 73752) by debbugs.gnu.org; 2 Nov 2024 18:04:06 +0000 Original-Received: from localhost ([127.0.0.1]:54781 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t7ITm-0003FS-AP for submit@debbugs.gnu.org; Sat, 02 Nov 2024 14:04:06 -0400 Original-Received: from mail-pf1-f196.google.com ([209.85.210.196]:47483) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t7ITj-0003F1-Pc for 73752@debbugs.gnu.org; Sat, 02 Nov 2024 14:04:04 -0400 Original-Received: by mail-pf1-f196.google.com with SMTP id d2e1a72fcca58-71e8235f0b6so2603699b3a.3 for <73752@debbugs.gnu.org>; Sat, 02 Nov 2024 11:04:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730570578; x=1731175378; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=szgY6sP7tVLw0rXb2GbbUYjvAGuirv/keP+ieYawF4I=; b=NEi77QjJ2o5ji3bHxVbN+HReW6MmzvHTkeb3UyNh7hN10rmiwoX7GXiWW8OBQZP5WI 3d5OCTTxRz9jr0F0ohfP7mzGw0SKZuSzOmfCQViuAvf19U0LNi6wqj8o9GnnM8mQzXJC todP5BOZJ0KqFRpESDk2Ak1fyUYZpswOl6873GmW7Q+Jfn4zkujyvkjbH09CNUM2rgX0 OlUXeijr3rUb+iKIsQ5dDPK661JvbsnGBAhUXu66sEKGPXcVvbay64SmgzKBPqGJT9cd GHkYaTR/YCEetlFIgbeE2+Wug08cCJBmFHub76aTyy9mqmH/49Gc2l/YuRnulXhJSd5R q0OA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730570578; x=1731175378; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=szgY6sP7tVLw0rXb2GbbUYjvAGuirv/keP+ieYawF4I=; b=CgqHVkbXrOXyqtN9HWDUcyA9lVyB7Z+ZFcOOd5TYVmmz5ldmrCbWsNb5ls82pyk19y 2+mtrrQzHaGhEuJ5v7up7m3+cl/GLVRiagyMCrxpb5eVMAr/cP8uhMApOe+BDwSVoXrI x71TdC/2a6dNTT/m9st0Qr+vqxzlhfJhuDPG0DyoiSu5NezcHNf/AZcbUPHkIbOcfd2j Gyl78+C22w7r/wq0JoKg4HaHSfHuOWSpQUsCpCEbh8TmmOyasplQ8oh4U9KrPnkOB4bO X1Hqipjr51HqaL7ZWVPcrqws1WFnJ77+jAuJ4GpYJ3OBv10vo9iVpcgfg0gMC7TSiRo4 vHgA== X-Forwarded-Encrypted: i=1; AJvYcCVjtsdA+Hlhi83cMIdZVX3dcCISRbyNuSEfisV9LBdwoLLtVrSCmUHl3yBa/6mcHYrwo8tjAQ==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yx8a0+zMxCVWw5U3LHpl+QWc9xZ94kqWibagGhUcycjmWWjES7/ 9pL2knDDapOVa1gChwlTRxOfGnTZC7OyxDKMbCA1gnyIvXg+pJ0/EI/Z5vRS61g= X-Google-Smtp-Source: AGHT+IHHlGBcoHXLqC2Fh5p/xXONjIpAj7xJ2QEgiLEsGJjSGejB4GiTjJVppjDafgk5vLHDmW9Qnw== X-Received: by 2002:a05:6a00:3d09:b0:71e:44f6:6904 with SMTP id d2e1a72fcca58-720b9c291e0mr15197817b3a.13.1730570578108; Sat, 02 Nov 2024 11:02:58 -0700 (PDT) Original-Received: from localhost ([1.7.159.70]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-720bc2eb3bfsm4372741b3a.156.2024.11.02.11.02.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 Nov 2024 11:02:57 -0700 (PDT) In-Reply-To: <87ldy1wmg9.fsf@gmail.com> (Visuwesh's message of "Sat, 02 Nov 2024 23:24:30 +0530") 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:294766 Archived-At: [=E0=AE=9A=E0=AE=A9=E0=AE=BF =E0=AE=A8=E0=AE=B5=E0=AE=AE=E0=AF=8D=E0=AE=AA= =E0=AE=B0=E0=AF=8D 02, 2024] Visuwesh wrote: > [=E0=AE=9A=E0=AE=A9=E0=AE=BF =E0=AE=A8=E0=AE=B5=E0=AE=AE=E0=AF=8D=E0=AE= =AA=E0=AE=B0=E0=AF=8D 02, 2024] Eli Zaretskii wrote: > >> Ah, that explains the problem. Then please change the breakpoint >> condition to say this instead, and re-run the experiment: >> >> break hbfont.c:598 if xoff =3D=3D 0 && yoff =3D=3D 0 && wadjust =3D=3D >> metrics.width && ((struct Lisp_Object)LGLYPH_ADJUSTMENT(lglyph)).i >> !=3D 0 > > It doesn't break immediately anymore. I will report back once the > breakpoint breaks. I tried reproducing it again. The misalignment occurred but the breakpoint was not triggered: (gdb) pgrow TEXT: 4 glyphs 0 0: COMP[3457 (0..0)] pos=3D1 w=3D10 a+d=3D14+4 face=3D23 MB 1 10: COMP[3457 (1..1)] pos=3D2 w=3D10 a+d=3D14+4 face=3D23 MB 2 20: COMP[3457 (2..2)] pos=3D3 w=3D10 a+d=3D14+4 face=3D23 MB 3 30: CHAR[ ] pos=3D0 blev=3D0,btyp=3DB w=3D9 a+d=3D14+4 MB (gdb) pp composition_gstring_from_id(3457) [[# 45 45 62] 3457 [0 0 45 1970 9 0 9 7 -4 [0 0 10]] [1 1 45 1969 = 9 -1 10 7 -4 [0 0 10]] [2 2 62 2728 9 -1 9 11 0 [0 0 10]]] where to get to type `pgrow' I said % kill -TSTP 222729 then set the breakpoint for set_cursor_from_row like you instructed earlier. I can try to reproduce this issue once again to see if the breakpoint gets triggered. This type though, the glyph made from --> was rendered properly using the same font but started misrendering after letting the timer run a while.