From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Vollmert Subject: Re: how to make fonts available to a service? Date: Sat, 13 Jul 2019 16:59:59 +0200 Message-ID: <087B3C4D-4A3D-435B-826A-0BD2D475A122@vllmrt.net> References: <2922F2BE-80D0-4A9E-8F74-AF02546E032A@vllmrt.net> Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:53118) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hmJVW-0005U1-GM for guix-devel@gnu.org; Sat, 13 Jul 2019 11:00:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hmJVU-00027v-EJ for guix-devel@gnu.org; Sat, 13 Jul 2019 11:00:14 -0400 Received: from mx1.mailbox.org ([2001:67c:2050:104:0:1:25:1]:13528) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hmJVU-0001xd-7a for guix-devel@gnu.org; Sat, 13 Jul 2019 11:00:12 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:105:465:1:1:0]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by mx1.mailbox.org (Postfix) with ESMTPS id 1B503507EB for ; Sat, 13 Jul 2019 17:00:04 +0200 (CEST) Received: from smtp1.mailbox.org ([80.241.60.240]) by gerste.heinlein-support.de (gerste.heinlein-support.de [91.198.250.173]) (amavisd-new, port 10030) with ESMTP id n0kvEAg0wNw2 for ; Sat, 13 Jul 2019 16:59:59 +0200 (CEST) In-Reply-To: <2922F2BE-80D0-4A9E-8F74-AF02546E032A@vllmrt.net> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org > On 12. Jul 2019, at 22:42, Robert Vollmert wrote: > I=E2=80=99m a bit at a loss right now with respect to how to make = fonts available > to system services. >=20 > I=E2=80=99m running a service that uses rsvg-convert (from package = librsvg) to > raster some SVG graphics. However, it appears that the default fonts > are missing some Unicode character. >=20 > It seems that I can make fonts available in my user profile by = installing > the corresponding font package, and those would be available to = rsvg-convert > via fontconfig via ~/.guix-profile/share/fonts. But how would I do the > same for a service? It turns out this was easy to fix, by adding a font package to the list of installed packages in the operating system definition. (and apologies for sending this to -devel instead of help-)