summaryrefslogtreecommitdiffstats
path: root/head.c
diff options
context:
space:
mode:
Diffstat (limited to 'head.c')
-rw-r--r--head.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/head.c b/head.c
new file mode 100644
index 0000000..f8c7591
--- /dev/null
+++ b/head.c
@@ -0,0 +1,12 @@
+/* See LICENSE file for copyright and license details. */
+#include "common.h"
+
+
+int
+libparsesfnt_parse_head(
+ const char *data, size_t size,
+ struct libparsesfnt_head *infop,
+ const struct libparsesfnt_tabdir_entry *tag)
+{
+ return PARSE(LIBPARSESFNT_HEAD__, tag->offset, 0, 0, 0, 1, tag);
+}