loader: really use bold font for vga text mode

8x16v turns out to be too thin and hard to read,
use bold font instead.
This commit is contained in:
Toomas Soome 2021-01-07 20:11:31 +02:00
parent a84b0e94cd
commit 20fb2ea2c7
2 changed files with 7 additions and 1 deletions

View File

@ -49,7 +49,7 @@
/* VGA text mode does use bold font. */ /* VGA text mode does use bold font. */
#if !defined(VGA_8X16_FONT) #if !defined(VGA_8X16_FONT)
#define VGA_8X16_FONT "/boot/fonts/8x16v.fnt" #define VGA_8X16_FONT "/boot/fonts/8x16b.fnt"
#endif #endif
#if !defined(DEFAULT_8X16_FONT) #if !defined(DEFAULT_8X16_FONT)
#define DEFAULT_8X16_FONT "/boot/fonts/8x16.fnt" #define DEFAULT_8X16_FONT "/boot/fonts/8x16.fnt"

View File

@ -9,6 +9,7 @@ FONTS= \
8x14.fnt.gz \ 8x14.fnt.gz \
8x14v.fnt.gz \ 8x14v.fnt.gz \
8x16.fnt.gz \ 8x16.fnt.gz \
8x16b.fnt.gz \
8x16v.fnt.gz \ 8x16v.fnt.gz \
10x18.fnt.gz \ 10x18.fnt.gz \
10x20.fnt.gz \ 10x20.fnt.gz \
@ -30,6 +31,8 @@ CLEANFILES+= ${FONTS} ${FONTS:T:S/${COMPRESS_EXT}//g}
${COMPRESS_CMD} ${.ALLSRC} > ${.TARGET} ${COMPRESS_CMD} ${.ALLSRC} > ${.TARGET}
8x16.fnt.gz: 8x16.fnt 8x16.fnt.gz: 8x16.fnt
${COMPRESS_CMD} ${.ALLSRC} > ${.TARGET} ${COMPRESS_CMD} ${.ALLSRC} > ${.TARGET}
8x16b.fnt.gz: 8x16b.fnt
${COMPRESS_CMD} ${.ALLSRC} > ${.TARGET}
8x16v.fnt.gz: 8x16v.fnt 8x16v.fnt.gz: 8x16v.fnt
${COMPRESS_CMD} ${.ALLSRC} > ${.TARGET} ${COMPRESS_CMD} ${.ALLSRC} > ${.TARGET}
10x18.fnt.gz: 10x18.fnt 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 8x16.fnt: ter-u16n.bdf ter-u16b.bdf
vtfontcvt -o ${.TARGET} ${.ALLSRC} vtfontcvt -o ${.TARGET} ${.ALLSRC}
8x16b.fnt: ter-u16b.bdf
vtfontcvt -o ${.TARGET} ${.ALLSRC}
8x16v.fnt: ter-u16v.bdf 8x16v.fnt: ter-u16v.bdf
vtfontcvt -o ${.TARGET} ${.ALLSRC} vtfontcvt -o ${.TARGET} ${.ALLSRC}