From: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
To: Alan Third <alan@idiocy.org>
Cc: 18818@debbugs.gnu.org, Sun Yijiang <sunyijiang@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 [thread overview]
Message-ID: <wla8iidpdo.wl%mituharu@math.s.chiba-u.ac.jp> (raw)
In-Reply-To: <m2wplmr1x8.fsf@idiocy.org>
>>>>> 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
next prev parent reply other threads:[~2016-06-18 23:54 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-24 8:35 bug#18818: Incorrect font weight in dark background, Emacs 24.4 on Mac OS X 10.10 Sun Yijiang
2016-06-18 14:45 ` Alan Third
2016-06-18 23:54 ` YAMAMOTO Mitsuharu [this message]
2021-08-19 14:31 ` Lars Ingebrigtsen
2021-08-21 9:55 ` Alan Third
2021-08-21 10:03 ` Eli Zaretskii
2021-08-21 13:03 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=wla8iidpdo.wl%mituharu@math.s.chiba-u.ac.jp \
--to=mituharu@math.s.chiba-u.ac.jp \
--cc=18818@debbugs.gnu.org \
--cc=alan@idiocy.org \
--cc=sunyijiang@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).