From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 6PPMAXRFemdJKAEAqHPOHw:P1 (envelope-from ) for ; Sun, 05 Jan 2025 08:40:20 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 6PPMAXRFemdJKAEAqHPOHw (envelope-from ) for ; Sun, 05 Jan 2025 09:40:20 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=simendsjo.me header.s=fm2 header.b=eQA4SH56; dkim=pass header.d=messagingengine.com header.s=fm2 header.b="t LejUSk"; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=simendsjo.me ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1736066419; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=D0qcXVl0tDNt4XI4V7q82VDbUn+gbCP5NPMCPLwGY0s=; b=Xbwg4X4nSWsfxrR1L0DEHL5TJecux8hxlYPHx04I8ycoOQQXVD4Dv3L9c+1OhwaUuMA280 hPKY6+yW/PTiWO80KoE072fpjSyL8sYV5UigBHx4ex6qMaihiJ81WUzeGBCovIXFiHmS16 nFYEBT9ENrRWoC8MGTcFTbON+NUMhnJQayVsqVpB+Xe80S7ZddEfiSNUf/iYkk/Bw9n+oG sr6oTdx5W5TpjOJ2O6az8/ISg6BMBV3kGnpTUXO495pP2P+4zyLTffgGtz+k4dUk4LP9RU K//gfJKMbho00segfvWCzHnT83OeG65Ylxn3alETR1dTqjYer0nlmc/KdKJcZQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=simendsjo.me header.s=fm2 header.b=eQA4SH56; dkim=pass header.d=messagingengine.com header.s=fm2 header.b="t LejUSk"; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=simendsjo.me ARC-Seal: i=1; s=key1; d=yhetil.org; t=1736066419; a=rsa-sha256; cv=none; b=GHf0he5G4YfPjImyYo6+zU7GxGcrHPMdZmCc+sM9sIgos3PtUOAQrTPFtTfBgosvxx66pJ WwqeNTJ5Cn92OLi/4OhwH/7JtdZU2bRrdLDCJiSVuSbjcvr+hp9nqATIdgLLqXpSUY9PuG tXnbzKC84r1UDfPl0FpSuWTcf8akaDWBb/+xfk3d/LC94ufZDP+D/QumTJBemoCPMrD3Pf SCVKwkuyH7RWGs0vxcuYK3oDdreqvBgV8BcjmNZd0nSG/u/OMu24ZYJHE7WdoHECu5u9kc R7oSMOit5ozqEvxlDcBD+ruaIKmtDPayidvsAlm0eT7DtXb3KZGLkiQtmfYL0g== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 32896378DF for ; Sun, 05 Jan 2025 09:40:19 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tUMAj-0007MG-7Q; Sun, 05 Jan 2025 03:39:45 -0500 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 1tUMAi-0007Lm-1s for help-guix@gnu.org; Sun, 05 Jan 2025 03:39:44 -0500 Received: from fout-a5-smtp.messagingengine.com ([103.168.172.148]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tUMAf-0005h3-N3 for help-guix@gnu.org; Sun, 05 Jan 2025 03:39:43 -0500 Received: from phl-compute-03.internal (phl-compute-03.phl.internal [10.202.2.43]) by mailfout.phl.internal (Postfix) with ESMTP id B1D1913801E4; Sun, 5 Jan 2025 03:39:38 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-03.internal (MEProxy); Sun, 05 Jan 2025 03:39:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=simendsjo.me; h= cc:content-type:content-type:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:subject:subject:to:to; s=fm2; t=1736066378; x=1736152778; bh=D0qcXVl0tDNt4XI4V7q82VDbUn+gbCP5 NPMCPLwGY0s=; b=eQA4SH5635H4sHHy+LM4I9SAOegxDx36/T2/thp3jDT7TI7b g3mY665T+2cJv0CFB1nRv0zyTkD0S+nZA6ooLhTYz+Rin87jH3MuGOs9JKOxCVQM 26+ihg1g28LeXF98HNmKMnvRsIHlBOcgQfeZBKve7yp0U/aSQul2fYsvIgb7xxb1 A4Br3Wt50gUqYy7yUqI8RSjkOhduRiMu/RLWX40TRMvVt7RqiLRJZ1uQnsASmtSv cPAfpwmf5KRaIQGq+RynfA+l8hNvXT8EVy9+5jytnhBim/g7Z/S7s8iL0OiWZHrU uO5B9sBK681mMsB/vaIaKGI9MLPWZU8cEW+45A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1736066378; x= 1736152778; bh=D0qcXVl0tDNt4XI4V7q82VDbUn+gbCP5NPMCPLwGY0s=; b=t LejUSkikMvW5JA8H7k8fYKGFO2vHso0LxWuf6VPmdbj8K7mAgu54uobJwXwGJitl SiSV71gyDGe6Ux6n8aOA8eZAeLPIbxVgPpkzYItwSxp18xvUWOv76DeGdiPvugUt ZJNT9Os32bwkuzDOIc718QPZeba2jKe0SkrmlxRstFNS6jISsfo/VDqw56qVi/ty qydH192Do27N9lV/r8/QyCC/VjPpUqsG5Pf9bEUmwTWwy8W2k+KUeIU7kU9uzpKX 31bhNznwE6B0SsqjEb0vgjbM+QyleyW0qFAULBjHadCc0i5TkgiQBQ7Qd5+L26o0 o1G592BGMGrUkAeT3TOtQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrudefjedguddvgecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurhephffvuf gffffkgggtsehgtderredtreejnecuhfhrohhmpefuihhmvghnucfgnhgushhjppcuoegt ohhnthgrtghtsehsihhmvghnughsjhhordhmvgeqnecuggftrfgrthhtvghrnhepfeffje efgffgueelkeekjedtheehudegfffgveefkeffvdffhfettddvtdehjedtnecuffhomhgr ihhnpehshihsthgvmhdrlhhotggrlhdprhgvghhulhgrrhdrlhhotggrlhenucevlhhush htvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegtohhnthgrtghtsehs ihhmvghnughsjhhordhmvgdpnhgspghrtghpthhtohepuddpmhhouggvpehsmhhtphhouh htpdhrtghpthhtohephhgvlhhpqdhguhhigiesghhnuhdrohhrgh X-ME-Proxy: Feedback-ID: i08f14972:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Sun, 5 Jan 2025 03:39:37 -0500 (EST) From: =?utf-8?Q?Simen_Endsj=C3=B8?= To: help-guix@gnu.org Subject: Different/incorrect font chosen -- fontconfig not deterministic? User-Agent: mu4e 1.12.7; emacs 29.4 Date: Sun, 05 Jan 2025 09:39:28 +0100 Message-ID: <87o70lslhb.fsf@simendsjo.me> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=103.168.172.148; envelope-from=contact@simendsjo.me; helo=fout-a5-smtp.messagingengine.com 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, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -4.66 X-Spam-Score: -4.66 X-Migadu-Queue-Id: 32896378DF X-TUID: WJKhPzso3Y1b --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable I=E2=80=99m having problems where the wrong/different font is chosen on one computer even though my setup should be the same. On my first system, Material Icons font is chosen, but on the second system, Symbols Nerd Font and GNU Unifont is chosen. I copied my old operating-system configuration and only did minor tweaks to support the new system (e.g. change hostname), but the font setup is the same. I also use the exact same home-environment and the same emacs configuration. Material Icons is added by emacs `all-the-icons-install-fonts' and added to `~/.local/share/fonts/material-design-icons.ttf'. This file exist on both systems. fc-list shows this font too. So I=E2=80=99m guessing fontconfig is not deterministic in some way here. `fc-cache -fr' doesn=E2=80=99t help, and I=E2=80=99ve tried rebuilding the = system, home and rebooted too. Char 1 (=EE=A2=B8) shows a different icon than intended as Nerd and Material uses different symbols for the character. First system - correct: =E2=94=8C=E2=94=80=E2=94=80=E2=94=80=E2=94=80 =E2=94=82 position: 57 of 1659 (3%), column: 0 =E2=94=82 character: =EE=A2=B8 (displayed as =EE=A2=B8) (codepo= int 59576, #o164270, #xe8b8) =E2=94=82 charset: unicode-bmp (Unicode Basic Multilingual Pl= ane (U+0000..U+FFFF)) =E2=94=82 code point in charset: 0xE8B8 =E2=94=82 syntax: w which means: word =E2=94=82 category: L:Strong L2R =E2=94=82 to input: type "C-x 8 RET e8b8" =E2=94=82 buffer code: #xEE #xA2 #xB8 =E2=94=82 file code: #xEE #xA2 #xB8 (encoded by coding system u= tf-8-unix) =E2=94=82 display: by this font (glyph code): =E2=94=82 ftcrhb:-unknown-Material Icons-regular-normal-normal-*-24-*-*= -*-m-0-iso10646-1 (#x34A) =E2=94=82 =E2=94=82 Character code properties: customize what to show =E2=94=82 general-category: Co (Other, Private Use) =E2=94=82 decomposition: (59576) ('=EE=A2=B8') =E2=94=94=E2=94=80=E2=94=80=E2=94=80=E2=94=80 Second system - incorrect/different: =E2=94=8C=E2=94=80=E2=94=80=E2=94=80=E2=94=80 =E2=94=82 position: 50 of 53 (92%), column: 0 =E2=94=82 character: =EE=A2=B8 (displayed as =EE=A2=B8) (codepo= int 59576, #o164270, #xe8b8) =E2=94=82 charset: unicode-bmp (Unicode Basic Multilingual Pl= ane (U+0000..U+FFFF)) =E2=94=82 code point in charset: 0xE8B8 =E2=94=82 syntax: w which means: word =E2=94=82 category: L:Strong L2R =E2=94=82 to input: type "C-x 8 RET e8b8" =E2=94=82 buffer code: #xEE #xA2 #xB8 =E2=94=82 file code: #xEE #xA2 #xB8 (encoded by coding system u= tf-8-unix) =E2=94=82 display: by this font (glyph code): =E2=94=82 ftcrhb:-PfEd-Symbols Nerd Font Mono-regular-normal-normal-*-2= 4-*-*-*-m-0-iso10646-1 (#x448) =E2=94=82 =E2=94=82 Character code properties: customize what to show =E2=94=82 general-category: Co (Other, Private Use) =E2=94=82 decomposition: (59576) ('=EE=A2=B8') =E2=94=94=E2=94=80=E2=94=80=E2=94=80=E2=94=80 Char 2 (=EE=97=99) choose a font which doesn=E2=80=99t have this character = at all, so it renders as E5 D9. First system =E2=80=93 correct: =E2=94=8C=E2=94=80=E2=94=80=E2=94=80=E2=94=80 =E2=94=82 position: 1649 of 2449 (67%), column: 0 =E2=94=82 character: =EE=97=99 (displayed as =EE=97=99) (codepo= int 58841, #o162731, #xe5d9) =E2=94=82 charset: unicode-bmp (Unicode Basic Multilingual Pl= ane (U+0000..U+FFFF)) =E2=94=82 code point in charset: 0xE5D9 =E2=94=82 syntax: w which means: word =E2=94=82 category: L:Strong L2R, j:Japanese =E2=94=82 to input: type "C-x 8 RET e5d9" =E2=94=82 buffer code: #xEE #x97 #x99 =E2=94=82 file code: #xEE #x97 #x99 (encoded by coding system u= tf-8-unix) =E2=94=82 display: by this font (glyph code): =E2=94=82 ftcrhb:-unknown-Material Icons-regular-normal-normal-*-24-*-*= -*-m-0-iso10646-1 (#x27D) =E2=94=82 =E2=94=82 Character code properties: customize what to show =E2=94=82 general-category: Co (Other, Private Use) =E2=94=82 decomposition: (58841) ('=EE=97=99') =E2=94=94=E2=94=80=E2=94=80=E2=94=80=E2=94=80 Second system =E2=80=93 incorrect font chosen: =E2=94=8C=E2=94=80=E2=94=80=E2=94=80=E2=94=80 =E2=94=82 position: 859 of 891 (96%), column: 0 =E2=94=82 character: =EE=97=99 (displayed as =EE=97=99) (codepo= int 58841, #o162731, #xe5d9) =E2=94=82 charset: unicode-bmp (Unicode Basic Multilingual Pl= ane (U+0000..U+FFFF)) =E2=94=82 code point in charset: 0xE5D9 =E2=94=82 syntax: w which means: word =E2=94=82 category: L:Strong L2R, j:Japanese =E2=94=82 to input: type "C-x 8 RET e5d9" =E2=94=82 buffer code: #xEE #x97 #x99 =E2=94=82 file code: #xEE #x97 #x99 (encoded by coding system u= tf-8-unix) =E2=94=82 display: by this font (glyph code): =E2=94=82 ftcrhb:-GNU -Unifont Sample-regular-normal-normal-*-24-*-*-*-= d-0-iso10646-1 (#xDDD8) =E2=94=82 =E2=94=82 Character code properties: customize what to show =E2=94=82 general-category: Co (Other, Private Use) =E2=94=82 decomposition: (58841) ('=EE=97=99') =E2=94=94=E2=94=80=E2=94=80=E2=94=80=E2=94=80 The fonts in fc-list lists the fonts in different order on the two systems, which is probably the reason why it picks different fonts on the two systems, but it doesn=E2=80=99t explain why it picks a font which doesn=E2=80=99t have the symbol=E2=80=A6? =E2=94=8C=E2=94=80=E2=94=80=E2=94=80=E2=94=80 =E2=94=82 fc-list | grep -i material =E2=94=94=E2=94=80=E2=94=80=E2=94=80=E2=94=80 First (correct) system: =E2=94=8C=E2=94=80=E2=94=80=E2=94=80=E2=94=80 =E2=94=82 ~/.local/share/fonts/material-design-icons.ttf: Material Icons:st= yle=3DRegular =E2=94=82 ~/.guix-home/profile/share/fonts/web/MaterialIcons-Regular.woff: = Material Icons:style=3DRegular =E2=94=82 ~/.guix-home/profile/share/fonts/truetype/MaterialIcons-Regular.t= tf: Material Icons:style=3DRegular =E2=94=94=E2=94=80=E2=94=80=E2=94=80=E2=94=80 Second (incorrect) system: =E2=94=8C=E2=94=80=E2=94=80=E2=94=80=E2=94=80 =E2=94=82 ~/.guix-home/profile/share/fonts/web/MaterialIcons-Regular.woff: = Material Icons:style=3DRegular =E2=94=82 ~/.local/share/fonts/material-design-icons.ttf: Material Icons:st= yle=3DRegular =E2=94=82 ~/.guix-home/profile/share/fonts/truetype/MaterialIcons-Regular.t= tf: Material Icons:style=3DRegular =E2=94=94=E2=94=80=E2=94=80=E2=94=80=E2=94=80 What is the correct way to make the systems deterministic? And only choose a font which has symbols defined? And choose the preferred fonts in different situations? --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFJBAEBCAAzFiEEsPLWxSk2lf1XtdJVd7xjRbZdbPsFAmd6RUAVHGNvbnRhY3RA c2ltZW5kc2pvLm1lAAoJEHe8Y0W2XWz7e24IAJoZnqaotxaj6wavAmedvxiiJb9W GaKIh7UD6Yait3yAHiG6h+u5f9KxjqGcl98LjOM65X5zHG6L3FXHq/HOzMBP4Nl2 DK8yqth1W8QB014BxVwNVxOwiKPWcmy/Nwi+MBPYlH1rHCEjwTfinOfvQDmkb7O3 EB5C11kQejEdliiMTvWRu7/UAwWCru+oYnW2/T8oHpi7oz6tQpotxxSw56pXST/2 k40R3j0kB10f2p/3ZT7DtjPVtn/y7d/w7iJ1wXK6fPjsvu0SJfxP0n3BCeXAp/DD cX8yDu8FUl5gAlBQSA8t4xyFHeUDwVqZctDdJRv1pXsS/fojqiMwV9v7dWA= =A2VN -----END PGP SIGNATURE----- --=-=-=--