diff options
author | Rich Felker <dalias@aerifal.cx> | 2006-10-05 21:10:32 +0000 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2006-10-05 21:10:32 +0000 |
commit | cffa2eeb2052df70c52fc720add9fe7e31b314e7 (patch) | |
tree | d4c80a2f080f3419959e54a462f259776bb37ab4 /ucf.h | |
parent | dc6a00a52f6df3c7e66c6535c2489f51fa1fa13a (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.h | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -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); |