about summary refs log tree commit diff stats
path: root/res/map/charwidth_gen.nim
diff options
context:
space:
mode:
Diffstat (limited to 'res/map/charwidth_gen.nim')
-rw-r--r--res/map/charwidth_gen.nim68
1 files changed, 35 insertions, 33 deletions
diff --git a/res/map/charwidth_gen.nim b/res/map/charwidth_gen.nim
index 4d32bf44..24b8a0be 100644
--- a/res/map/charwidth_gen.nim
+++ b/res/map/charwidth_gen.nim
@@ -1,21 +1,22 @@
-const DoubleWidthRanges: array[85, tuple[ucs, mapped: uint32]] = [
+const DoubleWidthRanges: array[89, tuple[ucs, mapped: uint32]] = [
 (94176,94177),(94178,94178),(94179,94179),(94180,94180),(94192,94193),
-(94208,100343),(100352,101119),(101120,101589),(101632,101640),(110576,110579),
-(110581,110587),(110589,110590),(110592,110847),(110848,110882),(110898,110898),
-(110928,110930),(110933,110933),(110948,110951),(110960,111355),(126980,126980),
-(127183,127183),(127374,127374),(127377,127386),(127488,127490),(127504,127547),
-(127552,127560),(127568,127569),(127584,127589),(127744,127776),(127789,127797),
-(127799,127868),(127870,127891),(127904,127946),(127951,127955),(127968,127984),
-(127988,127988),(127992,127994),(127995,127999),(128000,128062),(128064,128064),
-(128066,128252),(128255,128317),(128331,128334),(128336,128359),(128378,128378),
-(128405,128406),(128420,128420),(128507,128511),(128512,128591),(128640,128709),
-(128716,128716),(128720,128722),(128725,128727),(128732,128735),(128747,128748),
-(128756,128764),(128992,129003),(129008,129008),(129292,129338),(129340,129349),
-(129351,129535),(129648,129660),(129664,129672),(129680,129725),(129727,129733),
-(129742,129755),(129760,129768),(129776,129784),(131072,173791),(173792,173823),
-(173824,177977),(177978,177983),(177984,178205),(178206,178207),(178208,183969),
-(183970,183983),(183984,191456),(191457,194559),(194560,195101),(195102,195103),
-(195104,196605),(196608,201546),(201547,201551),(201552,205743),(205744,262141),
+(94208,100343),(100352,101119),(101120,101589),(101631,101631),(101632,101640),
+(110576,110579),(110581,110587),(110589,110590),(110592,110847),(110848,110882),
+(110898,110898),(110928,110930),(110933,110933),(110948,110951),(110960,111355),
+(119552,119638),(119648,119670),(126980,126980),(127183,127183),(127374,127374),
+(127377,127386),(127488,127490),(127504,127547),(127552,127560),(127568,127569),
+(127584,127589),(127744,127776),(127789,127797),(127799,127868),(127870,127891),
+(127904,127946),(127951,127955),(127968,127984),(127988,127988),(127992,127994),
+(127995,127999),(128000,128062),(128064,128064),(128066,128252),(128255,128317),
+(128331,128334),(128336,128359),(128378,128378),(128405,128406),(128420,128420),
+(128507,128511),(128512,128591),(128640,128709),(128716,128716),(128720,128722),
+(128725,128727),(128732,128735),(128747,128748),(128756,128764),(128992,129003),
+(129008,129008),(129292,129338),(129340,129349),(129351,129535),(129648,129660),
+(129664,129673),(129679,129734),(129742,129756),(129759,129769),(129776,129784),
+(131072,173791),(173792,173823),(173824,177977),(177978,177983),(177984,178205),
+(178206,178207),(178208,183969),(183970,183983),(183984,191456),(191457,191471),
+(191472,192093),(192094,194559),(194560,195101),(195102,195103),(195104,196605),
+(196608,201546),(201547,201551),(201552,205743),(205744,262141),
 ]
 
 const DoubleWidthAmbiguousRanges: array[198, tuple[ucs, mapped: uint32]] = [
@@ -79,18 +80,19 @@ const DoubleWidthTable: PropertyTable = [
 0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,
 0u32,0u32,0u32,201326592u32,1536u32,0u32,0u32,0u32,0u32,0u32,597504u32,0u32,
 0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,
-1610612736u32,3145728u32,0u32,1048320u32,2147483648u32,524288u32,1610615810u32,
-1065008u32,606864384u32,3104u32,256u32,12079104u32,0u32,14680064u32,
-2147549184u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,
-0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,402653184u32,
-0u32,2162688u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,
-0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,4227858431u32,
-4294967295u32,4294967295u32,1048575u32,4294967295u32,4294967295u32,
-4294967295u32,4294967295u32,4294967295u32,4294967295u32,4194303u32,268369920u32,
-4294967295u32,2147483647u32,4294967294u32,4294967295u32,4269801471u32,
-4294967295u32,4294967295u32,4294967295u32,4294967264u32,4294901759u32,
-4294967295u32,4294967295u32,4294934527u32,4294967295u32,4294967295u32,
-4294901775u32,2147483647u32,4294967295u32,4294902015u32,4294967295u32,
+1610612736u32,3145728u32,16711680u32,1048320u32,2147483648u32,588800u32,
+1610615810u32,1065008u32,606864384u32,3104u32,256u32,12079104u32,0u32,
+14680064u32,2147549184u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,
+0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,
+402653184u32,0u32,2162688u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,
+0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,
+4227858431u32,4294967295u32,4294967295u32,1048575u32,4294967295u32,
+4294967295u32,4294967295u32,4294967295u32,4294967295u32,4294967295u32,
+4194303u32,4294901760u32,4294967295u32,2147483647u32,4294967294u32,
+4294967295u32,4269801471u32,4294967295u32,4294967295u32,4294967295u32,
+4294967264u32,4294901759u32,4294967295u32,4294967295u32,4294934527u32,
+4294967295u32,4294967295u32,4294934591u32,2147483647u32,4294967295u32,
+4294902015u32,4294967295u32,4294967295u32,4294967295u32,4294967295u32,
 4294967295u32,4294967295u32,4294967295u32,4294967295u32,4294967295u32,
 4294967295u32,4294967295u32,4294967295u32,4294967295u32,4294967295u32,
 4294967295u32,4294967295u32,4294967295u32,4294967295u32,4294967295u32,
@@ -134,7 +136,6 @@ const DoubleWidthTable: PropertyTable = [
 4294967295u32,4294967295u32,4294967295u32,4294967295u32,4294967295u32,
 4294967295u32,4294967295u32,4294967295u32,4294967295u32,4294967295u32,
 4294967295u32,4294967295u32,4294967295u32,4294967295u32,4294967295u32,
-4294967295u32,4294967295u32,4294967295u32,0u32,0u32,4294967295u32,4294967295u32,
 4294967295u32,4294967295u32,4294967295u32,4294967295u32,4294967295u32,
 4294967295u32,4294967295u32,4294967295u32,4294967295u32,4294967295u32,
 4294967295u32,4294967295u32,4294967295u32,4294967295u32,4294967295u32,
@@ -273,11 +274,12 @@ const DoubleWidthTable: PropertyTable = [
 4294967295u32,4294967295u32,4294967295u32,4294967295u32,4294967295u32,
 4294967295u32,4294967295u32,4294967295u32,4294967295u32,4294967295u32,
 4294967295u32,4294967295u32,4294967295u32,4294967295u32,4294967295u32,
-4294909951u32,4294967295u32,127u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,
+4294967295u32,4294967295u32,4294967295u32,4294967295u32,4294909951u32,
+4294967295u32,127u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,
 0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,
-0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,536870911u32,0u32,0u32,
+0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,536870911u32,0u32,0u32,0u32,0u32,
 0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,0u32,
-0u32,0u32,4294967295u32,4294967295u32,4294967295u32,4294967295u32,4294967295u32,
+4294967295u32,4294967295u32,4294967295u32,4294967295u32,4294967295u32,
 4294967295u32,4294967295u32,4294967295u32,4294967295u32,4294967295u32,
 4294967295u32,4294967295u32,4294967295u32,4294967295u32,4294967295u32,
 4294967295u32,4294967295u32,4294967295u32,4294967295u32,4294967295u32,