From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#73752: 29.4; Ligatures are randomly rendered with extra spaces Date: Thu, 07 Nov 2024 16:40:49 +0200 Message-ID: <86ttcjp0ni.fsf@gnu.org> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11991"; mail-complaints-to="usenet@ciao.gmane.io" Cc: dev@real-or-random.org, xuan@xlk.me, mituharu@math.s.chiba-u.ac.jp, 73752@debbugs.gnu.org To: Visuwesh Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 07 15:44:26 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 1t93kI-00030Z-Gk for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 07 Nov 2024 15:44:26 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t93k3-0000J5-Hb; Thu, 07 Nov 2024 09:44:11 -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 1t93k0-0000Fj-Ai for bug-gnu-emacs@gnu.org; Thu, 07 Nov 2024 09:44:08 -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 1t93jv-0001AF-Ac for bug-gnu-emacs@gnu.org; Thu, 07 Nov 2024 09:44:08 -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=CfkFPnpvPF7Q+Jt2WRCsiw8hhu4RIBKVs4hEs8V7mmw=; b=ZhXk9fUa6XLMoQd+0MfvRdlmEMspNwdACORwP7FYmPGbWlDcFDHT3C4aSZ+sXDjdDToszfDvzCHkNhz7PRy9a4t9wUlGPAQV/mKZ54xvpDXC7NXyXz3TsYYcnlm8VGi9lLHPLJTUlq/rvBJbWEUGpV+eZHwSev7rgniYpq4q8iorI8thfCecpDsMXNUxOjpUdf/pL6od/Fjsc0RCzLx9dqMUXMMmag0Dj8j8ca7t5I9Lt06RJHBSQzeqljYmnLSq2PxJRyy7h78vzfY6UBfMjIB1ynFiJNd9J68QDavFWKhN1TF+njWRLskMWRXLciGuA0RfIp9MF9lHR9udwrIIIg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t93jt-0002aX-UN for bug-gnu-emacs@gnu.org; Thu, 07 Nov 2024 09:44:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 07 Nov 2024 14:44: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.17309905939865 (code B ref 73752); Thu, 07 Nov 2024 14:44:01 +0000 Original-Received: (at 73752) by debbugs.gnu.org; 7 Nov 2024 14:43:13 +0000 Original-Received: from localhost ([127.0.0.1]:47656 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t93j7-0002Z3-8v for submit@debbugs.gnu.org; Thu, 07 Nov 2024 09:43:13 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:44286) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t93j5-0002Ym-3q for 73752@debbugs.gnu.org; Thu, 07 Nov 2024 09:43:12 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t93gs-0000cq-Ei; Thu, 07 Nov 2024 09:40:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=CfkFPnpvPF7Q+Jt2WRCsiw8hhu4RIBKVs4hEs8V7mmw=; b=VSwMpA/OfxMS9vJ7XjYu kJjj92pzdb0FVOg7zJoFs0WwoswDTYkmdVXGxGO4ozGn/N2J33pBU+PNTH3oV3B/cjporYMJM64WJ f2/l/csEf7QRalBX+xnsXiRa8ok1OxJD5TCqLdy1vblKR8ahTgPoYf4kZLQwOz9OEmc5Em+1bI92F XesfxsmKfiK0nDcx+ev9FHlGbmhCzyhS6Thrj1AdvWXwCKDWzFEQ63M8UPbqE7Th8Zhe8Age9+xBA klo/hgjAqZF4ebSNifg+vCMuI+5F6euMkxopVuuiEJ1PjQvvNAB49HtNVk7Wr5YRlDRT/4H1dPZL7 IT6lr8iv8qD37w==; In-Reply-To: <87a5ebuphh.fsf@gmail.com> (message from Visuwesh on Thu, 07 Nov 2024 19:15: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:295025 Archived-At: > From: Visuwesh > Cc: Tim Ruffing , mituharu@math.s.chiba-u.ac.jp, > xuan@xlk.me, 73752@debbugs.gnu.org > Date: Thu, 07 Nov 2024 19:15:30 +0530 > > [வியாழன் நவம்பர் 07, 2024] Eli Zaretskii wrote: > > >> From: Tim Ruffing > >> Cc: mituharu@math.s.chiba-u.ac.jp, visuweshm@gmail.com, xuan@xlk.me, > >> 73752@debbugs.gnu.org > >> Date: Thu, 07 Nov 2024 03:12:19 +0100 > >> > >> On Wed, 2024-11-06 at 15:11 +0200, Eli Zaretskii wrote: > >> > > >> > > >> > Thanks.  Can you try calling hb_font_destroy in > >> > ftcrhbfont_end_hb_font > >> > and setting ftcrfont_info->hb_font to NULL right after that?  If that > >> > solves the problem, we could at least install this for now, until we > >> > have a better solution (if one exists). > >> > >> Yes, that appears to work. And I don't think there's an obvious better > >> solution. See attached patch. > > > > Thanks. Visuwesh, does this patch fix your problem as well? > > I cannot reproduce the original issue but it leads to following > backtrace when I visit dinamalar.com in eww, and click on any of the > links coloured in blue: say the one under the heading named "வாராவாரம்". > Directly visiting a link doesn't produce the backtrace though. I need > to visit a webpage with Tamil text on it twice to trigger it. It might > well be a false warning since I see the warning > > Warning: program compiled against libxml 212 using older 209 > Warning: program compiled against libxml 212 using older 209 > > in stderr printed. I updated my system (kernel updates included) but > haven't restarted it yet. Of course, I built Emacs _after_ the update. > If you want me to restart and check if you believe it is a false > warning, I am to do so. 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. 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. Please open a separate bug report about that. As for this bug, I will install the patch soon, thanks to all for the efforts to investigate this tricky bug.