README.md (1503B)
1 # make scripts and programs 2 3 - `canvas.c2w.wcwidth*.cpp` ... These C++ codes are used to generate the character-width table by the C-library implementations and different terminal implementations. 4 [`src/canvas.c2w.musl.sh`](../src/canvas.c2w.musl.sh) is generated by this program. 5 - `canvas.c2w.list-ucsver-detection-codes.sh` ... This script is used to analyze the character-width table based on Unicode database. 6 The character codes used by the test for [`bleopt char_width_{mode,version}=auto`] are determined based on the result of this script. 7 - `canvas.emoji.sh` ... This script is used to test the emoji supports of different terminals. 8 - `mwg_pp.awk` ... This is a preprocessor program written in AWK, which is used to preprocess and combine multiple shell scripts into a single file `ble.sh`. 9 The source repository is [`akinomyoga/mwg_pp`](https://github.com/akinomyoga/mwg_pp). 10 - `debug.leakvar.exclude-list.txt` ... This is a white list for the global variables. 11 12 13 ## `canvas.c2w.generate-table.sh` 14 15 This script file downloads data of Unicode properties from Unicode database and 16 generates various tables. 17 18 ```bash 19 $ make/canvas.c2w.generate-table.sh c2w 20 21 src/canvas.c2w.sh 22 23 $ make/canvas.c2w.generate-table.sh convert-custom-c2w <array-name> < input > output 24 25 src/canvas.c2w.musl.sh 26 27 $ make/canvas.c2w.generate-table.sh emoji 28 29 src/canvas.emoji.sh 30 31 $ make/canvas.c2w.generate-table.sh GraphemeClusterBreak 32 33 src/canvas.GraphemeClusterBreak.sh 34 lib/test-canvas.GraphemeClusterTest.sh 35 36 ```