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#53050: 29.0.50; freetype font drivers reports invalid weight Date: Thu, 06 Jan 2022 19:54:42 +0800 Message-ID: <87czl53wql.fsf@yahoo.com> References: <87czl53wql.fsf.ref@yahoo.com> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28500"; mail-complaints-to="usenet@ciao.gmane.io" To: 53050@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jan 06 12:56:13 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 1n5RNN-0007FU-6y for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 06 Jan 2022 12:56:13 +0100 Original-Received: from localhost ([::1]:39972 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n5RNM-00017J-5M for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 06 Jan 2022 06:56:12 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:48358) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n5RNC-00014J-W3 for bug-gnu-emacs@gnu.org; Thu, 06 Jan 2022 06:56:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46904) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n5RNC-000545-Mu for bug-gnu-emacs@gnu.org; Thu, 06 Jan 2022 06:56:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n5RNC-0004nx-I3 for bug-gnu-emacs@gnu.org; Thu, 06 Jan 2022 06:56:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 06 Jan 2022 11:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 53050 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.164147010618399 (code B ref -1); Thu, 06 Jan 2022 11:56:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 6 Jan 2022 11:55:06 +0000 Original-Received: from localhost ([127.0.0.1]:39807 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n5RME-0004mc-Qj for submit@debbugs.gnu.org; Thu, 06 Jan 2022 06:55:06 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:41444) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n5RMA-0004m8-3t for submit@debbugs.gnu.org; Thu, 06 Jan 2022 06:55:01 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:48130) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n5RM9-0000rK-Nb for bug-gnu-emacs@gnu.org; Thu, 06 Jan 2022 06:54:57 -0500 Original-Received: from sonic303-21.consmr.mail.ne1.yahoo.com ([66.163.188.147]:36716) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n5RM7-0004na-0k for bug-gnu-emacs@gnu.org; Thu, 06 Jan 2022 06:54:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1641470092; bh=jRit98tIlAJaZ3QWpRSGpvmMhrWgnwcBP2gWcd3NC4s=; h=From:To:Subject:Date:References:From:Subject:Reply-To; b=pqJSDeKDmvzvYlm2qsHxhCj5EBkNhy9+HBAuHawlDVMZomrCIDkxKb9iwdbKSWG73ojD528QdJ0shxDeV9XUB1aYw1UyoQl8voLXdrIqnBK7mbG/2hcTfMWaX9xQoryX7Sb67P/UbXOd46NdkK1xxpF+L3PvlpPk1YhwirIBxkVuopSYyS1ToQ8UcguZXQ8gpnstJpv8z7Awetbth1B04nC3RmIuaxrm2p2An6Gho9SehcfFyiGvqRJ0ltZYESG7igXXYGJEHWX99ogSlUzCcv4zYcGn8ulIRmvLnoXTuKAYQ26xkQMA1Dr+hfHmb6IKxPEbmBEGawHRWMPAfhlj6w== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1641470092; bh=Gkw1cLaONuqAx1+a3tgfp1G7p3Rt5romYjA/uV26uYM=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=iZ6C8uAKCGYxdvVFXL6zQ3Sws6QNWaNRdX2j8aiImDgHO8aPJovrUPh87P1kWIISoXonp/Yz043cc+iX4FnQQpemHlLZOH4aijnaHeKjTRZjQxnAvcN9xImriHpYwbJotuvLuQH2r2wCS04seI3r6bEIriwdMlw4HNucfbQCUnVLLQStrW4fDbRBVWONwgeTnxM6ZSj5Kts5NjQhhg7GkicdxFOH0fX5xYp3a6Stm8TF6iu7MS5lfqfZ2izodVyj2ztQe8WEh9N8RnghIYgy6flQNL5k3vfTzxw5VxCHi9pPMlUSpoPISjadO+FN1szTgeTusHl2bVXJAbqshotXzQ== X-YMail-OSG: BtGjYcQVM1kpNtO3QlYAD7c1Kx7bj0NguWwnZDVfxQTJyzWPeJ.TLWtOe6S3vXa G_M9s_y2DqUc9STEg6zg4PhlkEk.QlDY0ICByc_YVae7b3SJQ1OiFxby7phhmwYpGSTrzM.KxMWS EIbm9bWjb2hfh7QZNKt8eKD0iss5SaiziHtjXI7rVJOR1p_1vHngXKoKtz2F6e0lnHswilWzbfEw N5ayPcskhXDLzkwYlH_3Y1vpNKJvZgJBvExIM.v50hCTWD6zbRRNn5rmGODoIimIJ1AxjvWAH8PX puSfaQUe1buB4m1894P0G_zEgmDiWm7Ob4oBd8YPkunSip522qEAk1E8Z4djtumR1hVWFJgZLX_0 aSvAYOL6T.zDUoUeS4COmFtmULcmjm2AUklpOnqWSuVd.g1VKQn0JWiXj1HMi6VEzzRG2NHw95Iw c9KefsBBAlsxhdA4nS9qkTDZjDi72cfbOI.dPujukECjCIueIlxKe_Q2QU4f_IypNtH9CE1Ek044 Amxaj09By29Ev6DeE429uRXbllsgwiFK3MrSelCOCu41a5CXPA1zdA1B9tXvw5.7yxm4bWEeZ2d3 lFcDgu88lbV.VliGiXvZcO.mUERY3imgfpYyLzWYVQR0.QKzpKJOb6UowvJ67_URNbqXndeSX7q4 GYAXM9ZIZ1qhslUQMPNiM.F840Qp5Oablj3Fj6q4EJUf.XIJcL47VL3DVEkTrzJW25_VsJHWLC9H UGtkccVcvWqZJo7rMZbpJ7R8PN5EZ_bAe0EpaXSybA4h8n8Q3tsPGbdME2A7iKkSQQBBW..e87rp eSoWyjf5dhrhoQ3xbszeKpKTZfb9Cvr0.Z58BouEhn X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.ne1.yahoo.com with HTTP; Thu, 6 Jan 2022 11:54:52 +0000 Original-Received: by kubenode510.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 055888eb3e6fe0acc63d5d9669bdc84e; Thu, 06 Jan 2022 11:54:46 +0000 (UTC) X-Mailer: WebService/1.1.19551 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.188.147; envelope-from=luangruo@yahoo.com; helo=sonic303-21.consmr.mail.ne1.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:223729 Archived-At: Do `M-x set-frame-font RET' on a build using a fontconfig-based font driver (such as ftcrhb) and hit TAB. There will be many fonts like this: -1ASC-Liberation Mono-regular-italic-normal-*-*-*-*-*-m-0-iso10646-1 -1ASC-Liberation Mono-regular-normal-normal-*-*-*-*-*-m-0-iso10646-1 Where the weight specification is `regular'. The documentation for the `weight' spec, however, says: =E2=80=98:weight=E2=80=99 Font weight=E2=80=94one of the symbols (from densest to faintest) =E2=80=98ultra-bold=E2=80=99, =E2=80=98extra-bold=E2=80=99, =E2=80=98b= old=E2=80=99, =E2=80=98semi-bold=E2=80=99, =E2=80=98normal=E2=80=99, =E2=80=98semi-light=E2=80=99, =E2=80=98light=E2=80=99, =E2=80=98extra-= light=E2=80=99, or =E2=80=98ultra-light=E2=80=99. On text terminals which support variable-brightness text, any weight greater than normal is displayed as extra bright, and any weight less than normal is displayed as half-bright. Which doesn't include `regular' as a valid weight. In Emacs 28, the same fonts' weight attributes are also simply `normal'. In GNU Emacs 29.0.50 (build 93, x86_64-pc-linux-gnu, GTK+ Version 3.24.30, = cairo version 1.17.4) of 2022-01-06 built on trinity Repository revision: 2ab73286b7a58eb983da21bca8b781ec884eb996 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12101003 System Description: Fedora Linux 35 (Workstation Edition) Configured using: 'configure --cache-file=3D/tmp/ccache --with-xwidgets --with-xinput2' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS WEBP X11 XDBE XIM XINPUT2 XPM XWIDGETS GTK3 ZLIB Important settings: value of $LANG: en_GB.UTF-8 value of $XMODIFIERS: @im=3Dibus 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 auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-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/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 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 simple abbrev obarray cl-preloaded nadvice 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 xwidget-internal dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit xinput2 x multi-tty make-network-process emacs) Memory information: ((conses 16 44450 6418) (symbols 48 5670 1) (strings 32 17884 1243) (string-bytes 1 577300) (vectors 16 10772) (vector-slots 8 155225 10811) (floats 8 21 51) (intervals 56 202 0) (buffers 992 10))