From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eason Huang Newsgroups: gmane.emacs.bugs Subject: bug#64618: 29.0.92; Can't set Fira code font with italic type on Windows system Date: Fri, 14 Jul 2023 23:36:00 +0800 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2698"; mail-complaints-to="usenet@ciao.gmane.io" To: 64618@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jul 14 17:37:22 2023 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 1qKKrB-0000UH-Lb for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 14 Jul 2023 17:37:22 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qKKqx-00027e-T1; Fri, 14 Jul 2023 11:37:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qKKqu-00027I-11 for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2023 11:37:04 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qKKqt-0004Pf-Pd for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2023 11:37:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qKKqt-0004yi-Iw for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2023 11:37:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eason Huang Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 14 Jul 2023 15:37:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 64618 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.168934901019083 (code B ref -1); Fri, 14 Jul 2023 15:37:03 +0000 Original-Received: (at submit) by debbugs.gnu.org; 14 Jul 2023 15:36:50 +0000 Original-Received: from localhost ([127.0.0.1]:43246 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qKKqe-0004xi-V9 for submit@debbugs.gnu.org; Fri, 14 Jul 2023 11:36:49 -0400 Original-Received: from lists.gnu.org ([2001:470:142::17]:43294) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qKKqX-0004xN-Gt for submit@debbugs.gnu.org; Fri, 14 Jul 2023 11:36:46 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qKKqQ-00025w-KL for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2023 11:36:34 -0400 Original-Received: from out203-205-221-245.mail.qq.com ([203.205.221.245]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qKKqM-0004LB-B4 for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2023 11:36:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxmail.com; s=s201512; t=1689348976; bh=Wv/IaqnYRHBbawG4Ch1fVXp0Eumiloe9n/w420vRbPw=; h=From:To:Subject:Date; b=IWDK+yANO+AARwQpkCIQJt9sboaWEEj8PvH4FOfn4P0thKnT5QkmBYaa6vvNgMODw fTehPHpmGPzrfWScvXfzKme2QqtviJpwCgO7S8WPtArH+Ai/FGhvnWrmyghkNzH5NP sU8n9uKCzPua0AZ54fuGgJ6kxmwfm9xKtZasli+E= Original-Received: from DESKTOP-JDOSHSI ([114.82.35.135]) by newxmesmtplogicsvrsza12-0.qq.com (NewEsmtp) with SMTP id 90EA56A4; Fri, 14 Jul 2023 23:36:14 +0800 X-QQ-mid: xmsmtpt1689348974tgzr3965l X-QQ-XMAILINFO: MgAERLP4sJkUIDkYVAR1w2EIurQBttgyFe6Wj1YcKfcH7s2SIIwZzscpdSoVbU H3gyLePTbNlhQ2xLMv+5nZioRvbWgrlZygp9TjFy9Rfb4VtiVS9EdNBRg+pLWz1v5Ap3bpQ2NSnb VQnqwT8UpgrCovTXMlhYJGkY1rZgP8KuO/1PYXiAsULZNY7v+JtwVbJGqWIKIhVoKvHgpR+FsQx4 bXJj3IrTZ4ouG9h+f1+CC9v3LSTpzcGBqhaO2F0bFoiielPiceZfWYC5GbvPCcvd4x0uwPo5IeU2 8I28NOCEefvBYHndgC/Tk8Ra1RRE4zpbWWHViCG3s+kdPjzuCYfoP2vDG2pdVUheL5/skoqm3zW5 V+tPjGLWiPkRzw+faPdvwR9VCDxJv88skRz+EKhAr2Z2JULJQ8FUNlhQasC/w7aHg8Gyq0QN9lK8 QISRevE06m+dbMYtnPdNMAQhALWy3IIgw86dJ1yZ8N+mK6RoTeJjH0/VZQ+y4So6ZzemKeKzFeG1 q4a8MizlNMwxI8NQbEu05ZXRgnKEvuJhGhl9HI2g09AgJ6yEt2J039dEAJJXg0ZqbWvEmOmE6hLI NvqSaAQ5Whpft37WnjIqhKaVoRLCxVzeTh0qNYs3bUuYumf1ye+odJjs1wQ2o6g3ve/Eae3yI2ei C5XyXk/BxzjYsNImpeIfBoeHRE380TC4RlZfd/3nJ/0m8qR5tilpV6kh4cL96y5Mn8q9fpNS+G6Q NH+Z7H2MFQ8NYbAYQ0eZ+k3GmRRnLiWlGfqn1rqMDK2GSAxEf4e11sMLQ5ptgmL0Q7ev9QB0GIMZ 1qvWDs05Bq6zSd+F/9CW5pZv+OlgL6RuP+uKqv66 X-QQ-XMRINFO: NS+P29fieYNw95Bth2bWPxk= Original-Message-ID: <86h6q6cxpb.fsf@foxmail.com> Received-SPF: pass client-ip=203.205.221.245; envelope-from=aqua0210@foxmail.com; helo=out203-205-221-245.mail.qq.com X-Spam_score_int: 11 X-Spam_score: 1.1 X-Spam_bar: + X-Spam_report: (1.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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HELO_DYNAMIC_IPADDR=1.951, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:265103 Hi Emacs, Currently I tried to use Fira Code font on Windows 10, but the italic font can not use on Emacs 29 and Emacs 30, it rolls back to regular font. This only happends on Windows platform. It works as expected on macOS. Does anyone known how to make it works? You can downlaod and install Fira Code from this link: https://github.com/tonsky/FiraCode/releases/download/6.2/Fira_Code_v6.2.zip steps to reproduce: 1. Unzip the Fira_Code_v6.2.zip and install Fira Code fonts in ttf folder 2. Start Emacs with `emacs -Q` 3. From the Menu, choose Options -> Set Default Font... 4. From the popup window, select Fira Code font with italic type Now you will see that the font of current buffer have been changed to Fira Code with Regular font type. It should be the italic font type. But When I tried the Cascadia Mono font, it works as expected. If you want install Cascadia Mono, you can download it from this link: https://github.com/microsoft/cascadia-code/releases/download/v2111.01/CascadiaCode-2111.01.zip -- Eason Huang In GNU Emacs 29.0.92 (build 1, x86_64-w64-mingw32) of 2023-06-20 built on AVALON Windowing system distributor 'Microsoft Corp.', version 10.0.19045 System Description: Microsoft Windows 10 Pro (v10.0.2009.19045.3086) Configured using: 'configure --with-modules --without-dbus --with-native-compilation=aot --without-compress-install --with-tree-sitter CFLAGS=-O2' Configured features: ACL GIF GMP GNUTLS HARFBUZZ JPEG JSON LCMS2 LIBXML2 MODULES NATIVE_COMP NOTIFY W32NOTIFY PDUMPER PNG RSVG SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XPM ZLIB Important settings: value of $LC_CTYPE: zh_CN.UTF-8 value of $LANG: zh_CN.UTF-8 locale-coding-system: cp936 Major mode: ELisp/l 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 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 puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util text-property-search mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils vc-git diff-mode easy-mmode vc-dispatcher time-date cl-loaddefs comp comp-cstr warnings icons subr-x rx cl-seq cl-macs gv cl-extra help-mode bytecomp byte-compile cl-lib china-util rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel dos-w32 ls-lisp disp-table term/w32-win w32-win w32-vars 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 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 theme-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 w32notify w32 lcms2 multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 94994 10544) (symbols 48 8264 0) (strings 32 23639 1595) (string-bytes 1 685340) (vectors 16 17556) (vector-slots 8 431718 22478) (floats 8 46 134) (intervals 56 907 16) (buffers 984 15))