GNU bug report logs - #46436
27.1.91; Font weight issue on MacOS Big Sur

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Arnaud Antkowiak <arnaud.antkowiak@HIDDEN>; dated Thu, 11 Feb 2021 09:26:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 46436 <at> debbugs.gnu.org:


Received: (at 46436) by debbugs.gnu.org; 31 Aug 2021 19:22:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Aug 31 15:22:18 2021
Received: from localhost ([127.0.0.1]:35423 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mL9Kr-0003AG-UA
	for submit <at> debbugs.gnu.org; Tue, 31 Aug 2021 15:22:18 -0400
Received: from outbound.soverin.net ([116.202.126.228]:35429)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <alan@HIDDEN>) id 1mL9Kn-00039x-Ds
 for 46436 <at> debbugs.gnu.org; Tue, 31 Aug 2021 15:22:17 -0400
Received: from smtp.soverin.net (unknown [10.10.3.24])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
 (No client certificate requested)
 by outbound.soverin.net (Postfix) with ESMTPS id A534852;
 Tue, 31 Aug 2021 19:22:06 +0000 (UTC)
Received: from smtp.soverin.net (smtp.soverin.net [159.69.232.138]) by
 soverin.net
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin;
 t=1630437726; bh=3XD/zqdpBbNRVAM0MtK90M2/mDTj7bOccsCHv0y7/sk=;
 h=From:To:Cc:Subject:References:Date:In-Reply-To:From;
 b=GrHhRn1CcozBDkHVSSt4ohGg0R2TPM4w4+DgMOmr0eRnJA6PJYS75FHRUzQhrGAP0
 x8JijebOUnSK9p69pjBGnSjnlEbJZz0K4llZEK6/1XC3ytPLWiGUC/Q0PBsTwKbg0B
 UYdKoof+3kk8awp0tVIHxOsRygRKfH63cjFl7koxtMvvYofwb2ibMbFdPOXQi3b4iu
 kpL6vbNvCJEu5rQcuwNhLhayrjNVdtbCsj9EFzTtLbAE5rP7SXeG++VwgIa0g7Wg18
 4C1D6OcEeiaQI3XiOveyRIrZ1XHrk45O6/9Jlwku0Wif7Y5n3RUmSDqd4gObvLyKli
 vNCIj1je3dr1g==
Received: from alan by faroe.holly.idiocy.org with local (Exim 4.94.2)
 (envelope-from <alan@HIDDEN>)
 id 1mL9Ke-0017Iw-4a; Tue, 31 Aug 2021 20:22:04 +0100
