Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/wsfont Add another font from 4.4BSD-Lite2/luna68k.
details: https://anonhg.NetBSD.org/src/rev/f0c881e5d5f8
branches: trunk
changeset: 499608:f0c881e5d5f8
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Fri Nov 24 15:47:15 2000 +0000
description:
Add another font from 4.4BSD-Lite2/luna68k.
diffstat:
sys/dev/wsfont/files.wsfont | 3 +-
sys/dev/wsfont/omron12x20.h | 2153 +++++++++++++++++++++++++++++++++++++++++++
sys/dev/wsfont/wsfont.c | 12 +-
3 files changed, 2165 insertions(+), 3 deletions(-)
diffs (truncated from 2211 to 300 lines):
diff -r fdc3f2b5ee61 -r f0c881e5d5f8 sys/dev/wsfont/files.wsfont
--- a/sys/dev/wsfont/files.wsfont Fri Nov 24 14:49:44 2000 +0000
+++ b/sys/dev/wsfont/files.wsfont Fri Nov 24 15:47:15 2000 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: files.wsfont,v 1.7 2000/11/21 11:44:45 tsutsui Exp $
+# $NetBSD: files.wsfont,v 1.8 2000/11/24 15:47:15 tsutsui Exp $
file dev/wsfont/wsfont.c rasterconsole | wsdisplay
@@ -10,3 +10,4 @@
FONT_VT220L8x10
FONT_SONY8x16
FONT_SONY12x24
+ FONT_OMRON12x20
diff -r fdc3f2b5ee61 -r f0c881e5d5f8 sys/dev/wsfont/omron12x20.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/dev/wsfont/omron12x20.h Fri Nov 24 15:47:15 2000 +0000
@@ -0,0 +1,2153 @@
+/* $NetBSD: omron12x20.h,v 1.1 2000/11/24 15:47:15 tsutsui Exp $ */
+/*
+ * Copyright (c) 1992 OMRON Corporation.
+ * Copyright (c) 1992, 1993
+ * The Regents of the University of California. All rights reserved.
+ *
+ * This code is derived from software contributed to Berkeley by
+ * OMRON Corporation.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ * 3. All advertising materials mentioning features or use of this software
+ * must display the following acknowledgement:
+ * This product includes software developed by the University of
+ * California, Berkeley and its contributors.
+ * 4. Neither the name of the University nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ *
+ * @(#)font.c 8.1 (Berkeley) 6/10/93
+ */
+
+/*
+ * omron12x20.h
+ *
+ * This file is generated from sys/luna68k/font/font.c in 4.4BSD-Lite2.
+ */
+
+extern u_char omron12x20_data[];
+
+struct wsdisplay_font omron12x20 = {
+ "omron12x20", /* typeface name */
+ ' ', /* firstchar */
+ '~' - ' ' + 1, /* numchars */
+ WSDISPLAY_FONTENC_ISO, /* encoding */
+ 12, /* width */
+ 20, /* height */
+ 2, /* stride */
+ WSDISPLAY_FONTORDER_L2R, /* bit order */
+ WSDISPLAY_FONTORDER_L2R, /* byte order */
+ omron12x20_data /* data */
+};
+
+static u_char omron12x20_data[] = {
+
+ /* 0x20 (' ') */
+ 0x00, 0x00, /* ............ */
+ 0x00, 0x00, /* ............ */
+ 0x00, 0x00, /* ............ */
+ 0x00, 0x00, /* ............ */
+ 0x00, 0x00, /* ............ */
+ 0x00, 0x00, /* ............ */
+ 0x00, 0x00, /* ............ */
+ 0x00, 0x00, /* ............ */
+ 0x00, 0x00, /* ............ */
+ 0x00, 0x00, /* ............ */
+ 0x00, 0x00, /* ............ */
+ 0x00, 0x00, /* ............ */
+ 0x00, 0x00, /* ............ */
+ 0x00, 0x00, /* ............ */
+ 0x00, 0x00, /* ............ */
+ 0x00, 0x00, /* ............ */
+ 0x00, 0x00, /* ............ */
+ 0x00, 0x00, /* ............ */
+ 0x00, 0x00, /* ............ */
+ 0x00, 0x00, /* ............ */
+
+ /* 0x21 ('!') */
+ 0x0c, 0x00, /* ....**...... */
+ 0x1e, 0x00, /* ...****..... */
+ 0x1e, 0x00, /* ...****..... */
+ 0x1e, 0x00, /* ...****..... */
+ 0x1e, 0x00, /* ...****..... */
+ 0x1e, 0x00, /* ...****..... */
+ 0x0c, 0x00, /* ....**...... */
+ 0x0c, 0x00, /* ....**...... */
+ 0x0c, 0x00, /* ....**...... */
+ 0x0c, 0x00, /* ....**...... */
+ 0x0c, 0x00, /* ....**...... */
+ 0x00, 0x00, /* ............ */
+ 0x00, 0x00, /* ............ */
+ 0x0c, 0x00, /* ....**...... */
+ 0x1e, 0x00, /* ...****..... */
+ 0x0c, 0x00, /* ....**...... */
+ 0x00, 0x00, /* ............ */
+ 0x00, 0x00, /* ............ */
+ 0x00, 0x00, /* ............ */
+ 0x00, 0x00, /* ............ */
+
+ /* 0x22 ('"') */
+ 0x10, 0x80, /* ...*....*... */
+ 0x39, 0xc0, /* ..***..***.. */
+ 0x39, 0xc0, /* ..***..***.. */
+ 0x18, 0xc0, /* ...**...**.. */
+ 0x10, 0x80, /* ...*....*... */
+ 0x21, 0x00, /* ..*....*.... */
+ 0x00, 0x00, /* ............ */
+ 0x00, 0x00, /* ............ */
+ 0x00, 0x00, /* ............ */
+ 0x00, 0x00, /* ............ */
+ 0x00, 0x00, /* ............ */
+ 0x00, 0x00, /* ............ */
+ 0x00, 0x00, /* ............ */
+ 0x00, 0x00, /* ............ */
+ 0x00, 0x00, /* ............ */
+ 0x00, 0x00, /* ............ */
+ 0x00, 0x00, /* ............ */
+ 0x00, 0x00, /* ............ */
+ 0x00, 0x00, /* ............ */
+ 0x00, 0x00, /* ............ */
+
+ /* 0x23 ('#') */
+ 0x04, 0x80, /* .....*..*... */
+ 0x04, 0x80, /* .....*..*... */
+ 0x04, 0x80, /* .....*..*... */
+ 0x04, 0x80, /* .....*..*... */
+ 0x3f, 0xe0, /* ..*********. */
+ 0x3f, 0xe0, /* ..*********. */
+ 0x09, 0x00, /* ....*..*.... */
+ 0x09, 0x00, /* ....*..*.... */
+ 0x09, 0x00, /* ....*..*.... */
+ 0x09, 0x00, /* ....*..*.... */
+ 0x7f, 0xc0, /* .*********.. */
+ 0x7f, 0xc0, /* .*********.. */
+ 0x12, 0x00, /* ...*..*..... */
+ 0x12, 0x00, /* ...*..*..... */
+ 0x12, 0x00, /* ...*..*..... */
+ 0x12, 0x00, /* ...*..*..... */
+ 0x00, 0x00, /* ............ */
+ 0x00, 0x00, /* ............ */
+ 0x00, 0x00, /* ............ */
+ 0x00, 0x00, /* ............ */
+
+ /* 0x24 ('$') */
+ 0x04, 0x00, /* .....*...... */
+ 0x04, 0x00, /* .....*...... */
+ 0x1f, 0x80, /* ...******... */
+ 0x34, 0xc0, /* ..**.*..**.. */
+ 0x64, 0x60, /* .**..*...**. */
+ 0x64, 0xe0, /* .**..*..***. */
+ 0x34, 0x40, /* ..**.*...*.. */
+ 0x3f, 0x00, /* ..******.... */
+ 0x0f, 0xc0, /* ....******.. */
+ 0x24, 0xc0, /* ..*..*..**.. */
+ 0x74, 0x60, /* .***.*...**. */
+ 0x64, 0x60, /* .**..*...**. */
+ 0x34, 0xc0, /* ..**.*..**.. */
+ 0x1f, 0x80, /* ...******... */
+ 0x04, 0x00, /* .....*...... */
+ 0x04, 0x00, /* .....*...... */
+ 0x00, 0x00, /* ............ */
+ 0x00, 0x00, /* ............ */
+ 0x00, 0x00, /* ............ */
+ 0x00, 0x00, /* ............ */
+
+ /* 0x25 ('%') */
+ 0x00, 0x00, /* ............ */
+ 0x38, 0x60, /* ..***....**. */
+ 0x6c, 0xc0, /* .**.**..**.. */
+ 0x44, 0xc0, /* .*...*..**.. */
+ 0x6d, 0x80, /* .**.**.**... */
+ 0x39, 0x80, /* ..***..**... */
+ 0x03, 0x00, /* ......**.... */
+ 0x06, 0x00, /* .....**..... */
+ 0x06, 0x00, /* .....**..... */
+ 0x0c, 0x00, /* ....**...... */
+ 0x19, 0xc0, /* ...**..***.. */
+ 0x1b, 0x60, /* ...**.**.**. */
+ 0x32, 0x20, /* ..**..*...*. */
+ 0x33, 0x60, /* ..**..**.**. */
+ 0x61, 0xc0, /* .**....***.. */
+ 0x00, 0x00, /* ............ */
+ 0x00, 0x00, /* ............ */
+ 0x00, 0x00, /* ............ */
+ 0x00, 0x00, /* ............ */
+ 0x00, 0x00, /* ............ */
+
+ /* 0x26 ('&') */
+ 0x1c, 0x00, /* ...***...... */
+ 0x36, 0x00, /* ..**.**..... */
+ 0x63, 0x00, /* .**...**.... */
+ 0x63, 0x00, /* .**...**.... */
+ 0x66, 0x00, /* .**..**..... */
+ 0x36, 0x00, /* ..**.**..... */
+ 0x3c, 0x00, /* ..****...... */
+ 0x3d, 0xc0, /* ..****.***.. */
+ 0x6c, 0x80, /* .**.**..*... */
+ 0x66, 0x80, /* .**..**.*... */
+ 0xc6, 0x80, /* **...**.*... */
+ 0xc3, 0x80, /* **....***... */
+ 0xc1, 0x80, /* **.....**... */
+ 0xc3, 0xa0, /* **....***.*. */
+ 0x66, 0xe0, /* .**..**.***. */
+ 0x3c, 0x40, /* ..****...*.. */
+ 0x00, 0x00, /* ............ */
+ 0x00, 0x00, /* ............ */
+ 0x00, 0x00, /* ............ */
+ 0x00, 0x00, /* ............ */
+
+ /* 0x27 (''') */
+ 0x18, 0x00, /* ...**....... */
+ 0x3c, 0x00, /* ..****...... */
+ 0x1c, 0x00, /* ...***...... */
+ 0x08, 0x00, /* ....*....... */
+ 0x10, 0x00, /* ...*........ */
+ 0x20, 0x00, /* ..*......... */
+ 0x00, 0x00, /* ............ */
+ 0x00, 0x00, /* ............ */
+ 0x00, 0x00, /* ............ */
+ 0x00, 0x00, /* ............ */
+ 0x00, 0x00, /* ............ */
+ 0x00, 0x00, /* ............ */
+ 0x00, 0x00, /* ............ */
+ 0x00, 0x00, /* ............ */
+ 0x00, 0x00, /* ............ */
+ 0x00, 0x00, /* ............ */
+ 0x00, 0x00, /* ............ */
+ 0x00, 0x00, /* ............ */
+ 0x00, 0x00, /* ............ */
+ 0x00, 0x00, /* ............ */
+
+ /* 0x28 ('(') */
+ 0x00, 0x40, /* .........*.. */
+ 0x00, 0x80, /* ........*... */
+ 0x01, 0x80, /* .......**... */
+ 0x03, 0x00, /* ......**.... */
+ 0x03, 0x00, /* ......**.... */
+ 0x06, 0x00, /* .....**..... */
+ 0x06, 0x00, /* .....**..... */
+ 0x06, 0x00, /* .....**..... */
+ 0x06, 0x00, /* .....**..... */
+ 0x06, 0x00, /* .....**..... */
+ 0x06, 0x00, /* .....**..... */
+ 0x03, 0x00, /* ......**.... */
+ 0x03, 0x00, /* ......**.... */
+ 0x01, 0x80, /* .......**... */
+ 0x00, 0x80, /* ........*... */
+ 0x00, 0x40, /* .........*.. */
+ 0x00, 0x00, /* ............ */
+ 0x00, 0x00, /* ............ */
+ 0x00, 0x00, /* ............ */
+ 0x00, 0x00, /* ............ */
+
+ /* 0x29 (')') */
+ 0x20, 0x00, /* ..*......... */
+ 0x10, 0x00, /* ...*........ */
+ 0x18, 0x00, /* ...**....... */
+ 0x0c, 0x00, /* ....**...... */
+ 0x0c, 0x00, /* ....**...... */
+ 0x06, 0x00, /* .....**..... */
+ 0x06, 0x00, /* .....**..... */
+ 0x06, 0x00, /* .....**..... */
+ 0x06, 0x00, /* .....**..... */
+ 0x06, 0x00, /* .....**..... */
+ 0x06, 0x00, /* .....**..... */
+ 0x0c, 0x00, /* ....**...... */
+ 0x0c, 0x00, /* ....**...... */
+ 0x18, 0x00, /* ...**....... */
+ 0x10, 0x00, /* ...*........ */
+ 0x20, 0x00, /* ..*......... */
+ 0x00, 0x00, /* ............ */
+ 0x00, 0x00, /* ............ */
+ 0x00, 0x00, /* ............ */
+ 0x00, 0x00, /* ............ */
Home |
Main Index |
Thread Index |
Old Index