aboutsummaryrefslogtreecommitdiff
path: root/sys/libunicode/vendor/mkgraphemedata.c
diff options
context:
space:
mode:
authorNicholas Noll <nbnoll@eml.cc>2021-10-29 11:10:29 -0700
committerNicholas Noll <nbnoll@eml.cc>2021-10-29 11:10:29 -0700
commit6db99f51209ebde97311df3aac081f82589319cb (patch)
tree8a3e67a2c3ff4087379fb584a88073f0e43696e1 /sys/libunicode/vendor/mkgraphemedata.c
parentb42145545b434a40d6ad50cf3ac6cb6e04ae0500 (diff)
implemented functionality to compute rune widths from unicode data
Diffstat (limited to 'sys/libunicode/vendor/mkgraphemedata.c')
-rw-r--r--sys/libunicode/vendor/mkgraphemedata.c24
1 files changed, 24 insertions, 0 deletions
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 <u.h>
+#include <base.h>
+#include <libunicode.h>
+
+// -----------------------------------------------------------------------
+// main point of entry
+
+static
+void
+usage(void)
+{
+ fprintf(stderr, "usage: mkgraphemedata <GraphemeBreakProperty.txt>\n");
+ exit(1);
+}
+
+int
+main(int argc, char *argv[])
+{
+ io·Stream *utf8;
+ char line[1024];
+
+ ARGBEGIN{
+ }ARGEND;
+}