GNU bug report logs - #54821
29.0.50; Current master MacOS, cannot set default font. Always Helvetica is chosen

Previous Next

Package: emacs;

Reported by: Uwe Brauer <oub <at> mat.ucm.es>

Date: Sat, 9 Apr 2022 19:24:02 UTC

Severity: normal

Found in version 29.0.50

To reply to this bug, email your comments to 54821 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#54821; Package emacs. (Sat, 09 Apr 2022 19:24:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Uwe Brauer <oub <at> mat.ucm.es>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 09 Apr 2022 19:24:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Uwe Brauer <oub <at> mat.ucm.es>
To: bug-gnu-emacs <at> gnu.org
Subject: 29.0.50; Current master MacOS, cannot set default font. Always
 Helvetica is chosen 
Date: Sat, 09 Apr 2022 21:22:55 +0200
Hi

Steps to reproduce this behavior.

    1. Compile and install the latest master under MacOS as Emacs.app

    2. Start the app from the command line via emacs -Q
       it sees you need to have script, say called emacs29,  that looks like
       #!/bin/sh
        /Applications/Emacs29.app/Contents/MacOS/Emacs "$@"

    3. Either run customize-face select default: you will see:

For help using this buffer, see Easy Customization in the Emacs manual.

                                          Search 

Operate on all settings in this buffer:
 Revert...   Apply   Apply and Save 

Hide Default face: [sample]
    State : SAVED and set.
   Basic default face.
   [X] Font Family: Helvetica
   [X] Font Foundry: nil
   [X] Width: Value Menu normal
   [X] Height: Value Menu Height in 1/10 pt: 180
   [X] Weight: Value Menu medium
   [X] Slant: Value Menu normal
   [X] Underline: Value Menu Off
   [X] Overline: Value Menu Off
   [X] Strike-through: Value Menu Off
   [X] Box around text: Value Menu Off
   [X] Inverse-video: Value Menu Off
   [X] Foreground: black                                        Choose   (sample)
   [X] Background: grey98                                       Choose   (sample)
   [X] Stipple: Value Menu None
   [X] Extend: Value Menu Off
   [X] Inherit:
       INS
   Show All Attributes


And Helvetica cannot be changed. You can also use the menu option select default font, and will be faced with the same problem.

The problem does not show up for emacs28 or emacs27

Regards

Uwe Brauer 






In GNU Emacs 29.0.50 (build 1, x86_64-apple-darwin19.6.0, NS appkit-1894.60 Version 10.15.7 (Build 19H1824))
 of 2022-04-09 built on Atrahasis
Repository revision: ac2708bf6f83dfb965694381c4e9d0c71f61bd0c
Repository branch: master
Windowing system distributor 'Apple', version 10.3.1894
System Description:  Mac OS X 10.15.7

Configured using:
 'configure --with-ns --without-pop --with-mailutils'

Configured features:
ACL DBUS GLIB GNUTLS LCMS2 LIBXML2 MODULES NOTIFY KQUEUE NS PDUMPER PNG
RSVG SQLITE3 THREADS TOOLKIT_SCROLL_BARS WEBP XIM ZLIB

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

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  line-number-mode: t
  indent-tabs-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message mailcap yank-media rmc puny
dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg
rfc6068 epg-config gnus-util text-property-search time-date seq gv
subr-x byte-opt bytecomp byte-compile cconv mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs
cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils
iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks
lisp-float-type elisp-mode 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 lisp-mode prog-mode register
page tab-bar menu-bar rfn-eshadow isearch easymenu timer select
scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors
frame minibuffer nadvice simple 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 emoji-zwj charscript charprop case-table
epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button
loaddefs faces cus-face macroexp files window text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget keymap
hashtable-print-readable backquote threads dbusbind kqueue cocoa ns
lcms2 multi-tty make-network-process emacs)

Memory information:
((conses 16 144770 7630)
 (symbols 48 30719 1)
 (strings 32 65642 2124)
 (string-bytes 1 1179965)
 (vectors 16 12271)
 (vector-slots 8 176712 8963)
 (floats 8 20 55)
 (intervals 56 315 0)
 (buffers 992 11))




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#54821; Package emacs. (Sat, 16 Jul 2022 12:19:02 GMT) Full text and rfc822 format available.

Message #8 received at 54821 <at> debbugs.gnu.org (full text, mbox):

From: Gerd Möllmann <gerd.moellmann <at> gmail.com>
To: Uwe Brauer <oub <at> mat.ucm.es>
Cc: 54821 <at> debbugs.gnu.org
Subject: Re: bug#54821: 29.0.50; Current master MacOS, cannot set default
 font. Always Helvetica is chosen 
Date: Sat, 16 Jul 2022 14:18:30 +0200
Uwe Brauer <oub <at> mat.ucm.es> writes:

>    Basic default face.
>    [X] Font Family: Helvetica
>
> And Helvetica cannot be changed. You can also use the menu option
> select default font, and will be faced with the same problem.
>
> The problem does not show up for emacs28 or emacs27

I cannot reproduce this with git version
00501e82c735d4b0928888fffc2049f8ec2d5ae6 on macOS 12.4.

Did you change something wrt to the font family?  With -Q I get Monaco.




This bug report was last modified 2 years and 334 days ago.

Previous Next


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