The branch main has been updated by tsoome:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=20fb2ea2c7c9834d6ca5ab2664961afaba6a8596

commit 20fb2ea2c7c9834d6ca5ab2664961afaba6a8596
Author:     Toomas Soome <[email protected]>
AuthorDate: 2021-01-07 18:11:31 +0000
Commit:     Toomas Soome <[email protected]>
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}
 
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to