From owner-dev-commits-src-main@freebsd.org Thu Jan 7 23:24:46 2021 Return-Path: Delivered-To: dev-commits-src-main@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DC9F74DF1EC; Thu, 7 Jan 2021 23:24:45 +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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DBj4X2mZdz4WGX; Thu, 7 Jan 2021 23:24:43 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 E7F391990B; Thu, 7 Jan 2021 23:24:41 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 107NOfdp067566; Thu, 7 Jan 2021 23:24:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 107NOfRn067565; Thu, 7 Jan 2021 23:24:41 GMT (envelope-from git) Date: Thu, 7 Jan 2021 23:24:41 GMT Message-Id: <202101072324.107NOfRn067565@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Toomas Soome Subject: git: 20fb2ea2c7c9 - main - loader: really use bold font for vga text mode MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: tsoome X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 20fb2ea2c7c9834d6ca5ab2664961afaba6a8596 Auto-Submitted: auto-generated X-BeenThere: dev-commits-src-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for the main branch of the src repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jan 2021 23:24:46 -0000 The branch main has been updated by tsoome: URL: https://cgit.FreeBSD.org/src/commit/?id=20fb2ea2c7c9834d6ca5ab2664961afaba6a8596 commit 20fb2ea2c7c9834d6ca5ab2664961afaba6a8596 Author: Toomas Soome AuthorDate: 2021-01-07 18:11:31 +0000 Commit: Toomas Soome CommitDate: 2021-01-07 23:24:30 +0000 loader: really use bold font for vga text mode 8x16v turns out to be too thin and hard to read, use bold font instead. --- stand/common/gfx_fb.c | 2 +- stand/fonts/Makefile | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/stand/common/gfx_fb.c b/stand/common/gfx_fb.c index f73899c50525..76fd8855a5be 100644 --- a/stand/common/gfx_fb.c +++ b/stand/common/gfx_fb.c @@ -49,7 +49,7 @@ /* VGA text mode does use bold font. */ #if !defined(VGA_8X16_FONT) -#define VGA_8X16_FONT "/boot/fonts/8x16v.fnt" +#define VGA_8X16_FONT "/boot/fonts/8x16b.fnt" #endif #if !defined(DEFAULT_8X16_FONT) #define DEFAULT_8X16_FONT "/boot/fonts/8x16.fnt" diff --git a/stand/fonts/Makefile b/stand/fonts/Makefile index b7b2ea7a0f0d..cf45c7ce5e30 100644 --- a/stand/fonts/Makefile +++ b/stand/fonts/Makefile @@ -9,6 +9,7 @@ FONTS= \ 8x14.fnt.gz \ 8x14v.fnt.gz \ 8x16.fnt.gz \ + 8x16b.fnt.gz \ 8x16v.fnt.gz \ 10x18.fnt.gz \ 10x20.fnt.gz \ @@ -30,6 +31,8 @@ CLEANFILES+= ${FONTS} ${FONTS:T:S/${COMPRESS_EXT}//g} ${COMPRESS_CMD} ${.ALLSRC} > ${.TARGET} 8x16.fnt.gz: 8x16.fnt ${COMPRESS_CMD} ${.ALLSRC} > ${.TARGET} +8x16b.fnt.gz: 8x16b.fnt + ${COMPRESS_CMD} ${.ALLSRC} > ${.TARGET} 8x16v.fnt.gz: 8x16v.fnt ${COMPRESS_CMD} ${.ALLSRC} > ${.TARGET} 10x18.fnt.gz: 10x18.fnt @@ -57,6 +60,9 @@ CLEANFILES+= ${FONTS} ${FONTS:T:S/${COMPRESS_EXT}//g} 8x16.fnt: ter-u16n.bdf ter-u16b.bdf vtfontcvt -o ${.TARGET} ${.ALLSRC} +8x16b.fnt: ter-u16b.bdf + vtfontcvt -o ${.TARGET} ${.ALLSRC} + 8x16v.fnt: ter-u16v.bdf vtfontcvt -o ${.TARGET} ${.ALLSRC}