From: Alan Third <alan@HIDDEN>
To: Arnaud Antkowiak <arnaud.antkowiak@HIDDEN>
Subject: Re: bug#46436: 27.1.91; Font weight issue on MacOS Big Sur
References: <59786727-D1DC-4D64-981F-8B4B6B3057F8@HIDDEN>
Date: Tue, 31 Aug 2021 20:22:04 +0100
In-Reply-To: <59786727-D1DC-4D64-981F-8B4B6B3057F8@HIDDEN> (Arnaud
 Antkowiak's message of "Thu, 11 Feb 2021 10:24:38 +0100")
Message-ID: <87pmttfmhv.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 46436
Cc: 46436 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Arnaud Antkowiak <arnaud.antkowiak@HIDDEN> writes:

> All the informations on font weight appear to be stripped out in Mac OS B=
ig Sur ; as a result, a single weight takes precedence over the others.
> As an example, if I install say Roboto Mono Light, I can see the font via=
 M-x describe-font as :
>
> -*-Roboto Mono-bold-italic-normal-*-*-*-*-*-m-0-iso10646-1
> -*-Roboto Mono-bold-normal-normal-*-*-*-*-*-m-0-iso10646-1
> -*-Roboto Mono-normal-italic-normal-*-*-*-*-*-m-0-iso10646-1
> -*-Roboto Mono-normal-normal-normal-*-*-*-*-*-m-0-iso10646-1
>
> The =E2=80=98light=E2=80=99 weight information does not appear. As a cons=
equence, if I now install Roboto Mono Regular, this is what I get:
>
> -*-Roboto Mono-bold-italic-normal-*-*-*-*-*-m-0-iso10646-1
> -*-Roboto Mono-bold-normal-normal-*-*-*-*-*-m-0-iso10646-1
> -*-Roboto Mono-normal-italic-normal-*-*-*-*-*-m-0-iso10646-1
> -*-Roboto Mono-normal-normal-normal-*-*-*-*-*-m-0-iso10646-1
>
> The two fonts having the same handler, one takes precedence over the othe=
r (and all the text now appears as a long fat headline).
> Testing the same process under macOS Catalina (the previous OS) on anothe=
r computer, this is what I get after installing Roboto Mono Light :
>
> -*-Roboto Mono-bold-italic-normal-*-*-*-*-*-m-0-iso10646-1
> -*-Roboto Mono-bold-normal-normal-*-*-*-*-*-m-0-iso10646-1
> -*-Roboto Mono-light-italic-normal-*-*-*-*-*-m-0-iso10646-1
> -*-Roboto Mono-light-normal-normal-*-*-*-*-*-m-0-iso10646-1
> -*-Roboto Mono-light-normal-normal-*-14-*-*-*-m-0-fontset-auto1
>
> And after installing Roboto Mono Regular :
>
> -*-Roboto Mono-bold-italic-normal-*-*-*-*-*-m-0-iso10646-1
> -*-Roboto Mono-bold-normal-normal-*-*-*-*-*-m-0-iso10646-1
> -*-Roboto Mono-light-italic-normal-*-*-*-*-*-m-0-iso10646-1
> -*-Roboto Mono-light-normal-normal-*-*-*-*-*-m-0-iso10646-1
> -*-Roboto Mono-light-normal-normal-*-14-*-*-*-m-0-fontset-auto1
> -*-Roboto Mono-normal-italic-normal-*-*-*-*-*-m-0-iso10646-1
> -*-Roboto Mono-normal-normal-normal-*-*-*-*-*-m-0-iso10646-1
>
> The font weight information is here preserved and I can select different =
variants of the font. So it seems like the problem really pertains to MacOS=
 Big Sur.
> Many thanks in advance for your help,

Hi, sorry nobody's got back to you before now.

I don't have Big Sur installed so I can't test this.

Are you able to try Emacs 28 (the master branch) and see if the problem
exists there too?
--=20
Alan Third




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#46436; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 11 Feb 2021 09:25:27 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Feb 11 04:25:27 2021
Received: from localhost ([127.0.0.1]:57754 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lA8E3-00061A-EI
	for submit <at> debbugs.gnu.org; Thu, 11 Feb 2021 04:25:27 -0500
Received: from lists.gnu.org ([209.51.188.17]:54582)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <arnaud.antkowiak@HIDDEN>) id 1lA8DQ-0005zl-Pm
 for submit <at> debbugs.gnu.org; Thu, 11 Feb 2021 04:24:50 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:46658)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <arnaud.antkowiak@HIDDEN>)
 id 1lA8DQ-0007mQ-Ka
 for bug-gnu-emacs@HIDDEN; Thu, 11 Feb 2021 04:24:48 -0500
Received: from shiva-su2.sorbonne-universite.fr ([134.157.0.153]:38874)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <arnaud.antkowiak@HIDDEN>) id 1lA8DO-0001pE-3i
 for bug-gnu-emacs@HIDDEN; Thu, 11 Feb 2021 04:24:48 -0500
Received: from narayana.dsi.upmc.fr (narayana.dsi.upmc.fr [134.157.0.214])
 by shiva-su2.sorbonne-universite.fr (Postfix) with ESMTP id 7A5A542B792F
 for <bug-gnu-emacs@HIDDEN>; Thu, 11 Feb 2021 10:24:38 +0100 (CET)
