From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Toni Schmidbauer Newsgroups: gmane.emacs.help Subject: Unicode fonts not correctly displayed Date: Tue, 17 Oct 2023 10:48:07 +0200 Message-ID: <87h6mptymc.fsf@schmidbauer.cc> 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="25715"; mail-complaints-to="usenet@ciao.gmane.io" To: Help-gnu Emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 17 10:58:34 2023 Return-path: Envelope-to: geh-help-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 1qsfuL-0006UG-6q for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 17 Oct 2023 10:58:33 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qsftb-0003Mz-1u; Tue, 17 Oct 2023 04:57:47 -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 1qsftY-0003MU-P0 for help-gnu-emacs@gnu.org; Tue, 17 Oct 2023 04:57:44 -0400 Original-Received: from mout-p-102.mailbox.org ([2001:67c:2050:0:465::102]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1qsftW-0002cq-J1 for help-gnu-emacs@gnu.org; Tue, 17 Oct 2023 04:57:44 -0400 Original-Received: from smtp202.mailbox.org (smtp202.mailbox.org [10.196.197.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4S8ntP2gCDz9sX0 for ; Tue, 17 Oct 2023 10:57:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=stderr.at; s=MBO0001; t=1697533053; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=n6pxDyFs+WiLkbGkvfBfpfcjGXFmlfexH1VGQ6tGuW0=; b=oosTaRaJRWTnBp6PJkMPc1y4s9o7Ja/ugULyix9boq9eHoh0/gtqSaXokbKAP7ccO9ouxt 3AuN3SiGfv15ZAu/3KMuBAlImNAhzvzQIhofrgVSipIW94hchM3NVHBNhetf/jPdUCWAMk NOnRXvwkbb4NH4wUw8OfBv8Ue7b0VuccsC7mNPtrplGydo3qtW2NfzP4eIP1L8OrJbDiEE ir/l57iMfr+kVz8AjutTi3V9iSGhZkHxCRKhEV471G6O4Jl8Kp2Re6E7Ceqj+WfVkUoWN5 0PuEaZM05xDbCgDvr3+XTN3AjEdsLYhvkWywFZrWbb+xctqBnhycs8E9nF6nCw== Received-SPF: pass client-ip=2001:67c:2050:0:465::102; envelope-from=toni+help-gnu-emacs@stderr.at; helo=mout-p-102.mailbox.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:145302 Archived-At: hi, i'm currently struggling with my font config in emacs: =3D=3D=3D=3D=3D=3D=3D=3D (when (member "JetBrainsMono Nerd Font" (font-family-list)) (set-face-attribute 'default nil :font "JetBrainsMonoNerdFont") (set-frame-font 'default "JetBrainsMonoNerdFont 20") (set-face-font 'default "JetBrainsMonoNerdFont 20") (set-face-font 'variable-pitch "JetBrainsMonoNerdFont 20")) ;; Emoji: =F0=9F=98=84, =F0=9F=A4=A6, =F0=9F=8F=B4=F3=A0=81=A7=F3=A0=81=A2= =F3=A0=81=B3=F3=A0=81=A3=F3=A0=81=B4=F3=A0=81=BF (set-fontset-font t 'symbol "Segoe UI Emoji" nil 'append) (set-fontset-font t 'symbol "Segoe UI Symbol" nil 'append) (set-fontset-font t 'symbol "Noto Color Emoji" nil 'append) ;; should include 2b22 (set-fontset-font t 'symbol "Symbola" nil 'append) ;; added just for testing, does not work (set-fontset-font t ?=E2=AC=A2 "Symbola") =3D=3D=3D=3D=3D=3D=3D=3D this is the minimal config i tried (commented out everything else in init.el). emoji's are rendered ok but the unicode glyph u002b22, which should be part of the Symbola font does not render (emacs displays 2b22). when i run what-cursor-position with a prefix arg i get the following information: =3D=3D=3D=3D=3D=3D=3D=3D position: 874 of 1186 (74%), restriction: <40-1187>, column: 21 character: =E2=AC=A2 (displayed as =E2=AC=A2) (codepoint 11042,= #o25442, #x2b22) charset: unicode (Unicode (ISO10646)) code point in charset: 0x2B22 script: symbol syntax: _ which means: symbol category: .:Base to input: type "C-x 8 RET 2b22" or "C-x 8 RET BLACK HEXAGON" buffer code: #xE2 #xAC #xA2 file code: #xE2 #xAC #xA2 (encoded by coding system utf-8-unix) display: no font available Character code properties: customize what to show name: BLACK HEXAGON general-category: So (Symbol, Other) decomposition: (11042) ('=E2=AC=A2') There is an overlay here: From 853 to 887 face hl-line priority -50 window # There are text properties here: fontified t =3D=3D=3D=3D=3D=3D=3D=3D so it tells me "no font available". i'm really struggling to understand why... any hints how this could be solved or debugged? thanks for your valuable time toni