From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#57962: 29.0.50; Odd font choices Date: Fri, 14 Oct 2022 20:20:39 +0800 Message-ID: <8735bq7g14.fsf@yahoo.com> References: <87edw5adz1.fsf@gnus.org> <87h711ii4m.fsf@yahoo.com> <871qs59fds.fsf@gnus.org> <87tu46aazr.fsf@gnus.org> <87ilkm7h9r.fsf@yahoo.com> <87h706aa0q.fsf@gnus.org> <87edva7gpo.fsf@yahoo.com> <87czaua9i5.fsf@gnus.org> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16042"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: 57962@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Oct 14 14:22:08 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1ojJhY-0003wp-38 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 14 Oct 2022 14:22:08 +0200 Original-Received: from localhost ([::1]:47016 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ojJhW-0004mT-R1 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 14 Oct 2022 08:22:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45854) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ojJgU-0004k9-UY for bug-gnu-emacs@gnu.org; Fri, 14 Oct 2022 08:21:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37028) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ojJgT-0002JP-Nj for bug-gnu-emacs@gnu.org; Fri, 14 Oct 2022 08:21:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ojJgT-0001GY-HV for bug-gnu-emacs@gnu.org; Fri, 14 Oct 2022 08:21:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 14 Oct 2022 12:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57962 X-GNU-PR-Package: emacs Original-Received: via spool by 57962-submit@debbugs.gnu.org id=B57962.16657500584844 (code B ref 57962); Fri, 14 Oct 2022 12:21:01 +0000 Original-Received: (at 57962) by debbugs.gnu.org; 14 Oct 2022 12:20:58 +0000 Original-Received: from localhost ([127.0.0.1]:36105 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ojJgP-0001G4-HU for submit@debbugs.gnu.org; Fri, 14 Oct 2022 08:20:57 -0400 Original-Received: from sonic317-34.consmr.mail.ne1.yahoo.com ([66.163.184.45]:43487) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ojJgN-0001Fo-Ak for 57962@debbugs.gnu.org; Fri, 14 Oct 2022 08:20:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1665750048; bh=2iyHOlBmkuHTNEiPkN6WuoFYI3UxCGpT3nmxl05l5l4=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=JG03Z3Kfr2L4XCwuxA3ECNT5vtaxKPEHBN5Dq8Gyic849dJ7bRfk7xuCcXVWa6Fbx2gJCsS1eViI37tgD12dIZFFxVSYmAaPYoDDknWFH/YIuYtKamImVoMoZtEAHV5QvjqMJDayB97xk7VL3EikEB/uKgickZ1UtENbqY+rKbJoHhVVuiUaCB5UVrAMJk9Ed29QrkoCS19CkNU2ZBm4COd3vCPWgf+AuFCgHycV3I4cuf9rgkFh7cg7MwCuTVNz6kTXOGd7UMVaSqHAsI6QL7kBBT5LedXREMO+3QOM3IK3eGw86VvRqyFX0vnt4PznQ/l6y13ctFUQ5e/MbSLpGw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1665750048; bh=nCA/9k4V4s5UMFLZsFOw/RfBL8SfLKzSaz/y6cITytT=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=F9zefC+aCqGLWLPoPKg8mjoK+rhIxIhonKc/PTIogH+wgLZxc/F8HpInQTrN5N7RpyJYIXAZ4Hy481VwRR4HxO5Xlve5OVxKLKTBs0uBbViHhyI9qP9vhPbQpQSvrwm9uGAb0KWNV12j7khYKerZQA6ZbMYfM2ATwE81sQIjIsk2jnjrGNeFjgFOG01Hy0OwDmKbtsrByUPhpwhtlXNds63gBXLGZUDdzKinTplYlOD15JzcMHn5sk2hdZjnJIQR6x4wkk4T/Me1ek7Y9VTD1IRcNUq0mHnRP7wIoAAx9nuOqBauzONyuv7y8YsRCUD8NORF5KM9F6jvGnoK3IrXeA== X-YMail-OSG: NuPBstAVM1nGM7qQqGM6v692gh36exQcZEcv5ZaqA.slxqQ0bLI1vdY4fqsoDDH cgJPfBYu139Yr.es_t9WKZgxCiqfeDP2qvP_qy0J_4kSy7UouTSpqT8teNs_cWYnKIXEFOzfRlKT H_A1BMY6bXbOk_sPWa_RPlAgCv_3AGEWLB.E_X4XaWbZXxIXsgJriTjehkW0aTlgjGFEOIa3b82T 6mumqL3k8hpXUawIPAHZzoG2MPKL4SqYCXIb9OuALeP7QcI2DO.mH4rKuIaITaZmj4wwgn0GMDjY o3ZSE62.s4VOPnITeSja5Q2JhA1zkaQgsxBfRZvlPUx7jLH1fKWMVsFJXo9h39k6v3k_M0Z5vcIN r3NXs1X08VMXEqI4wR5Kya8B_iETDp0Ui9kVtE98PweA_x1viHe.CPAfOUZsK4bRK5t7tmadHB8u nYyF74cvAJ_WqHN0vtDYsoJO69ViV5PllQTErNpQ6dub0R.CU8eyBFOYVJ.ylTY7LwLYRXUNgOH2 saVfV8SK3xFB75YnbdASp_BbSifXbEk4MYLqAdwnLUndSLIRx5hoboQfvtY1JMp_vJQKhmNErEO9 BY9Ta.DF65k0sHpjVvYHaC1oJf0536ePBb_z8OHdAOUB3oMFJgQX.PacK6CJe6..lCP9l2dn1EWe MSjiP0TT575HkUG0SBd4boL0CFquz3cmRcrvoygYLX2JkOFerUEvRhiAV1FaAYi5ArCF_7GJGojw fKVXpdSjE9DQ2sIYCcZPaFQRqpKwf3fRiOiVctP_WA1YhMNFWmZSk2.lRmpItrNhv_B1KDpkx1eK Aww2xGZMlJFR7oWNpVK6d06Z8rECZwhMwQnDwlTEw8 X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic317.consmr.mail.ne1.yahoo.com with HTTP; Fri, 14 Oct 2022 12:20:48 +0000 Original-Received: by hermes--production-sg3-785466d859-4mnw4 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 2006894f6c51adb79948072a242c851e; Fri, 14 Oct 2022 12:20:44 +0000 (UTC) In-Reply-To: <87czaua9i5.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 14 Oct 2022 14:13:22 +0200") X-Mailer: WebService/1.1.20740 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:245420 Archived-At: Lars Ingebrigtsen writes: > Po Lu writes: > >> What happens if you try setting it to each of the following in order? >> (The list below was taken straight from xfns.c.) >> >> #if defined USE_CAIRO || defined HAVE_XFT >> /* This will find the normal Xft font. */ >> "monospace-10", >> #endif >> "-adobe-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-1", >> "-misc-fixed-medium-r-normal-*-*-140-*-*-c-*-iso8859-1", >> "-*-*-medium-r-normal-*-*-140-*-*-c-*-iso8859-1", >> /* This was formerly the first thing tried, but it finds >> too many fonts and takes too long. */ >> "-*-*-medium-r-*-*-*-*-*-*-c-*-iso8859-1", >> /* If those didn't work, look for something which will >> at least work. */ >> "-*-fixed-*-*-*-*-*-140-*-*-c-*-iso8859-1", >> "fixed", >> >> It's a long shot, but if it still doesn't work then I'm really out of >> ideas. > > Well, the font Emacs has chosen for `default' is "-DAMA-Ubuntu > Mono-regular-normal-normal-*-45-*-*-*-m-0-iso10646-1", so if I say > > (defface fixed-pitch > '((t :font "-DAMA-Ubuntu Mono-regular-normal-normal-*-45-*-*-*-m-0-iso10646-1")) > "The basic fixed-pitch face." > :group 'basic-faces) > > then things look fine, of course. But we want that to happen > automatically (if `default' is using a fixed pitch font). Yes, of course. I have no idea how the default font is looked up, but the list I sent is the list of defaults xfns.c tries if xsettings aren't on (I thought font-use-system-font was on by default, but I was mistaken there.)