aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate-unicode-precompose.sh (unfollow)
Commit message (Collapse)AuthorLines
2020-05-09generate-unicode-precompose: /bin/sh is more standard than /usr/bin/shDaniel Eklöf-2/+2
At the same time, fix `cut` command to pass filename last, as this is also more portable. Fixes build issues on e.g. Alpine Linux
2020-05-09unicode-precompose: use fcft's precompose functionalityDaniel Eklöf-33/+0
This allows us more options when determining whether to use a pre-composed character or not: We now only use the pre-composed character if it's from the primary font, or if at least one of the base or combining characters are from a fallback font. I.e. use glyphs from the primary font if possible. But, if one or more of the decomposed glyphs are from a fallback font, use the pre-composed character anyway.
2020-05-02script: generate-unicode-precompose: generate a complete header fileDaniel Eklöf-2/+27
2020-05-02unicode-combine: remove utf8proc dependencyDaniel Eklöf-0/+8
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.