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 a couple of fonts used on Sony NEWS.



details:   https://anonhg.NetBSD.org/src/rev/ae622be6cc37
branches:  trunk
changeset: 499503:ae622be6cc37
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Tue Nov 21 11:44:45 2000 +0000

description:
Add a couple of fonts used on Sony NEWS.
Generated from (recently removed) sys/arch/newsmips/dev/fnt{,24}.c.

diffstat:

 sys/dev/wsfont/files.wsfont |     4 +-
 sys/dev/wsfont/sony12x24.h  |  6720 +++++++++++++++++++++++++++++++++++++++++++
 sys/dev/wsfont/sony8x16.h   |  4672 +++++++++++++++++++++++++++++
 sys/dev/wsfont/wsfont.c     |    20 +-
 4 files changed, 11413 insertions(+), 3 deletions(-)

diffs (truncated from 11463 to 300 lines):

diff -r 964e7e90c5ff -r ae622be6cc37 sys/dev/wsfont/files.wsfont
--- a/sys/dev/wsfont/files.wsfont       Tue Nov 21 11:41:37 2000 +0000
+++ b/sys/dev/wsfont/files.wsfont       Tue Nov 21 11:44:45 2000 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: files.wsfont,v 1.6 1999/12/15 15:34:18 ad Exp $
+#      $NetBSD: files.wsfont,v 1.7 2000/11/21 11:44:45 tsutsui Exp $
 
 file   dev/wsfont/wsfont.c     rasterconsole | wsdisplay
 
@@ -8,3 +8,5 @@
                                FONT_LUCIDA16x29
                                FONT_VT220L8x8
                                FONT_VT220L8x10
