diff options
author | Yuri Pankov <yuripv@FreeBSD.org> | 2019-10-05 22:17:54 +0000 |
---|---|---|
committer | Yuri Pankov <yuripv@FreeBSD.org> | 2019-10-05 22:17:54 +0000 |
commit | f01edb6f5d55fe093f8ab9c5da2b1707af698a56 (patch) | |
tree | 1fcc5c790c31fa2acaafa8e76e7d4e3d5ca3c950 /tools | |
parent | e3f35d562f5b3a18f03c50ece9bf163775978053 (diff) | |
download | src-f01edb6f5d55fe093f8ab9c5da2b1707af698a56.tar.gz src-f01edb6f5d55fe093f8ab9c5da2b1707af698a56.zip |
Mark "private use area" characters as printable.
At least some of the characters in E000-F8FF range are used by Powerline
fonts, and having no attributes for these ranges in UnicodeData.txt
other than "Other, Private Use" it should be safe to mark all of them as
printable. Some actually were before r340491, so this fixes the
regression introduced there as well.
PR: 240911
Reviewed by: bapt
Tested by: Daniel Ponte <amigan@gmail.com>
Differential Revision: https://reviews.freebsd.org/D21850
Notes
Notes:
svn path=/head/; revision=353130
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/tools/locale/tools/utf8-rollup.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/tools/locale/tools/utf8-rollup.pl b/tools/tools/locale/tools/utf8-rollup.pl index 1fabb7b0d50d..da93d2f4398a 100755 --- a/tools/tools/locale/tools/utf8-rollup.pl +++ b/tools/tools/locale/tools/utf8-rollup.pl @@ -161,7 +161,8 @@ sub parse_unidata { $cat = "alpha"; } elsif ($d[2] =~ /^P/) { $cat = "punct"; - } elsif ($d[2] =~ /^M/ || $d[2] =~ /^N/ || $d[2] =~ /^S/) { + } elsif ($d[2] =~ /^Co/ || $d[2] =~ /^M/ || $d[2] =~ /^N/ || + $d[2] =~ /^S/) { $cat = "graph"; } elsif ($d[2] =~ /^C/) { $cat = "cntrl"; |