summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2006-08-02 20:10:22 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2006-08-02 20:10:22 +0000
commite3b6367d25a74511c9ad1133bba940b8de9d20e1 (patch)
treef5dd287e50ed236467cba015b2af2e9797426148 /sys/dev
parent906e41cf48dbd6e4b235e2754e723132097398f8 (diff)
Provide the usual 8x16 font, instead of the qvss 8x15 font, for low-res vax
frame buffers (and smg until it can use non-8bit wide fonts), as the latter has too many symbols in the 8-bit range stubbed out.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/wsfont/wsfont.c22
1 files changed, 5 insertions, 17 deletions
diff --git a/sys/dev/wsfont/wsfont.c b/sys/dev/wsfont/wsfont.c
index b95db4f4a8f..b57399f9d56 100644
--- a/sys/dev/wsfont/wsfont.c
+++ b/sys/dev/wsfont/wsfont.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wsfont.c,v 1.17 2006/07/31 18:41:17 miod Exp $ */
+/* $OpenBSD: wsfont.c,v 1.18 2006/08/02 20:10:21 miod Exp $ */
/* $NetBSD: wsfont.c,v 1.17 2001/02/07 13:59:24 ad Exp $ */
/*-
@@ -101,25 +101,17 @@
/*
* Make sure we always have at least one font.
- * Sparc, sparc64 and vax always provide a specific set of fonts.
- * Other platforms provide a 8x16 font and a larger 12x22 fonts, which is
- * omitted if option SMALL_KERNEL.
+ * Sparc, sparc64 always provide a 8x16 font and a larger 12x22 font.
+ * Other platforms also provide both, but the 12x22 font is omitted if
+ * option SMALL_KERNEL.
*/
#ifndef HAVE_FONT
#define HAVE_FONT 1
-#if defined(__sparc__) || defined(__sparc64__)
#define FONT_BOLD8x16_ISO1
-#define FONT_GALLANT12x22
-#elif defined(__vax__)
-#define FONT_QVSS8x15
-#define FONT_GALLANT12x22
-#else
-#define FONT_BOLD8x16_ISO1
-#if !defined(SMALL_KERNEL)
+#if defined(__sparc__) || defined(__sparc64__) || !defined(SMALL_KERNEL)
#define FONT_GALLANT12x22
#endif
-#endif
#endif /* HAVE_FONT */
@@ -131,10 +123,6 @@
#include <dev/wsfont/gallant12x22.h>
#endif
-#ifdef FONT_QVSS8x15
-#include <dev/wsfont/qvss8x15.h>
-#endif
-
/* Placeholder struct used for linked list */
struct font {
struct font *next;