GNU bug report logs - #24582
25.1; [macOS] incorrect display width for ligatures (prettify-symbols-mode)

Previous Next

Package: emacs;

Reported by: <hafner <at> tutanota.com>

Date: Sat, 1 Oct 2016 15:53:01 UTC

Severity: minor

Tags: fixed, patch

Found in version 25.1

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Alan Third <alan <at> idiocy.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 24582 <at> debbugs.gnu.org, hafner <at> tutanota.com, YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>
Subject: bug#24582: 25.1; liga incorrect work (dublicate)
Date: Tue, 11 Aug 2020 22:01:19 +0200 (CEST)
On Tue, Aug 11, 2020 at 03:55:13PM +0200, Lars Ingebrigtsen wrote:
> YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp> writes:
> 
> >> Please see the attached screenshot.
> >>> So the problem is text alignment due to display of characters such
> >>> as ⇒, is that right?
> >> Yes
> >
> > I could reproduce it with Hasklig 11pt.  Does the following patch work
> > for you?
> 
> This was more than three years ago, but there was no followup.  The
> patch still applies to Emacs 28, and it compiles and runs on Macos
> without any immediately adverse effects.
> 
> Alan, does this patch look reasonable to you?

I really have very little grasp on macfont.m, but it's Yamamoto
Mitsuharu's code, so I would tend to go along with him.
-- 
Alan Third




This bug report was last modified 4 years and 342 days ago.

Previous Next


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