]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
update wcwidth data from utf8proc
authoryuripv <yuripv@FreeBSD.org>
Sun, 6 Dec 2020 16:44:41 +0000 (16:44 +0000)
committeryuripv <yuripv@FreeBSD.org>
Sun, 6 Dec 2020 16:44:41 +0000 (16:44 +0000)
commitb803311a184ad414426e956dd407e01c96c28365
treeb1651a2b860b0f72692f4031e4403ee054cf7aa6
parentf7b0aedd1c50ab83b6d83a0805a09a203f6a1b5e
update wcwidth data from utf8proc

Character width data being out of date is a constant source
of weird rendering issues and wasted time trying to diagnose
those, e.g. as reported by Jeremy Chadwick:

https://gitlab.com/muttmua/mutt/-/issues/67

Sadly, there is no real ("standard") wcwidth data source, so
this tries to rectify the problem using the utf8proc one (through
its C API) which would hopefully benefeat both FreeBSD and
utf8proc through bug reports (if any).

Reviewed by: bapt
Differential Revision: https://reviews.freebsd.org/D27259
tools/tools/locale/Makefile
tools/tools/locale/README
tools/tools/locale/etc/final-maps/widths.txt
tools/tools/locale/tools/getwidths.c [new file with mode: 0644]
tools/tools/locale/tools/mkwidths.pl [new file with mode: 0755]