NetBSD/sys/dev/hpc/bifont.c

188 lines
10 KiB
C

/* $NetBSD: bifont.c,v 1.3 2001/11/13 12:47:56 lukem Exp $ */
/*-
* Copyright (c) 1999
* Shin Takemura and PocketBSD Project. All rights reserved.
*
* 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 PocketBSD project
* and its contributors.
* 4. Neither the name of the project 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.
*
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: bifont.c,v 1.3 2001/11/13 12:47:56 lukem Exp $");
unsigned char font_clR8x8_data[] = {
/*
COMMENT $XConsortium: clR8x8.bdf,v 1.2 94/04/11 12:08:54 gildea Exp $
COMMENT
COMMENT Copyright 1989 Dale Schumacher, dal@syntel.mn.org
COMMENT 399 Beacon Ave.
COMMENT St. Paul, MN 55104-3527
COMMENT
COMMENT Permission to use, copy, modify, and distribute this software and
COMMENT its documentation for any purpose and without fee is hereby
COMMENT granted, provided that the above copyright notice appear in all
COMMENT copies and that both that copyright notice and this permission
COMMENT notice appear in supporting documentation, and that the name of
COMMENT Dale Schumacher not be used in advertising or publicity pertaining to
COMMENT distribution of the software without specific, written prior
COMMENT permission. Dale Schumacher makes no representations about the
COMMENT suitability of this software for any purpose. It is provided "as
COMMENT is" without express or implied warranty.
*/
/* code 00 */ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
/* code 01 */ 0x08,0x14,0x22,0x77,0x14,0x14,0x14,0x1c,
/* code 02 */ 0x1c,0x14,0x14,0x14,0x77,0x22,0x14,0x08,
/* code 03 */ 0x08,0x0c,0x7a,0x41,0x7a,0x0c,0x08,0x00,
/* code 04 */ 0x08,0x18,0x2f,0x41,0x2f,0x18,0x08,0x00,
/* code 05 */ 0x3e,0x5d,0x6b,0x77,0x6b,0x5d,0x3e,0x00,
/* code 06 */ 0x7f,0x7f,0x7f,0x7e,0x7d,0x7b,0x77,0x00,
/* code 07 */ 0x77,0x6b,0x5d,0x3e,0x5d,0x6b,0x77,0x00,
/* code 08 */ 0x60,0x50,0x60,0x53,0x64,0x02,0x01,0x06,
/* code 09 */ 0x50,0x50,0x70,0x57,0x52,0x02,0x02,0x02,
/* code 0a */ 0x40,0x40,0x40,0x47,0x74,0x06,0x04,0x04,
/* code 0b */ 0x50,0x50,0x50,0x27,0x22,0x02,0x02,0x02,
/* code 0c */ 0x70,0x40,0x60,0x47,0x44,0x06,0x04,0x04,
/* code 0d */ 0x30,0x40,0x40,0x46,0x35,0x06,0x05,0x05,
/* code 0e */ 0x05,0x05,0x05,0x0d,0x0d,0x0d,0x19,0x79,
/* code 0f */ 0xa0,0xa0,0xa0,0xb0,0xb0,0xb0,0x98,0x9e,
/* code 10 */ 0x18,0x42,0x42,0x00,0x42,0x42,0x18,0x00,
/* code 11 */ 0x00,0x02,0x02,0x00,0x02,0x02,0x00,0x00,
/* code 12 */ 0x18,0x02,0x02,0x18,0x40,0x40,0x18,0x00,
/* code 13 */ 0x18,0x02,0x02,0x18,0x02,0x02,0x18,0x00,
/* code 14 */ 0x00,0x42,0x42,0x18,0x02,0x02,0x00,0x00,
/* code 15 */ 0x18,0x40,0x40,0x18,0x02,0x02,0x18,0x00,
/* code 16 */ 0x18,0x40,0x40,0x18,0x42,0x42,0x18,0x00,
/* code 17 */ 0x18,0x02,0x02,0x00,0x02,0x02,0x00,0x00,
/* code 18 */ 0x18,0x42,0x42,0x18,0x42,0x42,0x18,0x00,
/* code 19 */ 0x18,0x42,0x42,0x18,0x02,0x02,0x18,0x00,
/* code 1a */ 0x00,0x00,0x3e,0x01,0x7f,0x41,0x3e,0x00,
/* code 1b */ 0x70,0x40,0x70,0x43,0x74,0x04,0x04,0x03,
/* code 1c */ 0x07,0x0f,0x1f,0x18,0x18,0x10,0x1e,0x17,
/* code 1d */ 0xf0,0xf8,0xec,0x04,0x04,0x04,0x3c,0x54,
/* code 1e */ 0x11,0x0b,0x0d,0x06,0x07,0x2e,0x39,0x38,
/* code 1f */ 0x04,0x28,0xd8,0x28,0xd0,0x10,0xe0,0x00,
/* code 20 */ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
/* code 21 */ 0x08,0x08,0x08,0x08,0x08,0x00,0x08,0x00,
/* code 22 */ 0x14,0x14,0x14,0x00,0x00,0x00,0x00,0x00,
/* code 23 */ 0x14,0x14,0x3e,0x14,0x3e,0x14,0x14,0x00,
/* code 24 */ 0x08,0x1e,0x28,0x1c,0x0a,0x3c,0x08,0x00,
/* code 25 */ 0x22,0x54,0x24,0x08,0x12,0x15,0x22,0x00,
/* code 26 */ 0x38,0x40,0x20,0x30,0x4a,0x44,0x3a,0x00,
/* code 27 */ 0x0c,0x08,0x10,0x00,0x00,0x00,0x00,0x00,
/* code 28 */ 0x04,0x08,0x10,0x10,0x10,0x08,0x04,0x00,
/* code 29 */ 0x10,0x08,0x04,0x04,0x04,0x08,0x10,0x00,
/* code 2a */ 0x08,0x08,0x6b,0x1c,0x08,0x14,0x22,0x00,
/* code 2b */ 0x08,0x08,0x08,0x7f,0x08,0x08,0x08,0x00,
/* code 2c */ 0x00,0x00,0x00,0x00,0x00,0x18,0x10,0x20,
/* code 2d */ 0x00,0x00,0x00,0x7f,0x00,0x00,0x00,0x00,
/* code 2e */ 0x00,0x00,0x00,0x00,0x00,0x18,0x18,0x00,
/* code 2f */ 0x04,0x04,0x08,0x08,0x10,0x10,0x20,0x20,
/* code 30 */ 0x3c,0x42,0x42,0x42,0x42,0x42,0x3c,0x00,
/* code 31 */ 0x08,0x18,0x08,0x08,0x08,0x08,0x08,0x00,
/* code 32 */ 0x3c,0x42,0x04,0x08,0x10,0x20,0x7e,0x00,
/* code 33 */ 0x3c,0x42,0x02,0x1c,0x02,0x42,0x3c,0x00,
/* code 34 */ 0x04,0x0c,0x14,0x24,0x7e,0x04,0x0e,0x00,
/* code 35 */ 0x7e,0x40,0x40,0x7c,0x02,0x02,0x7c,0x00,
/* code 36 */ 0x1c,0x20,0x40,0x7c,0x42,0x42,0x3c,0x00,
/* code 37 */ 0x7e,0x02,0x04,0x04,0x08,0x08,0x10,0x00,
/* code 38 */ 0x3c,0x42,0x42,0x3c,0x42,0x42,0x3c,0x00,
/* code 39 */ 0x3c,0x42,0x42,0x3e,0x02,0x04,0x38,0x00,
/* code 3a */ 0x00,0x18,0x18,0x00,0x00,0x18,0x18,0x00,
/* code 3b */ 0x00,0x18,0x18,0x00,0x00,0x18,0x10,0x20,
/* code 3c */ 0x00,0x06,0x18,0x60,0x18,0x06,0x00,0x00,
/* code 3d */ 0x00,0x00,0x7f,0x00,0x00,0x7f,0x00,0x00,
/* code 3e */ 0x00,0x60,0x18,0x06,0x18,0x60,0x00,0x00,
/* code 3f */ 0x1c,0x22,0x02,0x04,0x08,0x00,0x08,0x00,
/* code 40 */ 0x1c,0x22,0x49,0x55,0x4a,0x20,0x1c,0x00,
/* code 41 */ 0x08,0x08,0x1c,0x14,0x3e,0x22,0x63,0x00,
/* code 42 */ 0x7e,0x41,0x41,0x7e,0x41,0x41,0x7e,0x00,
/* code 43 */ 0x1e,0x21,0x40,0x40,0x40,0x21,0x1e,0x00,
/* code 44 */ 0x7c,0x42,0x41,0x41,0x41,0x42,0x7c,0x00,
/* code 45 */ 0x7f,0x40,0x40,0x7c,0x40,0x40,0x7f,0x00,
/* code 46 */ 0x7f,0x40,0x40,0x7c,0x40,0x40,0x40,0x00,
/* code 47 */ 0x1e,0x21,0x40,0x47,0x41,0x21,0x1f,0x00,
/* code 48 */ 0x41,0x41,0x41,0x7f,0x41,0x41,0x41,0x00,
/* code 49 */ 0x3e,0x08,0x08,0x08,0x08,0x08,0x3e,0x00,
/* code 4a */ 0x0e,0x02,0x02,0x02,0x42,0x42,0x3c,0x00,
/* code 4b */ 0x42,0x44,0x48,0x70,0x48,0x44,0x42,0x00,
/* code 4c */ 0x40,0x40,0x40,0x40,0x40,0x40,0x7e,0x00,
/* code 4d */ 0x41,0x63,0x55,0x49,0x41,0x41,0x41,0x00,
/* code 4e */ 0x41,0x61,0x51,0x49,0x45,0x43,0x41,0x00,
/* code 4f */ 0x1c,0x22,0x41,0x41,0x41,0x22,0x1c,0x00,
/* code 50 */ 0x7e,0x41,0x41,0x7e,0x40,0x40,0x40,0x00,
/* code 51 */ 0x1c,0x22,0x41,0x41,0x41,0x22,0x1c,0x07,
/* code 52 */ 0x7e,0x41,0x41,0x7e,0x44,0x42,0x41,0x00,
/* code 53 */ 0x3e,0x41,0x40,0x3e,0x01,0x41,0x3e,0x00,
/* code 54 */ 0x7f,0x08,0x08,0x08,0x08,0x08,0x08,0x00,
/* code 55 */ 0x41,0x41,0x41,0x41,0x41,0x41,0x3e,0x00,
/* code 56 */ 0x63,0x22,0x22,0x14,0x14,0x08,0x08,0x00,
/* code 57 */ 0x41,0x41,0x41,0x49,0x55,0x63,0x41,0x00,
/* code 58 */ 0x41,0x22,0x14,0x08,0x14,0x22,0x41,0x00,
/* code 59 */ 0x41,0x22,0x14,0x08,0x08,0x08,0x08,0x00,
/* code 5a */ 0x7f,0x02,0x04,0x08,0x10,0x20,0x7f,0x00,
/* code 5b */ 0x0e,0x08,0x08,0x08,0x08,0x08,0x0e,0x00,
/* code 5c */ 0x20,0x20,0x10,0x10,0x08,0x08,0x04,0x04,
/* code 5d */ 0x38,0x08,0x08,0x08,0x08,0x08,0x38,0x00,
/* code 5e */ 0x08,0x14,0x22,0x00,0x00,0x00,0x00,0x00,
/* code 5f */ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x7f,
/* code 60 */ 0x18,0x08,0x04,0x00,0x00,0x00,0x00,0x00,
/* code 61 */ 0x00,0x00,0x3f,0x41,0x41,0x43,0x3d,0x00,
/* code 62 */ 0x40,0x40,0x7e,0x41,0x41,0x41,0x7e,0x00,
/* code 63 */ 0x00,0x00,0x3e,0x40,0x40,0x40,0x3e,0x00,
/* code 64 */ 0x01,0x01,0x3f,0x41,0x41,0x41,0x3f,0x00,
/* code 65 */ 0x00,0x00,0x3e,0x41,0x7f,0x40,0x3e,0x00,
/* code 66 */ 0x1e,0x20,0x78,0x20,0x20,0x20,0x20,0x00,
/* code 67 */ 0x00,0x00,0x3f,0x41,0x41,0x3f,0x01,0x3e,
/* code 68 */ 0x40,0x40,0x7e,0x41,0x41,0x41,0x41,0x00,
/* code 69 */ 0x08,0x00,0x38,0x08,0x08,0x08,0x3e,0x00,
/* code 6a */ 0x02,0x00,0x1e,0x02,0x02,0x02,0x02,0x3c,
/* code 6b */ 0x40,0x40,0x46,0x48,0x70,0x48,0x46,0x00,
/* code 6c */ 0x18,0x08,0x08,0x08,0x08,0x08,0x1c,0x00,
/* code 6d */ 0x00,0x00,0x76,0x49,0x49,0x49,0x41,0x00,
/* code 6e */ 0x00,0x00,0x5e,0x61,0x41,0x41,0x41,0x00,
/* code 6f */ 0x00,0x00,0x3e,0x41,0x41,0x41,0x3e,0x00,
/* code 70 */ 0x00,0x00,0x7e,0x41,0x41,0x41,0x7e,0x40,
/* code 71 */ 0x00,0x00,0x3f,0x41,0x41,0x41,0x3f,0x01,
/* code 72 */ 0x00,0x00,0x2e,0x30,0x20,0x20,0x20,0x00,
/* code 73 */ 0x00,0x00,0x3e,0x40,0x3c,0x02,0x7c,0x00,
/* code 74 */ 0x10,0x10,0x7e,0x10,0x10,0x10,0x0e,0x00,
/* code 75 */ 0x00,0x00,0x41,0x41,0x41,0x43,0x3d,0x00,
/* code 76 */ 0x00,0x00,0x63,0x22,0x14,0x14,0x08,0x00,
/* code 77 */ 0x00,0x00,0x41,0x49,0x49,0x49,0x36,0x00,
/* code 78 */ 0x00,0x00,0x63,0x14,0x08,0x14,0x63,0x00,
/* code 79 */ 0x00,0x00,0x42,0x42,0x42,0x3e,0x02,0x3c,
/* code 7a */ 0x00,0x00,0x7e,0x04,0x18,0x20,0x7e,0x00,
/* code 7b */ 0x04,0x08,0x08,0x10,0x08,0x08,0x04,0x00,
/* code 7c */ 0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x00,
/* code 7d */ 0x10,0x08,0x08,0x04,0x08,0x08,0x10,0x00,
/* code 7e */ 0x31,0x49,0x46,0x00,0x00,0x00,0x00,0x00,
/* code 7f */ 0x00,0x08,0x08,0x14,0x14,0x22,0x3e,0x00,
};