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: Thu, 07 Nov 2024 20:43:32 +0530 Message-ID: <2AD4A7E0-5A80-4512-BA80-D2FCE7E7F318@gmail.com> References: <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> <87h68pwm2a.fsf@gmail.com> <868qu1xzhb.fsf@gnu.org> <86y11yuc3x.fsf@gnu.org> <0ac0e3316c0b16e645387450bd48c60b291391eb.camel@timruffing.de> <86ikt0se1l.fsf@gnu.org> <86msibr0b7.fsf@gnu.org> <87a5ebuphh.fsf@gmail.com> <86ttcjp0ni.fsf@gnu.org> 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="23538"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: K-9 Mail for Android Cc: dev@real-or-random.org, xuan@xlk.me, mituharu@math.s.chiba-u.ac.jp, 73752@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 07 16:15:32 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 1t94EM-0005so-GH for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 07 Nov 2024 16:15:30 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t94Dx-0007md-NU; Thu, 07 Nov 2024 10:15:07 -0500 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 1t94Dv-0007kd-O2 for bug-gnu-emacs@gnu.org; Thu, 07 Nov 2024 10:15:03 -0500 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 1t94Dv-0007LG-E8 for bug-gnu-emacs@gnu.org; Thu, 07 Nov 2024 10:15:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:From:Date:To:Subject; bh=jvAPeWjCnUG8SwNiicdmfy/2asVI/6EZZwB7MfMRml8=; b=o1jQDOgx+eu8hD3jl5P3C/AbRVB4ydafANB8O9rAGOdCYwCLIlnvvYH70qaEf/HPD5thsc/e/oynNZznGmmGQC/LDaiuz5Bqr7AAPN/mJdF+nX63fuR02nYzvL0HDmxUNmeCKpavp7TxwG+U796vj1LH43tTmAdqArU/c/SzdQKaX8DioTwEgbWXyAhS5uGZgQcI3NfSmF3Sv0QqIIwO5/d3kOHPAKVGnCOjrnzsgvWYEuioaanQ+RexGHGABpt7g2/W2IY8J0qWaEJXm806zALmj4qXJtBI/CI/2PVEh2w+yRr6EGUgpbeO6tSL/HhIoObz++8u1JOOhTqXtRnfFg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t94Du-0004KQ-7T for bug-gnu-emacs@gnu.org; Thu, 07 Nov 2024 10:15:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Visuwesh Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 07 Nov 2024 15:15:02 +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.173099248916597 (code B ref 73752); Thu, 07 Nov 2024 15:15:02 +0000 Original-Received: (at 73752) by debbugs.gnu.org; 7 Nov 2024 15:14:49 +0000 Original-Received: from localhost ([127.0.0.1]:49245 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t94Dg-0004Jc-HL for submit@debbugs.gnu.org; Thu, 07 Nov 2024 10:14:48 -0500 Original-Received: from mail-pg1-f195.google.com ([209.85.215.195]:44171) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t94De-0004JN-8i for 73752@debbugs.gnu.org; Thu, 07 Nov 2024 10:14:47 -0500 Original-Received: by mail-pg1-f195.google.com with SMTP id 41be03b00d2f7-7cd8803fe0aso800308a12.0 for <73752@debbugs.gnu.org>; Thu, 07 Nov 2024 07:14:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730992420; x=1731597220; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:references :in-reply-to:user-agent:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to; bh=jvAPeWjCnUG8SwNiicdmfy/2asVI/6EZZwB7MfMRml8=; b=PeBtl8y0M9Y7OM7WJ6jHAI6PA0spKg1SsDhf8p1tEUFRBZcTtIhbTSrKfyVuLbSW07 enoRKkzbn6aw0fOva4+XotxLw+nwWWHsfNKierS3Ojv+Rt3g5aF17UkkV8D5wXA9vhxH 8TakTgez2WXLanaaBRVwVCO3ntCj+JGWPMK1Kwolneo+0EXr3h2UoV/scTF6e3rmcunk LJ462mRH1gUsUc0KycS+iT0le7qjsUy9jvxIE0e6LoQAdL/RbxAKnDeeR+TM+hrDhu6u 6WUM9J8D9Y2AzPnIWCtRa65EvsfwfFmjghYyXs31K7mf9jK7d/l6FMpFiFRbU0kru4I0 vuqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730992420; x=1731597220; h=content-transfer-encoding:mime-version:message-id:references :in-reply-to:user-agent:subject:cc:to:from:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=jvAPeWjCnUG8SwNiicdmfy/2asVI/6EZZwB7MfMRml8=; b=K68bHk97PReFpLgkLn4lUqqAB3rq7yf8WfsTx+wsIh7440dXJnbxhq7s8qFfLuspx+ 5f5JMAPx9jcU0yl1LVEbjVSi3U1HxYXiLc7sRMnS66s8Vu+1/XmmjIwCaQ2ojZlkNhtB pVjiR+1p+Yrt8j8MFlapsJM+S8nWQ9eeZOFnYzMFk6OkBbx2X5dpx0FzvmyVBXxWOL/0 TOevsz+KHmzF8JxLKJWN8+xKd9MjR48D7bcdrjT+OxZ8BSDRng460oCVOoJ8IXvHjcEI 2WSFyJLYdwmA4vR6cxfZM7C4g89KNUU4cm4KYDWpKT0TJ64s3P7cKpV8MYEZ8lLA7x9y tvPg== X-Forwarded-Encrypted: i=1; AJvYcCVKtzu49BKQXCY6n75M+0UoYC4MWE4dfBJY+jzH3l6aCa/aWMJWSUTFxlgJNTwHZ1TS3OBaDA==@debbugs.gnu.org X-Gm-Message-State: AOJu0YzZVuV+20q1AnI3EQJoWk5LfiDXq8l1UuFQf40czPhw/fqky/Ve BoDUAtnaiHnR5jRaxhT4hxXKaQbL6/Erd8bXxHkCVo1rg3sEQfhr X-Google-Smtp-Source: AGHT+IGviD/GJ6m4fAVR6B3R7LH/OehE7e07QVTDnWNkPEXQG9vfB1d30sSPAEd76MGMPk6ZQ2LSxQ== X-Received: by 2002:a05:6a21:3e0c:b0:1dc:154a:63a5 with SMTP id adf61e73a8af0-1dc1e3fcb16mr441340637.27.1730992420218; Thu, 07 Nov 2024 07:13:40 -0800 (PST) Original-Received: from [127.0.0.1] ([115.240.90.130]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7f41f644214sm1515167a12.58.2024.11.07.07.13.38 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 07 Nov 2024 07:13:39 -0800 (PST) In-Reply-To: <86ttcjp0ni.fsf@gnu.org> 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:295028 Archived-At: On 7 November 2024 20:10:49 GMT+05:30, Eli Zaretskii wrot= e: >> From: Visuwesh >> Cc: Tim Ruffing , mituharu@math=2Es=2Echiba-= u=2Eac=2Ejp, >> xuan@xlk=2Eme, 73752@debbugs=2Egnu=2Eorg >> Date: Thu, 07 Nov 2024 19:15:30 +0530 >>=20 >> [=E0=AE=B5=E0=AE=BF=E0=AE=AF=E0=AE=BE=E0=AE=B4=E0=AE=A9=E0=AF=8D =E0=AE= =A8=E0=AE=B5=E0=AE=AE=E0=AF=8D=E0=AE=AA=E0=AE=B0=E0=AF=8D 07, 2024] Eli Zar= etskii wrote: >>=20 >> >> From: Tim Ruffing >> >> Cc: mituharu@math=2Es=2Echiba-u=2Eac=2Ejp, visuweshm@gmail=2Ecom, xu= an@xlk=2Eme,=20 >> >> 73752@debbugs=2Egnu=2Eorg >> >> Date: Thu, 07 Nov 2024 03:12:19 +0100 >> >>=20 >> >> On Wed, 2024-11-06 at 15:11 +0200, Eli Zaretskii wrote: >> >> >=20 >> >> >=20 >> >> > Thanks=2E=C2=A0 Can you try calling hb_font_destroy in >> >> > ftcrhbfont_end_hb_font >> >> > and setting ftcrfont_info->hb_font to NULL right after that?=C2=A0= If that >> >> > solves the problem, we could at least install this for now, until = we >> >> > have a better solution (if one exists)=2E >> >>=20 >> >> Yes, that appears to work=2E And I don't think there's an obvious be= tter >> >> solution=2E See attached patch=2E >> > >> > Thanks=2E Visuwesh, does this patch fix your problem as well? >>=20 >> I cannot reproduce the original issue but it leads to following >> backtrace when I visit dinamalar=2Ecom in eww, and click on any of the >> links coloured in blue: say the one under the heading named "=E0=AE=B5= =E0=AE=BE=E0=AE=B0=E0=AE=BE=E0=AE=B5=E0=AE=BE=E0=AE=B0=E0=AE=AE=E0=AF=8D"= =2E >> Directly visiting a link doesn't produce the backtrace though=2E I nee= d >> to visit a webpage with Tamil text on it twice to trigger it=2E It mig= ht >> well be a false warning since I see the warning >>=20 >> Warning: program compiled against libxml 212 using older 209 >> Warning: program compiled against libxml 212 using older 209 >>=20 >> in stderr printed=2E I updated my system (kernel updates included) but >> haven't restarted it yet=2E Of course, I built Emacs _after_ the updat= e=2E >> If you want me to restart and check if you believe it is a false >> warning, I am to do so=2E Maybe a `make bootstrap' or somesuch is also= in >> order? > >This abort is unrelated: I also get it, with no changes at all, and >also in Emacs 30=2E It looks like we fail to decode the text there, and >a buffer ends up with an invalid byte sequence, which triggers an >assertion violation=2E Please open a separate bug report about that=2E Okay will do so=2E >As for this bug, I will install the patch soon,=20 I would dare to merge bug#54646 with this when you close the bug since I'm= confident they both have the same underlying cause=2E >thanks to all for the efforts to investigate this tricky bug=2E Thank you very much Tim for your investigation! This was a paper cut that= annoyed me to no end when I was viewing composed Tamil text which forced m= e to abandon reading Tamil text altogether inside Emacs=2E