Received: from [192.168.0.44] (132.252.29.93.rev.sfr.net [93.29.252.132])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested) (Authenticated sender: antkowiak)
 by narayana.dsi.upmc.fr (Postfix) with ESMTPSA id 79752809CD04
 for <bug-gnu-emacs@HIDDEN>; Thu, 11 Feb 2021 10:24:38 +0100 (CET)
From: Arnaud Antkowiak <arnaud.antkowiak@HIDDEN>
Content-Type: text/plain;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\))
Subject: 27.1.91; Font weight issue on MacOS Big Sur
Message-Id: <59786727-D1DC-4D64-981F-8B4B6B3057F8@HIDDEN>
Date: Thu, 11 Feb 2021 10:24:38 +0100
To: bug-gnu-emacs@HIDDEN
X-Mailer: Apple Mail (2.3654.60.0.2.21)
Received-SPF: pass client-ip=134.157.0.153;
 envelope-from=arnaud.antkowiak@HIDDEN; helo=shiva-su2.sorbonne-universite.fr
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_MSPIKE_H4=0.001,
 RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.6 (-)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Thu, 11 Feb 2021 04:25:26 -0500
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.6 (--)

Hello,

All the informations on font weight appear to be stripped out in Mac OS =
Big Sur ; as a result, a single weight takes precedence over the others.
As an example, if I install say Roboto Mono Light, I can see the font =
via M-x describe-font as :

-*-Roboto Mono-bold-italic-normal-*-*-*-*-*-m-0-iso10646-1
-*-Roboto Mono-bold-normal-normal-*-*-*-*-*-m-0-iso10646-1
-*-Roboto Mono-normal-italic-normal-*-*-*-*-*-m-0-iso10646-1
-*-Roboto Mono-normal-normal-normal-*-*-*-*-*-m-0-iso10646-1

The =E2=80=98light=E2=80=99 weight information does not appear. As a =
consequence, if I now install Roboto Mono Regular, this is what I get:

-*-Roboto Mono-bold-italic-normal-*-*-*-*-*-m-0-iso10646-1
-*-Roboto Mono-bold-normal-normal-*-*-*-*-*-m-0-iso10646-1
-*-Roboto Mono-normal-italic-normal-*-*-*-*-*-m-0-iso10646-1
-*-Roboto Mono-normal-normal-normal-*-*-*-*-*-m-0-iso10646-1

The two fonts having the same handler, one takes precedence over the =
other (and all the text now appears as a long fat headline).
Testing the same process under macOS Catalina (the previous OS) on =
another computer, this is what I get after installing Roboto Mono Light =
:

-*-Roboto Mono-bold-italic-normal-*-*-*-*-*-m-0-iso10646-1
-*-Roboto Mono-bold-normal-normal-*-*-*-*-*-m-0-iso10646-1
-*-Roboto Mono-light-italic-normal-*-*-*-*-*-m-0-iso10646-1
-*-Roboto Mono-light-normal-normal-*-*-*-*-*-m-0-iso10646-1
-*-Roboto Mono-light-normal-normal-*-14-*-*-*-m-0-fontset-auto1

And after installing Roboto Mono Regular :

-*-Roboto Mono-bold-italic-normal-*-*-*-*-*-m-0-iso10646-1
-*-Roboto Mono-bold-normal-normal-*-*-*-*-*-m-0-iso10646-1
-*-Roboto Mono-light-italic-normal-*-*-*-*-*-m-0-iso10646-1
-*-Roboto Mono-light-normal-normal-*-*-*-*-*-m-0-iso10646-1
-*-Roboto Mono-light-normal-normal-*-14-*-*-*-m-0-fontset-auto1
-*-Roboto Mono-normal-italic-normal-*-*-*-*-*-m-0-iso10646-1
-*-Roboto Mono-normal-normal-normal-*-*-*-*-*-m-0-iso10646-1

