From nobody Sat Feb 03 04:22:57 2024 X-Original-To: dev-commits-src-main@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 4TRfdG1nz7z590p0; Sat, 3 Feb 2024 04:22:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TRfdG1JMrz4vTN; Sat, 3 Feb 2024 04:22:58 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706934178; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ewSiQlCsVdevUANJBCKGVK40eKjzT4Nc/SpklrlIBjk=; b=k4Lb9+0hWq6Zw7efz/AgbPrhtYnfvUQgK2Hj1lk06iQtJkJc3MbNcRW7Mg/dTDx57oj6DL /3M1Lg5ROIYXo5OfiCep1HyHjt0Uu9sBQIFQWRJhUygqWBCbHdUHkb/moEemhubkjNI6M3 KHwQqRLE8rur2hVQmxUmdalsgodzRre7miJop/PCjfeca5Eh75Wx+AkxxqMYmY3BDe46nH Lhp7AAIHjcwrb3B+NaPSDVpyOWMZahqDEsenUtAdP9FDVsO5MhSM7a/3UCstbhC3hcKr3i WsbexUd4tkKz1E0AhQCHZ3fzqVSUbQXzXGwr5lrditjyklHwzPvNKcGP6Ob7IQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706934178; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ewSiQlCsVdevUANJBCKGVK40eKjzT4Nc/SpklrlIBjk=; b=kaZVKB3CyuIHSMagRha9/T8dZHrKfdGoUmIcUxQ8SHRWtxLJHYWiYNq5EER18FYa741Coq bGjoYIOBPPp60+L37D6HOmfxqb5AvIYiVG0emmoJyDO/shtJf+tU6Q9b3wbhydWaPquyUZ NxMHQLjrlq9e4891osfpQE0YCxgjnajjRWDv3r91G7vXK40GrdysV5xbEDG7YdqJcipDH8 2BJn2ead8BXHF+uH92ELM89T8fZ/mMFgAMq7M5RTiNIC0lwumYn8b3jyM7N5gJ6VPEO0q+ XsaOIMHmQhX4SOycYe0kN3VV1uZo36TLM5dBCjbWLl2Yl4w6uCVzfHsvnj7WSg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706934178; a=rsa-sha256; cv=none; b=TPj6Tc+4naNGwXdO6k8B8HAKYaO2GoOJoUPdW9berCUxwHW7ydLSEuLywHEtTIlOXXIbK3 hDYdpaRPY5GNgODqZLA3KMQd14D1WGpvWsvvfLsbazbSkJhyKVrtb/DS639HEYBQZVKO9B gull/Ri6Nr+Zk0XZ+4IST2/yQQE4LUUdlQj23a0iNhfTwHhpld+KtiKvfMbAhjXiBIFn1i anALmS7r13XXySOBFk1xD++ymr/M5xxcSNqWT0nsQQmdCbc/ZGCX4MWgwxbwIfZ+RaZoHn z23cOHWO+dIdruDQXM5pQm6cu+Fr/yNgPZd93IOz4EAFFHDB8izVmvD8NJqHlg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TRfdG0MyWz108h; Sat, 3 Feb 2024 04:22:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 4134Mve6099462; Sat, 3 Feb 2024 04:22:57 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 4134MvVP099459; Sat, 3 Feb 2024 04:22:57 GMT (envelope-from git) Date: Sat, 3 Feb 2024 04:22:57 GMT Message-Id: <202402030422.4134MvVP099459@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: 7bd6cbbf69c7 - main - vt.4: explain console fonts List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7bd6cbbf69c7a9b952ebed096625a4a4a6b7bbfd Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=7bd6cbbf69c7a9b952ebed096625a4a4a6b7bbfd commit 7bd6cbbf69c7a9b952ebed096625a4a4a6b7bbfd Author: Alexander Ziaee AuthorDate: 2024-01-15 19:54:20 +0000 Commit: Warner Losh CommitDate: 2024-02-03 04:21:45 +0000 vt.4: explain console fonts Add explaination about console fonts, how to convert them, which subset of things support them and how to use them. Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/1063 --- share/man/man4/vt.4 | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/share/man/man4/vt.4 b/share/man/man4/vt.4 index 2876d1ca8d84..ed4da98df673 100644 --- a/share/man/man4/vt.4 +++ b/share/man/man4/vt.4 @@ -47,6 +47,7 @@ In .Cd kern.vt.color..rgb="" .Cd kern.vt.fb.default_mode="x" .Cd kern.vt.fb.modes.="x" +.Cd screen.font="x" .Pp In .Xr loader.conf 5 or @@ -257,6 +258,11 @@ It will contain a list of connectors and their associated tunables. This is currently only supported by the .Cm vt_fb backend when it is paired with a KMS video driver. +.It Va screen.font +Set this value to the base name of the desired font file located in +.Pa /boot/fonts . +Fonts can be converted for use with +.Xr vtfontcvt 8 . .El .Sh KEYBOARD SYSCTL TUNABLES These settings control whether certain special key combinations are enabled or @@ -358,6 +364,14 @@ To set black and white colors of console palette .Pp .Dl kern.vt.color.0.rgb="10,10,10" .Dl kern.vt.color.15.rgb="#f0f0f0" +.Pp +Load the 8x16 font in +.Xr loader.conf 5 +from +.Pa /boot/fonts/*.fnt[.gz] +at boot: +.Pp +.Dl screen.font="8x16" .Sh SEE ALSO .Xr kbdcontrol 1 , .Xr login 1 , @@ -371,6 +385,7 @@ To set black and white colors of console palette .Xr syscons 4 , .Xr ukbd 4 , .Xr kbdmap 5 , +.Xr loader.conf 5 , .Xr rc.conf 5 , .Xr ttys 5 , .Xr config 8 ,