diff options
author | Bruno Haible <bruno@clisp.org> | 2021-12-31 23:53:39 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2021-12-31 23:53:39 +0100 |
commit | f698ea718e839e373702664e54cf240fe3682f34 (patch) | |
tree | 12db511c4663a69e7f3c098f3d27236c46905add /etc/license-notices | |
parent | 14db2b71b5bd05b94ec6126617fd32cd5f1016cd (diff) | |
download | gnulib-f698ea718e839e373702664e54cf240fe3682f34.tar.gz |
uniwidth: Optimize.
* lib/gen-uni-tables.c (output_nonspacing_property): Add version
parameter. Emit the usual boilerplate header for generated files.
(is_width2): New function, based on lib/uniwidth/width.c.
(output_width2_property): New function.
(main): Create uniwidth/width0.h instead of uniwidth/width.c.part.
Create uniwidth/width2.h.
* lib/uniwidth/width.c: Include width0.h, width2.h, bitmap.h.
(nonspacing_table_data, nonspacing_table_ind): Remove here.
(uc_width): Replace the double-width character with an u_width2 bitmap
lookup.
* modules/uniwidth/width (Files): Add lib/uniwidth/width0.h,
lib/uniwidth/width2.h, lib/unictype/bitmap.h.
Diffstat (limited to 'etc/license-notices')
0 files changed, 0 insertions, 0 deletions