diff options
author | Steven G. Johnson <stevenj@mit.edu> | 2018-07-24 10:45:02 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-24 10:45:02 -0400 |
commit | 02f4e1890cf8135b609b404c58ac7e8b27136ad6 (patch) | |
tree | 7f8103aed772dd6e5d1b3baae6ae86b0282847b5 /data/data_generator.rb | |
parent | 0975bf9b6d95e704bb7419e4ca281a171ca0b956 (diff) | |
download | libutf8proc-02f4e1890cf8135b609b404c58ac7e8b27136ad6.tar.gz libutf8proc-02f4e1890cf8135b609b404c58ac7e8b27136ad6.tar.bz2 |
charwidth=1 for soft hyphen and unassigned codepoints (#135)
* use width=1 for soft hyphen and for unassigned/PUA codepoints
* don't count unassigned codepoints when comparing with system wcwidth
* more tests
* indentation fixes
* NEWS for 135
* remove special-casing for arabic control characters affecting a span of numbers, which are sometimes zero-width and sometimes not
* regenerate
Diffstat (limited to 'data/data_generator.rb')
-rw-r--r-- | data/data_generator.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/data_generator.rb b/data/data_generator.rb index 972f542..795652c 100644 --- a/data/data_generator.rb +++ b/data/data_generator.rb @@ -378,7 +378,7 @@ end $stdout << "};\n\n" $stdout << "static const utf8proc_property_t utf8proc_properties[] = {\n" -$stdout << " {0, 0, 0, 0, UINT16_MAX, UINT16_MAX, UINT16_MAX, UINT16_MAX, UINT16_MAX, UINT16_MAX, false,false,false,false, 0, 0, UTF8PROC_BOUNDCLASS_OTHER},\n" +$stdout << " {0, 0, 0, 0, UINT16_MAX, UINT16_MAX, UINT16_MAX, UINT16_MAX, UINT16_MAX, UINT16_MAX, false,false,false,false, 1, 0, UTF8PROC_BOUNDCLASS_OTHER},\n" properties.each { |line| $stdout << line } |