From nobody Tue Jan 16 11:19:19 2024 X-Original-To: freebsd-hackers@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 4TDmqW491fz57SFC for ; Tue, 16 Jan 2024 11:24:07 +0000 (UTC) (envelope-from freebsd-hackers@phoe.frmug.org) Received: from frmug.org (enterprise.frmug.org [213.36.253.97]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4TDmqW0Vrrz4q54 for ; Tue, 16 Jan 2024 11:24:06 +0000 (UTC) (envelope-from freebsd-hackers@phoe.frmug.org) Authentication-Results: mx1.freebsd.org; none Received: by frmug.org (Postfix, from userid 66) id 7D43312B8B8; Tue, 16 Jan 2024 12:24:04 +0100 (CET) Received: by memo2.memo.frmug.org (Postfix, from userid 1001) id 910FE17984; Tue, 16 Jan 2024 12:19:19 +0100 (CET) Date: Tue, 16 Jan 2024 12:19:19 +0100 From: Bertrand Petit To: Miroslav Lachman <000.fbsd@quip.cz> Cc: FreeBSD Hackers Subject: Re: Thunderbird, ligatures, and "fixed-width" fonts Message-ID: <20240116111919.GD14773@memo2.memo.frmug.org> References: <43ad528d-e45c-47fe-837c-cf7716ea7d86@m5p.com> <20240116074513.GC14773@memo2.memo.frmug.org> List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.12.1 (2019-06-15) X-Rspamd-Queue-Id: 4TDmqW0Vrrz4q54 X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:12322, ipnet:213.36.0.0/16, country:FR] On Tue, Jan 16, 2024 at 11:46:54AM +0100, Miroslav Lachman wrote: > > Can this be placed as a separate file into /usr/local/etc/fonts/conf.d/? > This way it will not be overwritten by upgrade or another app. Indeed, you can place the configuration file there. I would argue against it because the settings made there apply to all users, even non interactive ones such as daemons using fontconfig to serve bitmap content generated on the fly. For a desktop user, the best place is still a separate file located in any of the directories listed in /usr/local/etc/fonts/conf.d/50-user.conf. Contrary to fonts.conf, files you name yourself will probably not be altered by the desktop---if they are then its a bug. -- %!PS -- Bertrand Petit /D{def}def/E{exch}D/G{get}D/I{2 div}D/U{dup}D/L{roll}D/Y{setgray}D/N{newpath}D /O{N 0 0 moveto}D/P{pop}D/T{translate}D currentpagedevice/PageSize G U 0 G/w E D 1 G /h E D w I h I T 0 Y 1 setlinewidth 0 1 2 { P 120 rotate 2 4 w U mul h U mul add sqrt I 50 add {N 50 0 3 2 L 0 360 arc stroke}for}for/s{O true charpath pathbbox exch 4 -1 L E sub I 3 1 L sub I} D /l(bp)D 0.94 Y /Helvetica findfont 22 scalefont setfont l s P(x)s exch P T O l show showpage