Add vt220 8x10 koi8-r/koi8-u fonts so that I can read mail using

Jornada 680 console.

XXX: The fonts are marked WSDISPLAY_FONTENC_ISO, which is wrong, but
at least makes the alphabet available.  Line-drawing is all broken.
This commit is contained in:
uwe 2003-07-14 18:30:40 +00:00
parent 46471dc1e9
commit fadd31bf33
3 changed files with 3270 additions and 4 deletions

View File

@ -1,17 +1,19 @@
# $NetBSD: files.wsfont,v 1.12 2003/05/14 11:26:52 drochner Exp $
# $NetBSD: files.wsfont,v 1.13 2003/07/14 18:30:41 uwe Exp $
defpseudo wsfont
file dev/wsfont/wsfont.c rasterconsole | wsdisplay | wsfont
defflag opt_wsfont.h FONT_BOLD8x16
FONT_GALLANT12x22
FONT_GALLANT12x22
FONT_QVSS8x15
FONT_LUCIDA16x29
FONT_VT220L8x8
FONT_VT220L8x10
FONT_VT220L8x16
FONT_VT220ISO8x16
FONT_VT220KOI8x10_KOI8_R
FONT_VT220KOI8x10_KOI8_U
FONT_SONY8x16
FONT_SONY12x24
FONT_OMRON12x20

File diff suppressed because it is too large Load Diff

View File

@ -1,4 +1,4 @@
/* $NetBSD: wsfont.c,v 1.33 2003/02/10 14:28:21 jdolecek Exp $ */
/* $NetBSD: wsfont.c,v 1.34 2003/07/14 18:30:41 uwe Exp $ */
/*-
* Copyright (c) 1999, 2000, 2001, 2002 The NetBSD Foundation, Inc.
@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: wsfont.c,v 1.33 2003/02/10 14:28:21 jdolecek Exp $");
__KERNEL_RCSID(0, "$NetBSD: wsfont.c,v 1.34 2003/07/14 18:30:41 uwe Exp $");
#include "opt_wsfont.h"
@ -88,6 +88,18 @@ __KERNEL_RCSID(0, "$NetBSD: wsfont.c,v 1.33 2003/02/10 14:28:21 jdolecek Exp $")
#include <dev/wsfont/vt220iso8x16.h>
#endif
#ifdef FONT_VT220KOI8x10_KOI8_R
#define HAVE_FONT 1
#include <dev/wsfont/vt220koi8x10.h>
#endif
#ifdef FONT_VT220KOI8x10_KOI8_U
#define HAVE_FONT 1
#define KOI8_U
#include <dev/wsfont/vt220koi8x10.h>
#undef KOI8_U
#endif
#ifdef FONT_SONY8x16
#define HAVE_FONT 1
#include <dev/wsfont/sony8x16.h>
@ -165,6 +177,12 @@ static struct font builtin_fonts[] = {
#ifdef FONT_VT220ISO8x16
{ { NULL }, &vt220iso8x16, 0, 0, WSFONT_STATIC | WSFONT_BUILTIN },
#endif
#ifdef FONT_VT220KOI8x10_KOI8_R
{ { NULL }, &vt220kr8x10, 0, 0, WSFONT_STATIC | WSFONT_BUILTIN },
#endif
#ifdef FONT_VT220KOI8x10_KOI8_U
{ { NULL }, &vt220ku8x10, 0, 0, WSFONT_STATIC | WSFONT_BUILTIN },
#endif
#ifdef FONT_SONY8x16
{ { NULL }, &sony8x16, 0, 0, WSFONT_STATIC | WSFONT_BUILTIN },
#endif