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
This commit is contained in:
yuripv 2019-10-05 22:17:54 +00:00
parent d0d0375375
commit b78b1e2544
2 changed files with 7 additions and 6 deletions

View File

@ -16434,7 +16434,6 @@ cntrl <NULL>;/
<ACTIVATE_ARABIC_FORM_SHAPING>;/
<NATIONAL_DIGIT_SHAPES>;/
<NOMINAL_DIGIT_SHAPES>;/
<PRIVATE_USE_AREA-E000>;...;<PRIVATE_USE_AREA-F8FF>;/
<ZERO_WIDTH_NO-BREAK_SPACE>;/
<INTERLINEAR_ANNOTATION_ANCHOR>;/
<INTERLINEAR_ANNOTATION_SEPARATOR>;/
@ -16549,9 +16548,7 @@ cntrl <NULL>;/
<TAG_VERTICAL_LINE>;/
<TAG_RIGHT_CURLY_BRACKET>;/
<TAG_TILDE>;/
<CANCEL_TAG>;/
<PRIVATE_USE_AREA-F0000>;...;<PRIVATE_USE_AREA-FFFFD>;/
<PRIVATE_USE_AREA-100000>;...;<PRIVATE_USE_AREA-10FFFD>
<CANCEL_TAG>
digit <zero>;/
<one>;/
<two>;/
@ -22555,6 +22552,7 @@ graph <DOLLAR_SIGN>;/
<MEETEI_MAYEK_VOWEL_SIGN_NUNG>;/
<MEETEI_MAYEK_LUM_IYEK>;/
<MEETEI_MAYEK_APUN_IYEK>;/
<PRIVATE_USE_AREA-E000>;...;<PRIVATE_USE_AREA-F8FF>;/
<HEBREW_POINT_JUDEO-SPANISH_VARIKA>;/
<HEBREW_LETTER_ALTERNATIVE_PLUS_SIGN>;/
<ARABIC_SYMBOL_DOT_ABOVE>;/
@ -27547,7 +27545,9 @@ graph <DOLLAR_SIGN>;/
<VARIATION_SELECTOR-253>;/
<VARIATION_SELECTOR-254>;/
<VARIATION_SELECTOR-255>;/
<VARIATION_SELECTOR-256>
<VARIATION_SELECTOR-256>;/
<PRIVATE_USE_AREA-F0000>;...;<PRIVATE_USE_AREA-FFFFD>;/
<PRIVATE_USE_AREA-100000>;...;<PRIVATE_USE_AREA-10FFFD>
lower <a>;/
<b>;/
<c>;/

View File

@ -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";