GNU bug report logs - #18818
Incorrect font weight in dark background, Emacs 24.4 on Mac OS X 10.10

Previous Next

Package: emacs;

Reported by: Sun Yijiang <sunyijiang <at> gmail.com>

Date: Fri, 24 Oct 2014 18:14:01 UTC

Severity: normal

Tags: confirmed, moreinfo

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: YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>
To: Alan Third <alan <at> idiocy.org>
Cc: 18818 <at> debbugs.gnu.org, Sun Yijiang <sunyijiang <at> gmail.com>
Subject: bug#18818: Incorrect font weight in dark background, Emacs 24.4 on Mac OS X 10.10
Date: Sun, 19 Jun 2016 08:54:43 +0900
>>>>> On Sat, 18 Jun 2016 15:45:23 +0100, Alan Third <alan <at> idiocy.org> said:

>> Screenshots after each step are attached.  It's clear that in a
>> dark background, bold and normal texts are flipped.

> I can confirm this in Emacs 25. It looks like it's only synthetic
> bolds that are displayed incorrectly, faces with proper bold fonts,
> like Menlo, are displayed correctly.

> Looks like the Mac port behaves identically.

This is a long-standing bug in Core Graphics.  The Mac port contains
an info node suggesting some workaround:

     Also, synthetic bold looks thinner if the background is darker than
  the foreground and the LCD font smoothing is turned on.  In such cases,
  you can turn off synthetic bold for particular fonts and use
  overstriking instead by customizing the variable ‘face-ignored-fonts’:

       (add-to-list 'face-ignored-fonts "\\`-[^-]*-monaco-bold-")

https://bitbucket.org/mituharu/emacs-mac/src/292d5368c1f209977c03ed6e1b2107aab37bfd92/doc/emacs/macport.texi?at=master&fileviewer=file-view-default#macport.texi-339

				     YAMAMOTO Mitsuharu
				mituharu <at> math.s.chiba-u.ac.jp





This bug report was last modified 3 years and 327 days ago.

Previous Next


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