From cffa2eeb2052df70c52fc720add9fe7e31b314e7 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Thu, 5 Oct 2006 21:10:32 +0000 Subject: the big UCF-font commit! still a little bit messy, but it works quite well already more to come soon. --- ucf.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 ucf.h (limited to 'ucf.h') 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 + +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); -- cgit v1.2.1