]>
git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blob - lib/fonts/font_mini_4x6.c
2 /* Hand composed "Minuscule" 4x6 font, with binary data generated using
5 * Use 'perl -x mini_4x6.c < mini_4x6.c > new_version.c' to regenerate
8 * Created by Kenneth Albanowski.
9 * No rights reserved, released to the public domain.
18 s{((0x)?[0-9a-fA-F]+)(.*\[([\*\ ]{4})\])}{
20 ($num,$pat,$bits) = ($1,$3,$4);
22 $bits =~ s/([^\s0])|(.)/ defined($1) + 0 /ge;
24 $num = ord(pack("B8", $bits));
26 $num = sprintf("0x%.2x", $num);
28 #print "$num,$pat,$bits\n";
36 /* Note: binary data consists of one byte for each row of each character top
37 to bottom, character 0 to character 255, six bytes per character. Each
38 byte contains the same four character bits in both nybbles.
39 MSBit to LSBit = left to right.
42 #include <linux/font.h>
44 #define FONTDATAMAX 1536
46 static const unsigned char fontdata_mini_4x6
[FONTDATAMAX
] = {
516 /*{*/ /* Char 52: '4' */
524 /*{*/ /* Char 53: '5' */
532 /*{*/ /* Char 54: '6' */
540 /*{*/ /* Char 55: '7' */
548 /*{*/ /* Char 56: '8' */
556 /*{*/ /* Char 57: '9' */
564 /*{*/ /* Char 58: ':' */
572 /*{*/ /* Char 59: ';' */
580 /*{*/ /* Char 60: '<' */
588 /*{*/ /* Char 61: '=' */
596 /*{*/ /* Char 62: '>' */
604 /*{*/ /* Char 63: '?' */
612 /*{*/ /* Char 64: '@' */
620 /*{*/ /* Char 65: 'A' */
628 /*{*/ /* Char 66: 'B' */
636 /*{*/ /* Char 67: 'C' */
644 /*{*/ /* Char 68: 'D' */
652 /*{*/ /* Char 69: 'E' */
660 /*{*/ /* Char 70: 'F' */
668 /*{*/ /* Char 71: 'G' */
676 /*{*/ /* Char 72: 'H' */
684 /*{*/ /* Char 73: 'I' */
692 /*{*/ /* Char 74: 'J' */
700 /*{*/ /* Char 75: 'K' */
708 /*{*/ /* Char 76: 'L' */
716 /*{*/ /* Char 77: 'M' */
724 /*{*/ /* Char 78: 'N' */
732 /*{*/ /* Char 79: 'O' */
740 /*{*/ /* Char 80: 'P' */
748 /*{*/ /* Char 81: 'Q' */
756 /*{*/ /* Char 82: 'R' */
764 /*{*/ /* Char 83: 'S' */
772 /*{*/ /* Char 84: 'T' */
780 /*{*/ /* Char 85: 'U' */
788 /*{*/ /* Char 86: 'V' */
796 /*{*/ /* Char 87: 'W' */
804 /*{*/ /* Char 88: 'X' */
812 /*{*/ /* Char 89: 'Y' */
820 /*{*/ /* Char 90: 'Z' */
828 /*{*/ /* Char 91: '[' */
836 /*{*/ /* Char 92: '\' */
844 /*{*/ /* Char 93: ']' */
852 /*{*/ /* Char 94: '^' */
860 /*{*/ /* Char 95: '_' */
868 /*{*/ /* Char 96: '`' */
876 /*{*/ /* Char 97: 'a' */
884 /*{*/ /* Char 98: 'b' */
892 /*{*/ /* Char 99: 'c' */
900 /*{*/ /* Char 100: 'd' */
908 /*{*/ /* Char 101: 'e' */
916 /*{*/ /* Char 102: 'f' */
924 /*{*/ /* Char 103: 'g' */
932 /*{*/ /* Char 104: 'h' */
940 /*{*/ /* Char 105: 'i' */
948 /*{*/ /* Char 106: 'j' */
956 /*{*/ /* Char 107: 'k' */
964 /*{*/ /* Char 108: 'l' */
972 /*{*/ /* Char 109: 'm' */
980 /*{*/ /* Char 110: 'n' */
988 /*{*/ /* Char 111: 'o' */
996 /*{*/ /* Char 112: 'p' */
1004 /*{*/ /* Char 113: 'q' */
1012 /*{*/ /* Char 114: 'r' */
1020 /*{*/ /* Char 115: 's' */
1028 /*{*/ /* Char 116: 't' */
1036 /*{*/ /* Char 117: 'u' */
1044 /*{*/ /* Char 118: 'v' */
1052 /*{*/ /* Char 119: 'w' */
1060 /*{*/ /* Char 120: 'x' */
1068 /*{*/ /* Char 121: 'y' */
1076 /*{*/ /* Char 122: 'z' */
1084 /*{*/ /* Char 123: '{' */
1092 /*{*/ /* Char 124: '|' */
1100 /*{*/ /* Char 125: '}' */
1108 /*{*/ /* Char 126: '~' */
1116 /*{*/ /* Char 127: '\7f' */
1124 /*{*/ /* Char 128: */
1132 /*{*/ /* Char 129: */
1140 /*{*/ /* Char 130: */
1148 /*{*/ /* Char 131: */
1156 /*{*/ /* Char 132: */
1164 /*{*/ /* Char 133: */
1172 /*{*/ /* Char 134: */
1180 /*{*/ /* Char 135: */
1188 /*{*/ /* Char 136: */
1196 /*{*/ /* Char 137: */
1204 /*{*/ /* Char 138: */
1212 /*{*/ /* Char 139: */
1220 /*{*/ /* Char 140: */
1228 /*{*/ /* Char 141: */
1236 /*{*/ /* Char 142: */
1244 /*{*/ /* Char 143: */
1252 /*{*/ /* Char 144: */
1260 /*{*/ /* Char 145: */
1268 /*{*/ /* Char 146: */
1276 /*{*/ /* Char 147: */
1284 /*{*/ /* Char 148: */
1292 /*{*/ /* Char 149: */
1300 /*{*/ /* Char 150: */
1308 /*{*/ /* Char 151: */
1316 /*{*/ /* Char 152: */
1324 /*{*/ /* Char 153: */
1332 /*{*/ /* Char 154: */
1340 /*{*/ /* Char 155: */
1348 /*{*/ /* Char 156: */
1356 /*{*/ /* Char 157: */
1364 /*{*/ /* Char 158: */
1372 /*{*/ /* Char 159: */
1380 /*{*/ /* Char 160: */
1388 /*{*/ /* Char 161: */
1396 /*{*/ /* Char 162: */
1404 /*{*/ /* Char 163: */
1412 /*{*/ /* Char 164: */
1420 /*{*/ /* Char 165: */
1428 /*{*/ /* Char 166: */
1436 /*{*/ /* Char 167: */
1444 /*{*/ /* Char 168: */
1452 /*{*/ /* Char 169: */
1460 /*{*/ /* Char 170: */
1468 /*{*/ /* Char 171: */
1476 /*{*/ /* Char 172: */
1484 /*{*/ /* Char 173: */
1492 /*{*/ /* Char 174: */
1500 /*{*/ /* Char 175: */
1508 /*{*/ /* Char 176: */
1516 /*{*/ /* Char 177: */
1524 /*{*/ /* Char 178: */
1532 /*{*/ /* Char 179: */
1540 /*{*/ /* Char 180: */
1548 /*{*/ /* Char 181: */
1556 /*{*/ /* Char 182: */
1564 /*{*/ /* Char 183: */
1572 /*{*/ /* Char 184: */
1580 /*{*/ /* Char 185: */
1588 /*{*/ /* Char 186: */
1596 /*{*/ /* Char 187: */
1604 /*{*/ /* Char 188: */
1612 /*{*/ /* Char 189: */
1620 /*{*/ /* Char 190: */
1628 /*{*/ /* Char 191: */
1636 /*{*/ /* Char 192: */
1644 /*{*/ /* Char 193: */
1652 /*{*/ /* Char 194: */
1660 /*{*/ /* Char 195: */
1668 /*{*/ /* Char 196: */
1676 /*{*/ /* Char 197: */
1684 /*{*/ /* Char 198: */
1692 /*{*/ /* Char 199: */
1700 /*{*/ /* Char 200: */
1708 /*{*/ /* Char 201: */
1716 /*{*/ /* Char 202: */
1724 /*{*/ /* Char 203: */
1732 /*{*/ /* Char 204: */
1740 /*{*/ /* Char 205: */
1748 /*{*/ /* Char 206: */
1756 /*{*/ /* Char 207: */
1764 /*{*/ /* Char 208: */
1772 /*{*/ /* Char 209: */
1780 /*{*/ /* Char 210: */
1788 /*{*/ /* Char 211: */
1796 /*{*/ /* Char 212: */
1804 /*{*/ /* Char 213: */
1812 /*{*/ /* Char 214: */
1820 /*{*/ /* Char 215: */
1828 /*{*/ /* Char 216: */
1836 /*{*/ /* Char 217: */
1844 /*{*/ /* Char 218: */
1852 /*{*/ /* Char 219: */
1860 /*{*/ /* Char 220: */
1868 /*{*/ /* Char 221: */
1876 /*{*/ /* Char 222: */
1884 /*{*/ /* Char 223: */
1892 /*{*/ /* Char 224: */
1900 /*{*/ /* Char 225: */
1908 /*{*/ /* Char 226: */
1916 /*{*/ /* Char 227: */
1924 /*{*/ /* Char 228: */
1932 /*{*/ /* Char 229: */
1940 /*{*/ /* Char 230: */
1948 /*{*/ /* Char 231: */
1956 /*{*/ /* Char 232: */
1964 /*{*/ /* Char 233: */
1972 /*{*/ /* Char 234: */
1980 /*{*/ /* Char 235: */
1988 /*{*/ /* Char 236: */
1996 /*{*/ /* Char 237: */
2004 /*{*/ /* Char 238: */
2012 /*{*/ /* Char 239: */
2020 /*{*/ /* Char 240: */
2028 /*{*/ /* Char 241: */
2036 /*{*/ /* Char 242: */
2044 /*{*/ /* Char 243: */
2052 /*{*/ /* Char 244: */
2060 /*{*/ /* Char 245: */
2068 /*{*/ /* Char 246: */
2076 /*{*/ /* Char 247: */
2084 /*{*/ /* Char 248: */
2092 /*{*/ /* Char 249: */
2100 /*{*/ /* Char 250: */
2108 /*{*/ /* Char 251: */
2116 /*{*/ /* Char 252: */
2124 /*{*/ /* Char 253: */
2132 /*{*/ /* Char 254: */
2140 /*{*/ /* Char 255: */
2150 const struct font_desc font_mini_4x6
= {
2155 .data
= fontdata_mini_4x6
,