From 02f4e1890cf8135b609b404c58ac7e8b27136ad6 Mon Sep 17 00:00:00 2001 From: "Steven G. Johnson" Date: Tue, 24 Jul 2018 10:45:02 -0400 Subject: 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 --- data/data_generator.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data/data_generator.rb') 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 } -- cgit v1.2.3