From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Amin Bandali Newsgroups: gmane.emacs.bugs Subject: bug#57555: 29.0.50; variable-pitch font issue with medium weight default font Date: Fri, 02 Sep 2022 21:35:24 -0400 Message-ID: <874jxpjl43.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22737"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) To: 57555@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 03 03:36:11 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 1oUI4w-0005hp-3h for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 03 Sep 2022 03:36:10 +0200 Original-Received: from localhost ([::1]:58636 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oUI4u-00039n-Cl for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 02 Sep 2022 21:36:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48800) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oUI4o-00039e-F7 for bug-gnu-emacs@gnu.org; Fri, 02 Sep 2022 21:36:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51927) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oUI4o-0006AI-5R for bug-gnu-emacs@gnu.org; Fri, 02 Sep 2022 21:36:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oUI4n-00051J-Sq for bug-gnu-emacs@gnu.org; Fri, 02 Sep 2022 21:36:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Amin Bandali Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 03 Sep 2022 01:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 57555 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.166216892919252 (code B ref -1); Sat, 03 Sep 2022 01:36:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 3 Sep 2022 01:35:29 +0000 Original-Received: from localhost ([127.0.0.1]:40626 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oUI4H-00050S-8N for submit@debbugs.gnu.org; Fri, 02 Sep 2022 21:35:29 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:59536) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oUI4F-00050K-4v for submit@debbugs.gnu.org; Fri, 02 Sep 2022 21:35:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59348) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oUI4F-00035E-0s for bug-gnu-emacs@gnu.org; Fri, 02 Sep 2022 21:35:27 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:42796) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oUI4E-000664-Na for bug-gnu-emacs@gnu.org; Fri, 02 Sep 2022 21:35:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=uIOM8E1KFgrNXGTPs/OY1LUmcSdZSWpxTStqi9sX+lE=; b=J3snHBZfCBMNK0 0l3nJ9hXj1F1fGZbxg9zPnS1eFgcPF5DvAinRb/fnQUBYIsMDWTmxfzWROqMxAAHWpyv0xgjoa6nh sdcjtv4iHAdGQf2owc27CDjuzZrCvHWWinzqWA3VX3p9YIRuIykfvwD5L5Q5VVesAccKpDACJvA8l wHFwNjd/gawoFNDqt1EsJVsKvbv5fdn278wVKD20WIJ9DOrlR/HSu+wsGE/5Ru6hSS+IK76yWxEg5 TTQvg3FWZSykTZ72HIsRu6+YELjZ/AFWlaKYaSzxNfQUUuWtswie1jor2ERGn4ezPxBKUDgirtwwJ zNNF7C483W+2Jd7ZP0fQ==; Original-Received: from bras-base-toroon473mw-grc-20-174-89-30-44.dsl.bell.ca ([174.89.30.44]:34112 helo=langa) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oUI4D-00052f-L7 for bug-gnu-emacs@gnu.org; Fri, 02 Sep 2022 21:35:26 -0400 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:241361 Archived-At: As of the recent 6b1ed2f2c99a1c2da56c5f434570c438cad6576d, I've been experiencing an issue where Emacs chooses / falls back on 'misc-fixed' instead of the correct sans-serif variable-pitch font ('GNU FreeSans', for me) when I use a custom default font with medium weight. Screenshots from before (no issue) and after (with issue) the commit: https://kelar.org/~bandali/tmp/20220903/before-6b1ed2f.png https://kelar.org/~bandali/tmp/20220903/after-6b1ed2f.png This happens regardless of whether I set the font via X resources: Emacs.font: Source Code Pro Medium-10.5 or with Emacs Lisp: (set-frame-font "Source Code Pro-10.5:weight=medium" nil t) This happens only if I use the medium weight variant, and if I leave that out and just use Source Code Pro (regular) this doesn't happen. Also, perhaps strangely enough, the issue seems to only affect the regular variable-pitch font: e.g. italic variable-pitch is correctly displayed in sans-serif. In GNU Emacs 29.0.50 (build 86, x86_64-pc-linux-gnu, X toolkit, cairo version 1.16.0, Xaw3d scroll bars) of 2022-09-02 built on langa Repository revision: 63ee620700b1d85f7069a0b0f4232815e5374b4c Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12013000 System Description: Trisquel GNU/Linux Nabia (10.0.1) Configured using: 'configure --without-gconf --without-gsettings --without-gpm --with-x-toolkit=lucid --with-xaw3d --with-mailutils' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS WEBP X11 XAW3D XDBE XIM XPM LUCID ZLIB Important settings: value of $LANG: en_CA.UTF-8 locale-coding-system: utf-8-unix Major mode: Group Minor modes in effect: gnus-topic-mode: t gnus-undo-mode: t display-battery-mode: t yas-global-mode: t yas-minor-mode: t server-mode: t winner-mode: t windmove-mode: t global-hl-todo-mode: t pixel-scroll-mode: t shell-dirtrack-mode: t recentf-mode: t savehist-mode: t save-place-mode: t global-display-fill-column-indicator-mode: t global-auto-revert-mode: t display-time-mode: t tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t global-prettify-symbols-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t buffer-read-only: t column-number-mode: t line-number-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t temp-buffer-resize-mode: t Load-path shadows: None found. Features: (shadow sort gnus-cite flyspell ispell mail-extr emacsbug gnus-topic nndoc nndraft nnmh utf-7 epa-file network-stream nsm nnfolder nnnil gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls dig nntp gnus-cache gnus-sum shr pixel-fill kinsoku url-file svg dom gnus-group gnus-undo gnus-start gnus-dbus gnus-cloud nnimap nnmail mail-source utf7 nnoo gnus-spec gnus-int gnus-range message sendmail yank-media puny dired-x dired dired-loaddefs rfc822 mml mml-sec epa epg rfc6068 epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev gmm-utils mailheader gnus-win gnus nnheader gnus-util mail-utils range mm-util mail-prsvr battery dbus cmake-font-lock boxquote rect cl-extra yasnippet help-mode server winner windmove cmake-mode thingatpt derived rst compile text-property-search hl-todo pcase delight ffs pixel-scroll cua-base tramp-cache time-stamp tramp-sh tramp rx tramp-loaddefs trampver tramp-integration cus-edit pp cus-start cus-load icons files-x tramp-compat shell pcomplete comint ansi-color ring parse-time iso8601 time-date ls-lisp format-spec recentf tree-widget wid-edit savehist saveplace easy-mmode display-fill-column-indicator autorevert filenotify time xml finder-inf boxquote-autoloads modus-themes-autoloads info package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs password-cache json subr-x map byte-opt gv bytecomp byte-compile cconv url-vars cl-loaddefs cl-lib view bandali-po bandali-erc bandali-message bandali-gnus bandali-dired bandali-ibuffer ibuf-macs bandali-eshell bandali-org advice rmc iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd 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 seq simple cl-generic indonesian philippine 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 inotify lcms2 dynamic-setting font-render-setting cairo x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 272607 55417) (symbols 48 21970 2) (strings 32 80614 6279) (string-bytes 1 2420189) (vectors 16 37593) (vector-slots 8 437507 11528) (floats 8 264 106) (intervals 56 1444 0) (buffers 1000 24))