]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
update wcwidth data from utf8proc
authorYuri Pankov <yuripv@FreeBSD.org>
Sun, 6 Dec 2020 16:44:41 +0000 (16:44 +0000)
committerYuri Pankov <yuripv@FreeBSD.org>
Sun, 6 Dec 2020 16:44:41 +0000 (16:44 +0000)
commit2c8d44449b25411a4dd62d073db51a312faf9b9c
treeb1651a2b860b0f72692f4031e4403ee054cf7aa6
parentb8f71f97509ecca21af9c82fd60c76be44af55a7
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]