The font weight information is here preserved and I can select different =
variants of the font. So it seems like the problem really pertains to =
MacOS Big Sur.
Many thanks in advance for your help,

Arnaud

=E2=80=94=E2=80=94

In GNU Emacs 27.1.91 (build 1, x86_64-apple-darwin20.3.0, NS =
appkit-2022.30 Version 11.2 (Build 20D64))
 of 2021-02-11 built on Arnauds-MacBook-Pro.local
Repository revision: d03f2a6ee942882c5bc78226b4730dac6f1d0916
Repository branch: emacs-27
Windowing system distributor 'Apple', version 10.3.2022
System Description:  macOS 11.2

Recent messages:
Loading /Users/antko/.emacs.d/sanity.el (source)...done
Loading /Users/antko/.emacs.d/elegance_big_sur.el (source)...
For information about GNU Emacs and the GNU system, type C-h C-a.
Making completion list...
End of buffer [7 times]
Quit
Making completion list... [2 times]
Quit [2 times]
Making completion list...

Configured using:
 'configure --with-ns'

Configured features:
RSVG GLIB NOTIFY KQUEUE ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS XIM
NS MODULES THREADS JSON PDUMPER LCMS2 GMP

Important settings:
  value of $LC_CTYPE: UTF-8
  value of $LANG: en_FR.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Special

Minor modes in effect:
  save-place-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug sendmail mule-diag image-file
org-element avl-tree generator cl-extra help-mode ol-eww eww mm-url
thingatpt url-queue ol-rmail ol-mhe ol-irc ol-info ol-gnus nnir gnus-sum
url url-proxy url-privacy url-expand url-methods url-history mailcap shr
url-cookie url-domsuf url-util svg xml dom gnus-group gnus-undo
gnus-start gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo
parse-time iso8601 gnus-spec gnus-int gnus-range message rmc puny rfc822
mml mml-sec epa derived epg epg-config mm-decode mm-bodies mm-encode
mail-parse rfc2231 mailabbrev gmm-utils mailheader gnus-win gnus
nnheader gnus-util rmail rmail-loaddefs rfc2047 rfc2045 ietf-drums
text-property-search mail-utils mm-util mail-prsvr wid-edit ol-docview
doc-view jka-compr image-mode exif dired dired-loaddefs ol-bibtex bibtex
ol-bbdb ol-w3m org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro
org-footnote org-src ob-comint org-pcomplete pcomplete comint ansi-color
ring org-list org-faces org-entities time-date noutline outline
easy-mmode org-version ob-emacs-lisp ob-core ob-eval org-table ol
org-keys org-compat advice org-macs org-loaddefs format-spec find-func
cal-menu calendar cal-loaddefs warnings sanity saveplace edmacro kmacro
info package easymenu browse-url url-handlers url-parse auth-source
cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json
subr-x map url-vars seq byte-opt gv bytecomp byte-compile cconv
cl-loaddefs cl-lib tooltip eldoc electric uniquify ediff-hook vc-hooks
lisp-float-type mwheel term/ns-win ns-win ucs-normalize mule-util
term/common-win tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode elisp-mode lisp-mode
prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese composite charscript charprop case-table epa-hook
jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs
button faces cus-face macroexp files text-properties overlay sha1 md5
base64 format env code-pages mule custom widget hashtable-print-readable
backquote threads kqueue cocoa ns lcms2 multi-tty make-network-process
emacs)

Memory information:
((conses 16 165247 123245)
 (symbols 48 19621 24)
 (strings 32 64282 17031)
 (string-bytes 1 2243748)
 (vectors 16 30013)
 (vector-slots 8 336656 166950)
 (floats 8 206 698)
 (intervals 56 254 103)
 (buffers 1000 13))





Acknowledgement sent to Arnaud Antkowiak <arnaud.antkowiak@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#46436; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 31 Aug 2021 19:30:02 UTC

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