summaryrefslogtreecommitdiffstats
path: root/include/linux/font.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/font.h')
-rw-r--r--include/linux/font.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/include/linux/font.h b/include/linux/font.h
new file mode 100644
index 0000000..572d4bb
--- /dev/null
+++ b/include/linux/font.h
@@ -0,0 +1,23 @@
+#ifndef LINUX_FONT_H
+#define LINUX_FONT_H
+
+struct font_desc {
+ int idx;
+ const char *name;
+ int width;
+ int height;
+ const void *data;
+ int pref;
+};
+
+#define MPLUS_1MN_MEDIUM_10x14_IDX 0
+#define MPLUS_1MN_REGULAR_12x17_IDX 1
+#define MPLUS_1MN_REGULAR_14x19_IDX 2
+#define MPLUS_1MN_REGULAR_16x22_IDX 3
+
+extern const struct font_desc font_mplus_1mn_medium_10x14;
+extern const struct font_desc font_mplus_1mn_regular_12x17;
+extern const struct font_desc font_mplus_1mn_regular_14x19;
+extern const struct font_desc font_mplus_1mn_regular_16x22;
+
+#endif /* LINUX_FONT_H */