From nobody Fri Oct 06 13:41:29 2023 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4S28j852PHz4wY91 for ; Fri, 6 Oct 2023 13:41:32 +0000 (UTC) (envelope-from tijl@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4S28j84cDjz3J7R; Fri, 6 Oct 2023 13:41:32 +0000 (UTC) (envelope-from tijl@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696599692; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Jv4iIshxFPMVlwLZW3tXCF9OI8fviLiV2f8vXkT70y4=; b=KvZeDeZ4JPhCob0v5hxSr+XA1Jl4yFUF/ZP3vH/s661LoRScgEj9zdOud5Ygd7qRjQ6kAf RW10Sm7E276Vw3Vb/QcdP54CnxdsCUeVaCSWZGkKkS14bJViVJ1crqNwlToEcSGWRhzbnZ SY7NRGnDE6SBv7AklIApvg62qIUCXy6n5Q26LsD0v+5qumccpkocxpPp/1DgHaALvwY+9l o4cRD/vQzqeRHMyoZbGaFAZbiT3UZw6+Z+Br4eO4mKNYgx5UW8OPrrFZxZGOwmOSWN5gcC kzoFz4CI4uT7yMMNHYeJGoRnweyaIZ7rB6c7ZPQague8b5I1IYBUa8MI47Lo+g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1696599692; a=rsa-sha256; cv=none; b=rSdPbRP+jng7rfyRHflKVCHopjjwfkr3S5/o/kq/Ofm2EL9tjDj2H7/pLuZ7ZXAMbPn5wN +o92ae29dr6+mtaavd8zHdCjeOBbT1UU2IzlBM24U9P60CUSCbtgYSAwuLrR4oCQ+vfq6E LQidG0lG5yReGOP//BRZGnDajPZCF8jO3xCHwPAV+jY2weRD4dOPRRqYdwzdSW0NBPxghQ 2uA8c4zvxgsGN5sUt+QqI55wm0SahG/1ndpHsGCAhp3UNPlC84kpJ1vj0+TBq7rNCH5A0b G+rtL8C790XacCie/NqufNbKqZutj8h3xnhXm1dKcLmy/kMj569bWUteO8jS8Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696599692; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Jv4iIshxFPMVlwLZW3tXCF9OI8fviLiV2f8vXkT70y4=; b=lDb4GngfXQH8Oz6Wl/8ziKwCux8blNi0LRGWMJF8cAUQHVfoL/o1zkis1CipCoEetTKmvr FDq2WljjGAZimSLoLY3uaZHzIVeENxcHr1ZA7HJZjO/IgfnyBlEbSX3ijvfj+UbcukCBr2 5nqsceXxxBpm0nIe7FrLzBkh2oKFgrTyLbzL3ai8VBDu5bWDkA4oLx/kBpQbDuUMu/pJ2U a/Ko17WHnB2rA6v/ISlXfjlL5wuuvbxgI3G/XewzLGD71xpcsLxlHFawbAK6wsAh+75CjT kOmYPqkP1kMoZpTx9C2imK36WtY2nVWuW80lO9lenpI4X9SAHD+YIC4vDBCz5w== Received: from hal.tijl.coosemans.org (unknown [IPv6:2a02:a03f:894b:4700:30a7:6bbb:196c:2ce4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: tijl) by smtp.freebsd.org (Postfix) with ESMTPSA id 4S28j80wtsz1JTr; Fri, 6 Oct 2023 13:41:32 +0000 (UTC) (envelope-from tijl@FreeBSD.org) Date: Fri, 6 Oct 2023 15:41:29 +0200 From: =?UTF-8?B?VMSzbA==?= Coosemans To: Andrea Venturoli Cc: freebsd-questions@freebsd.org Subject: Re: Fonts: DejaVu vs Noto Message-ID: <20231006145526.00ed2c68@hal.tijl.coosemans.org> In-Reply-To: <7adb9090-3697-4eb4-a648-148996b2d4c7@netfence.it> References: <7adb9090-3697-4eb4-a648-148996b2d4c7@netfence.it> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Fri, 6 Oct 2023 09:51:29 +0200 Andrea Venturoli wrote: > Hello. > > I've got some software (e.g. xfce4-terminal) set to use "Monospace" > font: this used to map to "DejaVu" font on 2023Q3 port tree; however, > after the upgrade to 2023Q4, it now mats to "Noto". > > Before (Q3): >> % fc-match Monospace >> DejaVuSansMono.ttf: "DejaVu Sans Mono" "Book" > After (Q4): >> % fc-match Monospace >> NotoSansMono-Regular.ttf: "Noto Sans Mono" "Regular" > > I read about the change stemming from Fedora up to fontconfig... > Fine. > > > > However, in some situation I really want DejaVu instead of Noto: I > thought specifying it explicitly would solve, but it doesn't. > > Before (Q3): >> % fc-match DevaVu >> DejaVuSans.ttf: "DejaVu Sans" "Book" > After (Q4): >> % fc-match DejaVu >> NotoSans-Regular.ttf: "Noto Sans" "Regular" > > This puzzles me and piss me off. > I can I tell the system not to override my choice? > > bye & Thanks in advance > av. > > P.S. > Of course I have dejavu-2.37_3 installed. It looks like fc-match returns exact matches only and default sans-serif otherwise. So you have to run fc-match 'DejaVu Sans'. You can override the default sans-serif font system-wide by creating /usr/local/etc/fonts/local.conf and per user by creating ~/.config/fontconfig/fonts.conf with the following content: Set preferable fonts for Latin sans-serif DejaVu Sans