Commit graph

3 commits

Author SHA1 Message Date
Alexander Sieg
b8e9e1ca06 made generate-unicode-precompose.sh work on BSD systems
bsd cut takes the files always as the last argument, according to the
gnu man page this should be the same for gnu cut

A Bourne shell should be available under /bin/sh on most if not all posix
conform systems
2020-05-03 14:42:29 +02:00
Daniel Eklöf
a24a3520c7
script: generate-unicode-precompose: generate a complete header file 2020-05-02 18:25:15 +02:00
Daniel Eklöf
d945b68b73
unicode-combine: remove utf8proc dependency
We only used utf8proc to try to pre-compose a glyph from a base and
combining character.

We can do this ourselves by using a pre-compiled table of valid
pre-compositions. This table isn't _that_ big, and binary searching it
is fast.

That is, for a very small amount of code, and not too much extra RO
data, we can get rid of the utf8proc dependency.
2020-05-02 17:29:00 +02:00