summaryrefslogtreecommitdiff
path: root/ucf.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2006-10-05 21:10:32 +0000
committerRich Felker <dalias@aerifal.cx>2006-10-05 21:10:32 +0000
commitcffa2eeb2052df70c52fc720add9fe7e31b314e7 (patch)
treed4c80a2f080f3419959e54a462f259776bb37ab4 /ucf.h
parentdc6a00a52f6df3c7e66c6535c2489f51fa1fa13a (diff)
the big UCF-font commit!
still a little bit messy, but it works quite well already more to come soon.
Diffstat (limited to 'ucf.h')
-rw-r--r--ucf.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/ucf.h b/ucf.h
new file mode 100644
index 0000000..da238cd
--- /dev/null
+++ b/ucf.h
@@ -0,0 +1,14 @@
+/* uuterm, Copyright (C) 2006 Rich Felker; licensed under GNU GPL v2 only */
+
+#include <stddef.h>
+
+struct ucf
+{
+ int w, h, s, S;
+ const unsigned char *ranges, *ctab, *gmap, *glyphs;
+ unsigned nranges;
+};
+
+int ucf_init(struct ucf *, const unsigned char *, size_t);
+int ucf_lookup(struct ucf *, int, const unsigned *,
+ const unsigned *, const unsigned *, int);