Go to the documentation of this file.
15 #include <linux/module.h>
16 #include <linux/types.h>
17 #include <linux/string.h>
18 #if defined(__mc68000__)
19 #include <asm/setup.h>
25 static const struct font_desc *fonts[] = {
26 #ifdef CONFIG_FONT_8x8
30 #ifdef CONFIG_FONT_8x16
34 #ifdef CONFIG_FONT_6x11
38 #ifdef CONFIG_FONT_7x14
42 #ifdef CONFIG_FONT_SUN8x16
46 #ifdef CONFIG_FONT_SUN12x22
50 #ifdef CONFIG_FONT_10x18
54 #ifdef CONFIG_FONT_ACORN_8x8
58 #ifdef CONFIG_FONT_PEARL_8x8
62 #ifdef CONFIG_FONT_MINI_4x6
68 #define num_fonts ARRAY_SIZE(fonts)
71 #error No fonts configured.
91 if (!
strcmp(fonts[i]->name, name))
123 #if defined(__mc68000__)
124 #ifdef CONFIG_FONT_PEARL_8x8
128 #ifdef CONFIG_FONT_6x11
133 if ((yres < 400) == (f->
height <= 8))
136 if ((font_w & (1 << (f->
width - 1))) &&
137 (font_h & (1 << (f->
height - 1))))