From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Third Newsgroups: gmane.emacs.bugs Subject: bug#18818: Incorrect font weight in dark background, Emacs 24.4 on Mac OS X 10.10 Date: Sat, 18 Jun 2016 15:45:23 +0100 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1466261291 14253 80.91.229.3 (18 Jun 2016 14:48:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 18 Jun 2016 14:48:11 +0000 (UTC) Cc: 18818@debbugs.gnu.org To: Sun Yijiang Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 18 16:48:02 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bEHXR-0007oP-7K for geb-bug-gnu-emacs@m.gmane.org; Sat, 18 Jun 2016 16:47:57 +0200 Original-Received: from localhost ([::1]:35190 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bEHXQ-0004mI-Do for geb-bug-gnu-emacs@m.gmane.org; Sat, 18 Jun 2016 10:47:56 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48051) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bEHVd-0003kP-J3 for bug-gnu-emacs@gnu.org; Sat, 18 Jun 2016 10:46:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bEHVa-0007dS-Fp for bug-gnu-emacs@gnu.org; Sat, 18 Jun 2016 10:46:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:32937) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bEHVa-0007dO-By for bug-gnu-emacs@gnu.org; Sat, 18 Jun 2016 10:46:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bEHVa-0002YI-7e for bug-gnu-emacs@gnu.org; Sat, 18 Jun 2016 10:46:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 18 Jun 2016 14:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18818 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 18818-submit@debbugs.gnu.org id=B18818.14662611349742 (code B ref 18818); Sat, 18 Jun 2016 14:46:02 +0000 Original-Received: (at 18818) by debbugs.gnu.org; 18 Jun 2016 14:45:34 +0000 Original-Received: from localhost ([127.0.0.1]:45268 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bEHV8-0002X4-99 for submit@debbugs.gnu.org; Sat, 18 Jun 2016 10:45:34 -0400 Original-Received: from mail-wm0-f49.google.com ([74.125.82.49]:38632) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bEHV6-0002Wr-5G for 18818@debbugs.gnu.org; Sat, 18 Jun 2016 10:45:32 -0400 Original-Received: by mail-wm0-f49.google.com with SMTP id r201so6113528wme.1 for <18818@debbugs.gnu.org>; Sat, 18 Jun 2016 07:45:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=mdyjuQFG0E4nQs+o7Y7WS36iI1stOqBWuw/YdwBVCgA=; b=wdVV5+ySpZnZdSXvdrZ4YrSWPyLuc1ztxwBUqyA9jiS6tdjX5yTG+EUzmyqZuK1PwB SSrNTdZhMR3lx9bZst8CO1/GSxxgYh4NZjkQT0DgjlmMy7bPGOK1EdP/htSmFkV1lSKy R6KqFAXPhCIHXx7nBXWRr5Mye1l8Zk/m9QIYuUoFvkytY/v6eTFbMFb7j8i6Q9D9rsFk QEo1DeSTdZ4yuCBkVvLaOI4W3xl7mxoV+wc/OEqWi9jLoOcBbvfalJlYlUR1AUyNwxAH SlydAhqnyzeRMPWW0xNyRAMlMaM8XazsEYhoNWQxnQqVBUeursP/q7Rz2sP681picgcz J8DQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=mdyjuQFG0E4nQs+o7Y7WS36iI1stOqBWuw/YdwBVCgA=; b=lnn3e72VUCBw35qHkAtBK1ke/XKcL29KojqF3eiF6plUyKX1bmBRNX4Lr1ibVpY8ZL kXxo01L9025vInAVu6AyMqALnxmbFUaToAug4HjKlQ55cGjFZTZzNZOhMZoLXAC7QaVU WDovbVLPsZ/IJMYjzl/uIr5ciG9p9dBXtjqGBw4/odv3ic91R5eQHCnoQzU6U36XqCky lNJamlv31cx2bUQgkVFcnvnEvotlO6bDGovEOAor5Qgr4zzMWnGsX++pHEZ3p1KQmjhq 4iJewXyAPdQPrN12HVMxaWXvbALfPDht65uJWXZmK5hgJVaQbnmhMRP+rQANSunAR1ne ZnNg== X-Gm-Message-State: ALyK8tJu6WrrhJZlVMVsHF45mbv5gHF5E3bqsplMsWP5876t+mr8Kl/tslMcqvVvtgpMQw== X-Received: by 10.194.47.71 with SMTP id b7mr6881891wjn.107.1466261126200; Sat, 18 Jun 2016 07:45:26 -0700 (PDT) Original-Received: from breton.holly.idiocy.org (ip6-2001-08b0-03f8-8129-ac92-b5d8-4ccd-40fc.holly.idiocy.org. [2001:8b0:3f8:8129:ac92:b5d8:4ccd:40fc]) by smtp.gmail.com with ESMTPSA id j2sm46433606wjz.15.2016.06.18.07.45.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 18 Jun 2016 07:45:24 -0700 (PDT) In-Reply-To: (Sun Yijiang's message of "Fri, 24 Oct 2014 16:35:16 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (darwin) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:119729 Archived-At: Sun Yijiang writes: > Step by step: > > 1) Mac OS X 10.10 Yosemite, Xcode 6.1 > 2) Compile GNU Emacs 24.4 with ./configure --with-ns && make && make install > 3) Make a clean run: /Applications/Emacs.app/Contents/MacOS/Emacs -q > 4) In *scratch* buffer, run these line-by-line (with C-x C-e) > > (set-default-font "-*-Monaco-bold-normal-normal-*-*-*-*-*-m-0-iso10646-1") > (set-default-font "-*-Monaco-normal-normal-normal-*-*-*-*-*-m-0-iso10646-1") > > (set-foreground-color "#FFFFFF") > (set-background-color "#222222") > > (set-default-font "-*-Monaco-bold-normal-normal-*-*-*-*-*-m-0-iso10646-1") > (set-default-font "-*-Monaco-normal-normal-normal-*-*-*-*-*-m-0-iso10646-1") > > 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. -- Alan Third