Update unicode data to 12.1
This commit is contained in:
parent
4a0fcb3cff
commit
8e1ed2f8c3
41478
kittens/unicode_input/names.h
generated
41478
kittens/unicode_input/names.h
generated
File diff suppressed because one or more lines are too long
2
kitty/emoji.h
generated
2
kitty/emoji.h
generated
@ -1,4 +1,4 @@
|
||||
// unicode data, built from the unicode standard on: 2019-03-06
|
||||
// unicode data, built from the unicode standard on: 2019-08-02
|
||||
// see gen-wcwidth.py
|
||||
#pragma once
|
||||
#include "data-types.h"
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// unicode data, built from the unicode standard on: 2019-03-06
|
||||
// unicode data, built from the unicode standard on: 2019-08-02
|
||||
// see gen-wcwidth.py
|
||||
#include "data-types.h"
|
||||
|
||||
@ -2793,3 +2793,5 @@ default: return 0;
|
||||
} // }}}
|
||||
}
|
||||
|
||||
|
||||
END_ALLOW_CASE_RANGE
|
||||
|
||||
12
kitty/wcwidth-std.h
generated
12
kitty/wcwidth-std.h
generated
@ -1,4 +1,4 @@
|
||||
// unicode data, built from the unicode standard on: 2019-03-06
|
||||
// unicode data, built from the unicode standard on: 2019-08-02
|
||||
// see gen-wcwidth.py
|
||||
#pragma once
|
||||
#include "data-types.h"
|
||||
@ -1227,7 +1227,7 @@ wcwidth_std(int32_t code) {
|
||||
return -2;
|
||||
// }}}
|
||||
|
||||
// East Asian double width (181867 codepoints) {{{
|
||||
// East Asian double width (181868 codepoints) {{{
|
||||
case 0x1100 ... 0x115f:
|
||||
return 2;
|
||||
case 0x231a ... 0x231b:
|
||||
@ -1332,9 +1332,7 @@ wcwidth_std(int32_t code) {
|
||||
return 2;
|
||||
case 0x3298:
|
||||
return 2;
|
||||
case 0x329a ... 0x32fe:
|
||||
return 2;
|
||||
case 0x3300 ... 0x4dbf:
|
||||
case 0x329a ... 0x4dbf:
|
||||
return 2;
|
||||
case 0x4e00 ... 0xa48c:
|
||||
return 2;
|
||||
@ -1475,7 +1473,7 @@ wcwidth_std(int32_t code) {
|
||||
return 2;
|
||||
// }}}
|
||||
|
||||
// Not assigned in the unicode character database (766327 codepoints) {{{
|
||||
// Not assigned in the unicode character database (766326 codepoints) {{{
|
||||
case 0x378 ... 0x379:
|
||||
return -4;
|
||||
case 0x380 ... 0x383:
|
||||
@ -2044,8 +2042,6 @@ wcwidth_std(int32_t code) {
|
||||
return -4;
|
||||
case 0x321f:
|
||||
return -4;
|
||||
case 0x32ff:
|
||||
return -4;
|
||||
case 0xa48d ... 0xa48f:
|
||||
return -4;
|
||||
case 0xa4c7 ... 0xa4cf:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user