[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#18818: Incorrect font weight in dark background, Emacs 24.4 on Mac O
From: |
YAMAMOTO Mitsuharu |
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 |
User-agent: |
Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) |
>>>>> On Sat, 18 Jun 2016 15:45:23 +0100, Alan Third <alan@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@math.s.chiba-u.ac.jp