+                               FONT_SONY8x16
+                               FONT_SONY12x24
diff -r 964e7e90c5ff -r ae622be6cc37 sys/dev/wsfont/sony12x24.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/dev/wsfont/sony12x24.h        Tue Nov 21 11:44:45 2000 +0000
@@ -0,0 +1,6720 @@
+/*     $NetBSD: sony12x24.h,v 1.1 2000/11/21 11:44:45 tsutsui Exp $    */
+/*
+ * Copyright (c) 1992, 1993
+ *     The Regents of the University of California.  All rights reserved.
+ *
+ * This code is derived from software contributed to Berkeley by
+ * Sony Corp. and Kazumasa Utashiro of Software Research Associates, Inc.
+ *
+ * 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.
+ *
+ * from: $Hdr: fnt24.c,v 4.300 91/06/09 06:14:46 root Rel41 $ SONY
+ *
+ *     @(#)fnt24.c     8.1 (Berkeley) 6/10/93
+ */
+
+/* This font data is generated from sys/arch/newsmips/dev/fnt24.c */
+
+extern u_char sony12x24_data[];
+
+struct wsdisplay_font sony12x24 = {
+       "sony12x24",                    /* typeface name */
+       ' ',                            /* firstchar */
+       '~' - ' ' + 1,                  /* numchars */
+       WSDISPLAY_FONTENC_ISO,          /* encoding */
+       12,                             /* width */
+       24,                             /* height */
+       2,                              /* stride */
+       WSDISPLAY_FONTORDER_L2R,        /* bit order */
+       WSDISPLAY_FONTORDER_L2R,        /* byte order */
+       sony12x24_data                  /* data */
+};
+
+static u_char sony12x24_data[] = {
+
+#if 0
+       /* 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, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+
+       /* 0x01 */
+       0x04, 0x00,     /* .....*...... */
+       0x04, 0x00,     /* .....*...... */
+       0x0e, 0x00,     /* ....***..... */
+       0x0e, 0x00,     /* ....***..... */
+       0x1f, 0x00,     /* ...*****.... */
+       0x1f, 0x00,     /* ...*****.... */
+       0x3f, 0x80,     /* ..*******... */
+       0x3f, 0x80,     /* ..*******... */
+       0x7f, 0xc0,     /* .*********.. */
+       0x7f, 0xc0,     /* .*********.. */
+       0xff, 0xe0,     /* ***********. */
+       0x7f, 0xc0,     /* .*********.. */
+       0x7f, 0xc0,     /* .*********.. */
+       0x3f, 0x80,     /* ..*******... */
+       0x3f, 0x80,     /* ..*******... */
+       0x1f, 0x00,     /* ...*****.... */
+       0x1f, 0x00,     /* ...*****.... */
+       0x0e, 0x00,     /* ....***..... */
+       0x0e, 0x00,     /* ....***..... */
+       0x04, 0x00,     /* .....*...... */
+       0x04, 0x00,     /* .....*...... */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+
+       /* 0x02 */
+       0xc6, 0x30,     /* **...**...** */
+       0xc6, 0x30,     /* **...**...** */
+       0xc6, 0x30,     /* **...**...** */
+       0x30, 0xc0,     /* ..**....**.. */
+       0x30, 0xc0,     /* ..**....**.. */
+       0x30, 0xc0,     /* ..**....**.. */
+       0xc6, 0x30,     /* **...**...** */
+       0xc6, 0x30,     /* **...**...** */
+       0xc6, 0x30,     /* **...**...** */
+       0x30, 0xc0,     /* ..**....**.. */
+       0x30, 0xc0,     /* ..**....**.. */
+       0x30, 0xc0,     /* ..**....**.. */
+       0xc6, 0x30,     /* **...**...** */
+       0xc6, 0x30,     /* **...**...** */
+       0xc6, 0x30,     /* **...**...** */
+       0x30, 0xc0,     /* ..**....**.. */
+       0x30, 0xc0,     /* ..**....**.. */
+       0x30, 0xc0,     /* ..**....**.. */
+       0xc6, 0x30,     /* **...**...** */
+       0xc6, 0x30,     /* **...**...** */
+       0xc6, 0x30,     /* **...**...** */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+
+       /* 0x03 */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0xc6, 0x00,     /* **...**..... */
+       0xc6, 0x00,     /* **...**..... */
+       0xc6, 0x00,     /* **...**..... */
+       0xc6, 0x00,     /* **...**..... */
+       0xfe, 0x00,     /* *******..... */
+       0xc6, 0x00,     /* **...**..... */
+       0xc6, 0x00,     /* **...**..... */
+       0xc6, 0x00,     /* **...**..... */
+       0xc6, 0x00,     /* **...**..... */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x3f, 0xc0,     /* ..********.. */
+       0x06, 0x00,     /* .....**..... */
+       0x06, 0x00,     /* .....**..... */
+       0x06, 0x00,     /* .....**..... */
+       0x06, 0x00,     /* .....**..... */
+       0x06, 0x00,     /* .....**..... */
+       0x06, 0x00,     /* .....**..... */
+       0x06, 0x00,     /* .....**..... */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+
+       /* 0x04 */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0xfe, 0x00,     /* *******..... */
+       0xc0, 0x00,     /* **.......... */
+       0xc0, 0x00,     /* **.......... */
+       0xc0, 0x00,     /* **.......... */
+       0xfc, 0x00,     /* ******...... */
+       0xc0, 0x00,     /* **.......... */
+       0xc0, 0x00,     /* **.......... */
+       0xc0, 0x00,     /* **.......... */
+       0xc0, 0x00,     /* **.......... */
+       0x00, 0x00,     /* ............ */
+       0x1f, 0xc0,     /* ...*******.. */
+       0x18, 0x00,     /* ...**....... */
+       0x18, 0x00,     /* ...**....... */
+       0x18, 0x00,     /* ...**....... */
+       0x1f, 0x80,     /* ...******... */
+       0x18, 0x00,     /* ...**....... */
+       0x18, 0x00,     /* ...**....... */
+       0x18, 0x00,     /* ...**....... */
+       0x18, 0x00,     /* ...**....... */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+
+       /* 0x05 */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x3c, 0x00,     /* ..****...... */
+       0x66, 0x00,     /* .**..**..... */
+       0xc6, 0x00,     /* **...**..... */
+       0xc0, 0x00,     /* **.......... */
+       0xc0, 0x00,     /* **.......... */
+       0xc0, 0x00,     /* **.......... */
+       0xc0, 0x00,     /* **.......... */
+       0x66, 0x00,     /* .**..**..... */
+       0x3c, 0x00,     /* ..****...... */
+       0x00, 0x00,     /* ............ */
+       0x1f, 0x80,     /* ...******... */
+       0x18, 0xc0,     /* ...**...**.. */
+       0x18, 0xc0,     /* ...**...**.. */
+       0x18, 0xc0,     /* ...**...**.. */
+       0x1f, 0x80,     /* ...******... */
+       0x19, 0x00,     /* ...**..*.... */
+       0x19, 0x80,     /* ...**..**... */
+       0x18, 0xc0,     /* ...**...**.. */
+       0x18, 0xc0,     /* ...**...**.. */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+
+       /* 0x06 */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0xc0, 0x00,     /* **.......... */
+       0xc0, 0x00,     /* **.......... */
+       0xc0, 0x00,     /* **.......... */
+       0xc0, 0x00,     /* **.......... */
+       0xc0, 0x00,     /* **.......... */
+       0xc0, 0x00,     /* **.......... */
+       0xc0, 0x00,     /* **.......... */
+       0xc0, 0x00,     /* **.......... */
+       0xfe, 0x00,     /* *******..... */
+       0x00, 0x00,     /* ............ */
+       0x1f, 0xc0,     /* ...*******.. */
+       0x18, 0x00,     /* ...**....... */
+       0x18, 0x00,     /* ...**....... */
+       0x18, 0x00,     /* ...**....... */
+       0x1f, 0x80,     /* ...******... */
+       0x18, 0x00,     /* ...**....... */
+       0x18, 0x00,     /* ...**....... */
+       0x18, 0x00,     /* ...**....... */
+       0x18, 0x00,     /* ...**....... */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+
+       /* 0x07 */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x0e, 0x00,     /* ....***..... */
+       0x1b, 0x00,     /* ...**.**.... */
+       0x31, 0x80,     /* ..**...**... */
+       0x31, 0x80,     /* ..**...**... */
+       0x1b, 0x00,     /* ...**.**.... */
+       0x0e, 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,     /* ............ */
+
+       /* 0x08 */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x00, 0x00,     /* ............ */
+       0x0c, 0x00,     /* ....**...... */
+       0x0c, 0x00,     /* ....**...... */
+       0x0c, 0x00,     /* ....**...... */
+       0x0c, 0x00,     /* ....**...... */
+       0x0c, 0x00,     /* ....**...... */
+       0x0c, 0x00,     /* ....**...... */
+       0xff, 0xc0,     /* **********.. */
+       0xff, 0xc0,     /* **********.. */



Home | Main Index | Thread Index | Old Index