aboutsummaryrefslogtreecommitdiffstats
path: root/tools/mcufontencoder/src/freetype_import.hh
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2015-11-22 18:42:11 +1000
committerinmarket <andrewh@inmarket.com.au>2015-11-22 18:42:11 +1000
commit0ec1a5e4da8815f6d7c31cf7941b76f3d9fd5e28 (patch)
tree9ccca9970133bf90d8f8979a7d250f6ce10c7e7d /tools/mcufontencoder/src/freetype_import.hh
parent3ae120406e1244d728276b2bcc74d03d1ccb230d (diff)
downloaduGFX-0ec1a5e4da8815f6d7c31cf7941b76f3d9fd5e28.tar.gz
uGFX-0ec1a5e4da8815f6d7c31cf7941b76f3d9fd5e28.tar.bz2
uGFX-0ec1a5e4da8815f6d7c31cf7941b76f3d9fd5e28.zip
Add the mcufont encoder to the tools (including a win32 build) with binaries
Diffstat (limited to 'tools/mcufontencoder/src/freetype_import.hh')
-rw-r--r--tools/mcufontencoder/src/freetype_import.hh10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/mcufontencoder/src/freetype_import.hh b/tools/mcufontencoder/src/freetype_import.hh
new file mode 100644
index 00000000..eacb8b91
--- /dev/null
+++ b/tools/mcufontencoder/src/freetype_import.hh
@@ -0,0 +1,10 @@
+// Function for importing any font supported by libfreetype.
+
+#pragma once
+#include "datafile.hh"
+
+namespace mcufont {
+
+std::unique_ptr<DataFile> LoadFreetype(std::istream &file, int size, bool bw);
+
+}