summaryrefslogtreecommitdiffstats
path: root/src/font.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/font.h')
-rw-r--r--src/font.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/font.h b/src/font.h
new file mode 100644
index 0000000..cf9276a
--- /dev/null
+++ b/src/font.h
@@ -0,0 +1,32 @@
+/*
+ * Font lookup and rendering functions
+ *
+ * Copyright (C) 2019 Patrick McDermott
+ *
+ * This file is part of fbcon2png.
+ *
+ * fbcon2png is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * fbcon2png is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with fbcon2png. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef FONT_H
+#define FONT_H
+
+#include <png.h>
+
+#include <linux/font.h>
+
+struct font *
+font_find(const char *name) __attribute__((pure));
+
+#endif /* FONT_H */