From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:35734) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ilsyu-0001ti-6q for guix-patches@gnu.org; Mon, 30 Dec 2019 06:13:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ilsys-00058C-Lt for guix-patches@gnu.org; Mon, 30 Dec 2019 06:13:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:54556) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ilsys-000582-Id for guix-patches@gnu.org; Mon, 30 Dec 2019 06:13:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ilsys-00013e-Ci for guix-patches@gnu.org; Mon, 30 Dec 2019 06:13:02 -0500 Subject: [bug#38810] [PATCH] services: console-font: Update example with HDPI font suggestion. Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:35700) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ilsyM-00018K-Vc for guix-patches@gnu.org; Mon, 30 Dec 2019 06:12:32 -0500 From: Jan Nieuwenhuizen Date: Mon, 30 Dec 2019 12:12:27 +0100 Message-ID: <87h81ihxt0.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 38810@debbugs.gnu.org --=-=-= Content-Type: text/plain Hi, Another HDPI-inspired patch; since Marrakech I finally have a readable console font, thanks to Bernhard M. Wiedemann. This solution enters the manual in a kind of tricksy way. More seriously, when updating the `guix system search console font' example output, I found that mingetty and login and ... entries to be missing. Is that a bug, or should the output be fixed? We could also change the example command to `guix search console', then those entries are present again. Greetings, janneke --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-services-console-font-Update-example-with-HDPI-font-.patch Content-Transfer-Encoding: quoted-printable >From 1b0d736405354c2c1aeb7aee00e63307d956ceae Mon Sep 17 00:00:00 2001 From: Jan Nieuwenhuizen Date: Mon, 30 Dec 2019 11:56:58 +0100 Subject: [PATCH] services: console-font: Update example with HDPI font suggestion. This solution was kindly provided by Bernard M. Wiedemann. * gnu/services/base.scm (console-font-service-type): Add ter132n (terminus = 132 nomal) font example, for HDPI displays. * doc/guix.texi (Invoking guix system): Update `guix system search console font' example output. --- doc/guix.texi | 20 +++++++++++++++----- gnu/services/base.scm | 6 +++++- 2 files changed, 20 insertions(+), 6 deletions(-) diff --git a/doc/guix.texi b/doc/guix.texi index 02cecae043..298b9a531c 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -25980,17 +25980,27 @@ supported: Display available service type definitions that match the given regular expressions, sorted by relevance: =20 +@cindex HDPI +@cindex resolution @example $ guix system search console font name: console-fonts location: gnu/services/base.scm:729:2 extends: shepherd-root -description: Install the given fonts on the specified ttys (fonts are -+ per virtual console on GNU/Linux). The value of this service is a list -+ of tty/font pairs like: +description: Install the given fonts on the specified ttys ++ (fonts are per virtual console on GNU/Linux). The value of this ++ service is a list of tty/font pairs. The font can be the name ++ of a font provided by the `kbd' package or any valid argument to ++ `setfont', as in this example: +=20 -+ '(("tty1" . "LatGrkCyr-8x16")) -relevance: 20 ++ '(("tty1" . "LatGrkCyr-8x16") ++ ("tty2" . (file-append ++ font-tamzen ++ "/share/kbd/consolefonts/TamzenForPowerline10x20.ps= f")) ++ ("tty3" . (file-append ++ font-terminus ++ "/share/consolefonts/ter-132n"))) ; for HDPI +relevance: 32 =20 name: mingetty location: gnu/services/base.scm:1048:2 diff --git a/gnu/services/base.scm b/gnu/services/base.scm index b1eff89ecc..77215e411c 100644 --- a/gnu/services/base.scm +++ b/gnu/services/base.scm @@ -10,6 +10,7 @@ ;;; Copyright =C2=A9 2019 Efraim Flashner ;;; Copyright =C2=A9 2019 Tobias Geerinckx-Rice ;;; Copyright =C2=A9 2019 John Soo +;;; Copyright =C2=A9 2019 Jan (janneke) Nieuwenhuizen ;;; ;;; This file is part of GNU Guix. ;;; @@ -818,7 +819,10 @@ package or any valid argument to @command{setfont}, as= in this example: '((\"tty1\" . \"LatGrkCyr-8x16\") (\"tty2\" . (file-append font-tamzen - \"/share/kbd/consolefonts/TamzenForPowerline10x20.psf\"))) + \"/share/kbd/consolefonts/TamzenForPowerline10x20.psf\")) + (\"tty3\" . (file-append + font-terminus + \"/share/consolefonts/ter-132n\"))) ; for HDPI @end example\n"))) =20 (define* (console-font-service tty #:optional (font "LatGrkCyr-8x16")) --=20 2.24.0 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable --=20 Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.com --=-=-=--