GNU bug report logs - #73752
29.4; Ligatures are randomly rendered with extra spaces

Previous Next

Package: emacs;

Reported by: xuan <at> xlk.me

Date: Fri, 11 Oct 2024 21:40:02 UTC

Severity: normal

Merged with 54646

Found in versions 29.0.50, 29.4

Fixed in version 30.1

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #254 received at 73752 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Tim Ruffing <dev <at> real-or-random.org>
Cc: 73752 <at> debbugs.gnu.org, xuan <at> xlk.me, mituharu <at> math.s.chiba-u.ac.jp,
 visuweshm <at> gmail.com
Subject: Re: bug#73752: 29.4; Ligatures are randomly rendered with extra spaces
Date: Thu, 07 Nov 2024 09:05:16 +0200
> From: Tim Ruffing <dev <at> real-or-random.org>
> Cc: mituharu <at> math.s.chiba-u.ac.jp, visuweshm <at> gmail.com, xuan <at> xlk.me, 
> 	73752 <at> 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?  If so, I
think we should install this.

> And I think I understand the root cause now:

Thanks, sounds plausible (but I know nothing about Cairo internals or
how we use it in Emacs).




This bug report was last modified 252 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.