add DEV.md

This commit is contained in:
Boris Faure 2023-08-13 19:38:48 +02:00
parent c0a80ae746
commit 278e287115
Signed by: borisfaure
GPG Key ID: EAA9CD729F522998
1 changed files with 10 additions and 0 deletions

10
DEV.md Normal file
View File

@ -0,0 +1,10 @@
# Double Width
The code to decide whether a unicode codepoint should be rendered double-width
is generated from the Unicode specification.
This is done by using `tools/unicode_dbl_width.py`.
1. Download <https://www.unicode.org/Public/UCD/latest/ucdxml/ucd.all.flat.zip>
2. Extract it
3. Run `tools/unicode_dbl_width.py ucd.all.flat.xml src/bin/termptydbl.h src/bin/termptydbl.c`_
4. Commit the files modified