[Bug 282465] Corrupted bootloader font after update to 14.2-STABLE #0 stable/14-4e8444d575 after 26 October
Date: Sat, 02 Nov 2024 22:04:00 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282465
--- Comment #13 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=c2ba66d4d01f23303352bfe3cbd50ff5d9a05947
commit c2ba66d4d01f23303352bfe3cbd50ff5d9a05947
Author: Warner Losh <imp@FreeBSD.org>
AuthorDate: 2024-11-02 22:02:44 +0000
Commit: Warner Losh <imp@FreeBSD.org>
CommitDate: 2024-11-02 22:02:44 +0000
loader: Fix boot menu on BIOS
Only the gfx-enabled boot loader supports unicode. Otherwise, we have to
use the old cons25 / ibmpc upper code page drawing characters. Check to
see if we have the gfx.term_drawbox function. If we do, we support the
unicode drawing characters. If we don't, then we have an older loader
that doesn't support it *OR* we have the reduced function, text-only
boot loader. In either of those cases, we need to use the old graphics
characters. Abstract all those details into core.hasUnicode function.
PR: 282465
MFC After: 2 day
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D47403
stand/lua/core.lua | 9 +++++++++
stand/lua/drawer.lua | 32 +++++++++++++++++++++++++++-----
2 files changed, 36 insertions(+), 5 deletions(-)
--
You are receiving this mail because:
You are the assignee for the bug.