vtfontcvt.c (002425273b1de64ce2f915b25826fb74eaa1620e) vtfontcvt.c (9b6224883056ca9db111541974efeb6a4de0c074)
1/*
2 * Copyright (c) 2009, 2014 The FreeBSD Foundation
3 * All rights reserved.
4 *
5 * This software was developed by Ed Schouten under sponsorship from the
6 * FreeBSD Foundation.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 100 unchanged lines hidden (view full) ---

109 uint32_t len;
110};
111
112/*
113 * Compressed font glyph list. To be used with boot loader, we need to have
114 * ascii set and box drawing chars.
115 */
116static struct whitelist c_list[] = {
1/*
2 * Copyright (c) 2009, 2014 The FreeBSD Foundation
3 * All rights reserved.
4 *
5 * This software was developed by Ed Schouten under sponsorship from the
6 * FreeBSD Foundation.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 100 unchanged lines hidden (view full) ---

109 uint32_t len;
110};
111
112/*
113 * Compressed font glyph list. To be used with boot loader, we need to have
114 * ascii set and box drawing chars.
115 */
116static struct whitelist c_list[] = {
117 { .c = 0, .len = 0 }, /* deault char */
117 { .c = 0, .len = 0 }, /* default char */
118 { .c = 0x20, .len = 0x5f },
119 { .c = 0x2500, .len = 0 }, /* single frame */
120 { .c = 0x2502, .len = 0 },
121 { .c = 0x250c, .len = 0 },
122 { .c = 0x2510, .len = 0 },
123 { .c = 0x2514, .len = 0 },
124 { .c = 0x2518, .len = 0 },
125 { .c = 0x2550, .len = 1 }, /* double frame */
126 { .c = 0x2554, .len = 0 },
127 { .c = 0x2557, .len = 0 },
128 { .c = 0x255a, .len = 0 },
129 { .c = 0x255d, .len = 0 },
130};
131
132/*
133 * Uncompressed source. For x86 we need cp437 so the vga text mode
134 * can program font into the vga card.
135 */
136static struct whitelist s_list[] = {
118 { .c = 0x20, .len = 0x5f },
119 { .c = 0x2500, .len = 0 }, /* single frame */
120 { .c = 0x2502, .len = 0 },
121 { .c = 0x250c, .len = 0 },
122 { .c = 0x2510, .len = 0 },
123 { .c = 0x2514, .len = 0 },
124 { .c = 0x2518, .len = 0 },
125 { .c = 0x2550, .len = 1 }, /* double frame */
126 { .c = 0x2554, .len = 0 },
127 { .c = 0x2557, .len = 0 },
128 { .c = 0x255a, .len = 0 },
129 { .c = 0x255d, .len = 0 },
130};
131
132/*
133 * Uncompressed source. For x86 we need cp437 so the vga text mode
134 * can program font into the vga card.
135 */
136static struct whitelist s_list[] = {
137 { .c = 0, .len = 0 }, /* deault char */
137 { .c = 0, .len = 0 }, /* default char */
138 { .c = 0x20, .len = 0x5f }, /* ascii set */
139 { .c = 0xA0, .len = 0x5f }, /* latin 1 */
140 { .c = 0x0192, .len = 0 },
141 { .c = 0x0332, .len = 0 }, /* composing lower line */
142 { .c = 0x0393, .len = 0 },
143 { .c = 0x0398, .len = 0 },
144 { .c = 0x03A3, .len = 0 },
145 { .c = 0x03A6, .len = 0 },

--- 905 unchanged lines hidden ---
138 { .c = 0x20, .len = 0x5f }, /* ascii set */
139 { .c = 0xA0, .len = 0x5f }, /* latin 1 */
140 { .c = 0x0192, .len = 0 },
141 { .c = 0x0332, .len = 0 }, /* composing lower line */
142 { .c = 0x0393, .len = 0 },
143 { .c = 0x0398, .len = 0 },
144 { .c = 0x03A3, .len = 0 },
145 { .c = 0x03A6, .len = 0 },

--- 905 unchanged lines hidden ---