From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: font problems with the latest master in MacOS helvetia is used and not DejaVi Mono as in emacs28 Date: Sat, 09 Apr 2022 19:11:40 +0300 Message-ID: <83czhq8ceb.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31164"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Uwe Brauer Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Apr 09 18:15:00 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ndDjn-0007xN-Ey for ged-emacs-devel@m.gmane-mx.org; Sat, 09 Apr 2022 18:14:59 +0200 Original-Received: from localhost ([::1]:36892 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ndDjm-0002El-JY for ged-emacs-devel@m.gmane-mx.org; Sat, 09 Apr 2022 12:14:58 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54410) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ndDgh-0007tT-9t for emacs-devel@gnu.org; Sat, 09 Apr 2022 12:11:48 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:51698) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ndDge-00082k-KC; Sat, 09 Apr 2022 12:11:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=AhBmNDPkzrvhOnfpRNG0c3zNWUML46n4nGeoS7BGJVQ=; b=eXthFjMxysKs YNIRhVUUOPnGdYUzOkzifUBGdVHyqugfJnEIxJvthpPUIsK+X4OFtLApuV5ZJZk9mp4CFFqIscJgy GH3W2qt9LUCdyILQu1fLyU4ERWdZBrH662IhlwJnbw75zfmtFg+18mBFJM/bmBK4eOSR2ZamnCbzm VzZGdmd20NkfQT73hw+1cVKydi7EyTIj4Re1qW3KU4nBy/Ro0gVUzUWFEl+Rzu+auJ6gUC+Mr7Wh0 BN+SuhkPYAi1YqA6RIUaDyDGgqWNoeylcH6/fKNma0VhNQhaUS1xAtYclg/7X5qQktWD+K6H4ykOp B77wppeTBO2V6tjDAkaUeg==; Original-Received: from [87.69.77.57] (port=4381 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ndDge-00081W-2V; Sat, 09 Apr 2022 12:11:44 -0400 In-Reply-To: (message from Uwe Brauer on Sat, 09 Apr 2022 17:21:32 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:288032 Archived-At: > From: Uwe Brauer > Date: Sat, 09 Apr 2022 17:21:32 +0200 > > However I am facing now a font problem. My entry in my custom-init file > is > '(default ((t (:inherit nil :stipple nil :background "grey98" > :foreground "black" :inverse-video nil :box nil :strike-through nil > :overline nil :underline nil :slant normal :weight normal :height 160 > :width normal :foundry "PfEd" :family "DejaVu Sans Mono")))) > > Now indeed in emacs28 C-u C-x = gives > ,---- > | position: 2303 of 64364 (4%), column: 23 > | character: C-j (displayed as C-j) (codepoint 10, #o12, #xa) > | charset: ascii (ASCII (ISO646 IRV)) > | code point in charset: 0x0A > | script: latin > | syntax: > which means: endcomment > | to input: type "C-x 8 RET a" or "C-x 8 RET LINE FEED (LF)" > | buffer code: #x0A > | file code: #x0A (encoded by coding system utf-8-unix) > | display: by this font (glyph code) > | mac-ct:-*-DejaVu Sans Mono-normal-normal-normal-*-16-*-*-*-m-0-iso10646-1 (#x03) > | > | Character code properties: customize what to show > | old-name: LINE FEED (LF) > | general-category: Cc (Other, Control) > `---- > > However when I start emacs29 helvetica is used which is a proportional > font, and looks terrible in most circumstances, especially in dired > > Here is what C-u C-x = > gives > > ,---- > | position: 54 of 1045 (5%), column: 53 > | character: C-j (displayed as C-j) (codepoint 10, #o12, #xa) > | charset: ascii (ASCII (ISO646 IRV)) > | code point in charset: 0x0A > | script: latin > | syntax: which means: whitespace > | to input: type "C-x 8 RET a" or "C-x 8 RET LINE FEED (LF)" > | buffer code: #x0A > | file code: #x0A (encoded by coding system undecided-unix) > | display: by this font (glyph code): > | mac-ct:-*-Helvetica-medium-normal-normal-*-16-*-*-*-p-0-iso10646-1 (#x02) > | > | Character code properties: customize what to show > | old-name: LINE FEED (LF) > | general-category: Cc (Other, Control) > | > | > `---- > > Who is the culprit here? > What shall I do? What happens if you remove all the attributes except :family and colors?