From 6db99f51209ebde97311df3aac081f82589319cb Mon Sep 17 00:00:00 2001 From: Nicholas Noll Date: Fri, 29 Oct 2021 11:10:29 -0700 Subject: implemented functionality to compute rune widths from unicode data --- sys/libunicode/vendor/mkgraphemedata.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 sys/libunicode/vendor/mkgraphemedata.c (limited to 'sys/libunicode/vendor/mkgraphemedata.c') diff --git a/sys/libunicode/vendor/mkgraphemedata.c b/sys/libunicode/vendor/mkgraphemedata.c new file mode 100644 index 0000000..f79d851 --- /dev/null +++ b/sys/libunicode/vendor/mkgraphemedata.c @@ -0,0 +1,24 @@ +#include +#include +#include + +// ----------------------------------------------------------------------- +// main point of entry + +static +void +usage(void) +{ + fprintf(stderr, "usage: mkgraphemedata \n"); + exit(1); +} + +int +main(int argc, char *argv[]) +{ + io·Stream *utf8; + char line[1024]; + + ARGBEGIN{ + }ARGEND; +} -- cgit v1.2.1