[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#40120] [PATCH] doc: guix.texi: Add console-font-service-type to Bas

From: John Soo
Subject: [bug#40120] [PATCH] doc: guix.texi: Add console-font-service-type to Base Services.
Date: Sat, 21 Mar 2020 16:16:35 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Hi Ludo,

>> * doc/guix.texi (console-font-service-type): Add it.
>                   ^
> This should be the name of the section this is added in.

>> +@deffn {Scheme Procedure} console-font-service-type @var{tty-font-pairs}
> This should be @defvr because it’s a variable, not a procedure (and thus
> has no arguments).

Done and done, thanks again!


>From 74e8c62c584ac33909036992dde7d4cf3a1c7588 Mon Sep 17 00:00:00 2001
From: John Soo <address@hidden>
Date: Wed, 18 Mar 2020 08:33:59 -0700
Subject: [PATCH] doc: guix.texi: Add console-font-service-type to Base

* doc/guix.texi (Base Services): Add console-font-service-type.
 doc/guix.texi | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/doc/guix.texi b/doc/guix.texi
index c2eff582f8..8c694a9e73 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -12287,6 +12287,23 @@ symlink:
 Return a service that sets the host name to @var{name}.
 @end deffn
+@defvr {Scheme Procedure} console-font-service-type @var{tty-font-pairs}
+Install the given fonts on the specified ttys (fonts are per
+virtual console on the kernel 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 @code{kbd}
+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\"))
+  (\"tty3\" . (file-append
+                font-terminus
+                \"/share/consolefonts/ter-132n\"))) ; for HDPI
+@end lisp
+@end deffn
 @deffn {Scheme Procedure} login-service @var{config}
 Return a service to run login according to @var{config}, a
 @code{<login-configuration>} object, which specifies the message of the day,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]