Expand PMF_FN_* macros.
[netbsd-mini2440.git] / sys / dev / hpc / bifont.c
blobd46708f70422ec60da762a1560e1e96c8a1dc4f3
1 /* $NetBSD: bifont.c,v 1.2 2001/09/15 15:27:59 uch Exp $ */
3 /*-
4 * Copyright (c) 1999
5 * Shin Takemura and PocketBSD Project. All rights reserved.
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions
9 * are met:
10 * 1. Redistributions of source code must retain the above copyright
11 * notice, this list of conditions and the following disclaimer.
12 * 2. Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the distribution.
15 * 3. All advertising materials mentioning features or use of this software
16 * must display the following acknowledgement:
17 * This product includes software developed by the PocketBSD project
18 * and its contributors.
19 * 4. Neither the name of the project nor the names of its contributors
20 * may be used to endorse or promote products derived from this software
21 * without specific prior written permission.
23 * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
24 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
25 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
26 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
27 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
28 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
29 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
30 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
31 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
32 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
33 * SUCH DAMAGE.
37 #include <sys/cdefs.h>
38 __KERNEL_RCSID(0, "$NetBSD$");
40 unsigned char font_clR8x8_data[] = {
42 COMMENT $XConsortium: clR8x8.bdf,v 1.2 94/04/11 12:08:54 gildea Exp $
43 COMMENT
44 COMMENT Copyright 1989 Dale Schumacher, dal@syntel.mn.org
45 COMMENT 399 Beacon Ave.
46 COMMENT St. Paul, MN 55104-3527
47 COMMENT
48 COMMENT Permission to use, copy, modify, and distribute this software and
49 COMMENT its documentation for any purpose and without fee is hereby
50 COMMENT granted, provided that the above copyright notice appear in all
51 COMMENT copies and that both that copyright notice and this permission
52 COMMENT notice appear in supporting documentation, and that the name of
53 COMMENT Dale Schumacher not be used in advertising or publicity pertaining to
54 COMMENT distribution of the software without specific, written prior
55 COMMENT permission. Dale Schumacher makes no representations about the
56 COMMENT suitability of this software for any purpose. It is provided "as
57 COMMENT is" without express or implied warranty.
59 /* code 00 */ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
60 /* code 01 */ 0x08,0x14,0x22,0x77,0x14,0x14,0x14,0x1c,
61 /* code 02 */ 0x1c,0x14,0x14,0x14,0x77,0x22,0x14,0x08,
62 /* code 03 */ 0x08,0x0c,0x7a,0x41,0x7a,0x0c,0x08,0x00,
63 /* code 04 */ 0x08,0x18,0x2f,0x41,0x2f,0x18,0x08,0x00,
64 /* code 05 */ 0x3e,0x5d,0x6b,0x77,0x6b,0x5d,0x3e,0x00,
65 /* code 06 */ 0x7f,0x7f,0x7f,0x7e,0x7d,0x7b,0x77,0x00,
66 /* code 07 */ 0x77,0x6b,0x5d,0x3e,0x5d,0x6b,0x77,0x00,
67 /* code 08 */ 0x60,0x50,0x60,0x53,0x64,0x02,0x01,0x06,
68 /* code 09 */ 0x50,0x50,0x70,0x57,0x52,0x02,0x02,0x02,
69 /* code 0a */ 0x40,0x40,0x40,0x47,0x74,0x06,0x04,0x04,
70 /* code 0b */ 0x50,0x50,0x50,0x27,0x22,0x02,0x02,0x02,
71 /* code 0c */ 0x70,0x40,0x60,0x47,0x44,0x06,0x04,0x04,
72 /* code 0d */ 0x30,0x40,0x40,0x46,0x35,0x06,0x05,0x05,
73 /* code 0e */ 0x05,0x05,0x05,0x0d,0x0d,0x0d,0x19,0x79,
74 /* code 0f */ 0xa0,0xa0,0xa0,0xb0,0xb0,0xb0,0x98,0x9e,
75 /* code 10 */ 0x18,0x42,0x42,0x00,0x42,0x42,0x18,0x00,
76 /* code 11 */ 0x00,0x02,0x02,0x00,0x02,0x02,0x00,0x00,
77 /* code 12 */ 0x18,0x02,0x02,0x18,0x40,0x40,0x18,0x00,
78 /* code 13 */ 0x18,0x02,0x02,0x18,0x02,0x02,0x18,0x00,
79 /* code 14 */ 0x00,0x42,0x42,0x18,0x02,0x02,0x00,0x00,
80 /* code 15 */ 0x18,0x40,0x40,0x18,0x02,0x02,0x18,0x00,
81 /* code 16 */ 0x18,0x40,0x40,0x18,0x42,0x42,0x18,0x00,
82 /* code 17 */ 0x18,0x02,0x02,0x00,0x02,0x02,0x00,0x00,
83 /* code 18 */ 0x18,0x42,0x42,0x18,0x42,0x42,0x18,0x00,
84 /* code 19 */ 0x18,0x42,0x42,0x18,0x02,0x02,0x18,0x00,
85 /* code 1a */ 0x00,0x00,0x3e,0x01,0x7f,0x41,0x3e,0x00,
86 /* code 1b */ 0x70,0x40,0x70,0x43,0x74,0x04,0x04,0x03,
87 /* code 1c */ 0x07,0x0f,0x1f,0x18,0x18,0x10,0x1e,0x17,
88 /* code 1d */ 0xf0,0xf8,0xec,0x04,0x04,0x04,0x3c,0x54,
89 /* code 1e */ 0x11,0x0b,0x0d,0x06,0x07,0x2e,0x39,0x38,
90 /* code 1f */ 0x04,0x28,0xd8,0x28,0xd0,0x10,0xe0,0x00,
91 /* code 20 */ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
92 /* code 21 */ 0x08,0x08,0x08,0x08,0x08,0x00,0x08,0x00,
93 /* code 22 */ 0x14,0x14,0x14,0x00,0x00,0x00,0x00,0x00,
94 /* code 23 */ 0x14,0x14,0x3e,0x14,0x3e,0x14,0x14,0x00,
95 /* code 24 */ 0x08,0x1e,0x28,0x1c,0x0a,0x3c,0x08,0x00,
96 /* code 25 */ 0x22,0x54,0x24,0x08,0x12,0x15,0x22,0x00,
97 /* code 26 */ 0x38,0x40,0x20,0x30,0x4a,0x44,0x3a,0x00,
98 /* code 27 */ 0x0c,0x08,0x10,0x00,0x00,0x00,0x00,0x00,
99 /* code 28 */ 0x04,0x08,0x10,0x10,0x10,0x08,0x04,0x00,
100 /* code 29 */ 0x10,0x08,0x04,0x04,0x04,0x08,0x10,0x00,
101 /* code 2a */ 0x08,0x08,0x6b,0x1c,0x08,0x14,0x22,0x00,
102 /* code 2b */ 0x08,0x08,0x08,0x7f,0x08,0x08,0x08,0x00,
103 /* code 2c */ 0x00,0x00,0x00,0x00,0x00,0x18,0x10,0x20,
104 /* code 2d */ 0x00,0x00,0x00,0x7f,0x00,0x00,0x00,0x00,
105 /* code 2e */ 0x00,0x00,0x00,0x00,0x00,0x18,0x18,0x00,
106 /* code 2f */ 0x04,0x04,0x08,0x08,0x10,0x10,0x20,0x20,
107 /* code 30 */ 0x3c,0x42,0x42,0x42,0x42,0x42,0x3c,0x00,
108 /* code 31 */ 0x08,0x18,0x08,0x08,0x08,0x08,0x08,0x00,
109 /* code 32 */ 0x3c,0x42,0x04,0x08,0x10,0x20,0x7e,0x00,
110 /* code 33 */ 0x3c,0x42,0x02,0x1c,0x02,0x42,0x3c,0x00,
111 /* code 34 */ 0x04,0x0c,0x14,0x24,0x7e,0x04,0x0e,0x00,
112 /* code 35 */ 0x7e,0x40,0x40,0x7c,0x02,0x02,0x7c,0x00,
113 /* code 36 */ 0x1c,0x20,0x40,0x7c,0x42,0x42,0x3c,0x00,
114 /* code 37 */ 0x7e,0x02,0x04,0x04,0x08,0x08,0x10,0x00,
115 /* code 38 */ 0x3c,0x42,0x42,0x3c,0x42,0x42,0x3c,0x00,
116 /* code 39 */ 0x3c,0x42,0x42,0x3e,0x02,0x04,0x38,0x00,
117 /* code 3a */ 0x00,0x18,0x18,0x00,0x00,0x18,0x18,0x00,
118 /* code 3b */ 0x00,0x18,0x18,0x00,0x00,0x18,0x10,0x20,
119 /* code 3c */ 0x00,0x06,0x18,0x60,0x18,0x06,0x00,0x00,
120 /* code 3d */ 0x00,0x00,0x7f,0x00,0x00,0x7f,0x00,0x00,
121 /* code 3e */ 0x00,0x60,0x18,0x06,0x18,0x60,0x00,0x00,
122 /* code 3f */ 0x1c,0x22,0x02,0x04,0x08,0x00,0x08,0x00,
123 /* code 40 */ 0x1c,0x22,0x49,0x55,0x4a,0x20,0x1c,0x00,
124 /* code 41 */ 0x08,0x08,0x1c,0x14,0x3e,0x22,0x63,0x00,
125 /* code 42 */ 0x7e,0x41,0x41,0x7e,0x41,0x41,0x7e,0x00,
126 /* code 43 */ 0x1e,0x21,0x40,0x40,0x40,0x21,0x1e,0x00,
127 /* code 44 */ 0x7c,0x42,0x41,0x41,0x41,0x42,0x7c,0x00,
128 /* code 45 */ 0x7f,0x40,0x40,0x7c,0x40,0x40,0x7f,0x00,
129 /* code 46 */ 0x7f,0x40,0x40,0x7c,0x40,0x40,0x40,0x00,
130 /* code 47 */ 0x1e,0x21,0x40,0x47,0x41,0x21,0x1f,0x00,
131 /* code 48 */ 0x41,0x41,0x41,0x7f,0x41,0x41,0x41,0x00,
132 /* code 49 */ 0x3e,0x08,0x08,0x08,0x08,0x08,0x3e,0x00,
133 /* code 4a */ 0x0e,0x02,0x02,0x02,0x42,0x42,0x3c,0x00,
134 /* code 4b */ 0x42,0x44,0x48,0x70,0x48,0x44,0x42,0x00,
135 /* code 4c */ 0x40,0x40,0x40,0x40,0x40,0x40,0x7e,0x00,
136 /* code 4d */ 0x41,0x63,0x55,0x49,0x41,0x41,0x41,0x00,
137 /* code 4e */ 0x41,0x61,0x51,0x49,0x45,0x43,0x41,0x00,
138 /* code 4f */ 0x1c,0x22,0x41,0x41,0x41,0x22,0x1c,0x00,
139 /* code 50 */ 0x7e,0x41,0x41,0x7e,0x40,0x40,0x40,0x00,
140 /* code 51 */ 0x1c,0x22,0x41,0x41,0x41,0x22,0x1c,0x07,
141 /* code 52 */ 0x7e,0x41,0x41,0x7e,0x44,0x42,0x41,0x00,
142 /* code 53 */ 0x3e,0x41,0x40,0x3e,0x01,0x41,0x3e,0x00,
143 /* code 54 */ 0x7f,0x08,0x08,0x08,0x08,0x08,0x08,0x00,
144 /* code 55 */ 0x41,0x41,0x41,0x41,0x41,0x41,0x3e,0x00,
145 /* code 56 */ 0x63,0x22,0x22,0x14,0x14,0x08,0x08,0x00,
146 /* code 57 */ 0x41,0x41,0x41,0x49,0x55,0x63,0x41,0x00,
147 /* code 58 */ 0x41,0x22,0x14,0x08,0x14,0x22,0x41,0x00,
148 /* code 59 */ 0x41,0x22,0x14,0x08,0x08,0x08,0x08,0x00,
149 /* code 5a */ 0x7f,0x02,0x04,0x08,0x10,0x20,0x7f,0x00,
150 /* code 5b */ 0x0e,0x08,0x08,0x08,0x08,0x08,0x0e,0x00,
151 /* code 5c */ 0x20,0x20,0x10,0x10,0x08,0x08,0x04,0x04,
152 /* code 5d */ 0x38,0x08,0x08,0x08,0x08,0x08,0x38,0x00,
153 /* code 5e */ 0x08,0x14,0x22,0x00,0x00,0x00,0x00,0x00,
154 /* code 5f */ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x7f,
155 /* code 60 */ 0x18,0x08,0x04,0x00,0x00,0x00,0x00,0x00,
156 /* code 61 */ 0x00,0x00,0x3f,0x41,0x41,0x43,0x3d,0x00,
157 /* code 62 */ 0x40,0x40,0x7e,0x41,0x41,0x41,0x7e,0x00,
158 /* code 63 */ 0x00,0x00,0x3e,0x40,0x40,0x40,0x3e,0x00,
159 /* code 64 */ 0x01,0x01,0x3f,0x41,0x41,0x41,0x3f,0x00,
160 /* code 65 */ 0x00,0x00,0x3e,0x41,0x7f,0x40,0x3e,0x00,
161 /* code 66 */ 0x1e,0x20,0x78,0x20,0x20,0x20,0x20,0x00,
162 /* code 67 */ 0x00,0x00,0x3f,0x41,0x41,0x3f,0x01,0x3e,
163 /* code 68 */ 0x40,0x40,0x7e,0x41,0x41,0x41,0x41,0x00,
164 /* code 69 */ 0x08,0x00,0x38,0x08,0x08,0x08,0x3e,0x00,
165 /* code 6a */ 0x02,0x00,0x1e,0x02,0x02,0x02,0x02,0x3c,
166 /* code 6b */ 0x40,0x40,0x46,0x48,0x70,0x48,0x46,0x00,
167 /* code 6c */ 0x18,0x08,0x08,0x08,0x08,0x08,0x1c,0x00,
168 /* code 6d */ 0x00,0x00,0x76,0x49,0x49,0x49,0x41,0x00,
169 /* code 6e */ 0x00,0x00,0x5e,0x61,0x41,0x41,0x41,0x00,
170 /* code 6f */ 0x00,0x00,0x3e,0x41,0x41,0x41,0x3e,0x00,
171 /* code 70 */ 0x00,0x00,0x7e,0x41,0x41,0x41,0x7e,0x40,
172 /* code 71 */ 0x00,0x00,0x3f,0x41,0x41,0x41,0x3f,0x01,
173 /* code 72 */ 0x00,0x00,0x2e,0x30,0x20,0x20,0x20,0x00,
174 /* code 73 */ 0x00,0x00,0x3e,0x40,0x3c,0x02,0x7c,0x00,
175 /* code 74 */ 0x10,0x10,0x7e,0x10,0x10,0x10,0x0e,0x00,
176 /* code 75 */ 0x00,0x00,0x41,0x41,0x41,0x43,0x3d,0x00,
177 /* code 76 */ 0x00,0x00,0x63,0x22,0x14,0x14,0x08,0x00,
178 /* code 77 */ 0x00,0x00,0x41,0x49,0x49,0x49,0x36,0x00,
179 /* code 78 */ 0x00,0x00,0x63,0x14,0x08,0x14,0x63,0x00,
180 /* code 79 */ 0x00,0x00,0x42,0x42,0x42,0x3e,0x02,0x3c,
181 /* code 7a */ 0x00,0x00,0x7e,0x04,0x18,0x20,0x7e,0x00,
182 /* code 7b */ 0x04,0x08,0x08,0x10,0x08,0x08,0x04,0x00,
183 /* code 7c */ 0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x00,
184 /* code 7d */ 0x10,0x08,0x08,0x04,0x08,0x08,0x10,0x00,
185 /* code 7e */ 0x31,0x49,0x46,0x00,0x00,0x00,0x00,0x00,
186 /* code 7f */ 0x00,0x08,0x08,0x14,0x14,0x22,0x3e,0x00,