From b7b129eaf357cf4668bb77ee468f2e82dc48f311 Mon Sep 17 00:00:00 2001 From: Kai Ma Date: Wed, 5 Aug 2026 00:56:18 +0200 Subject: [PATCH] Change widths of some East Asian Neutral characters to 1 In accordance to UAX #11 ED7 (https://www.unicode.org/reports/tr11/tr11-44.html#ED7) [...] because for all practical purposes they behave like Na, they are treated as narrow characters (the same as Na) under the recommendations below. * lisp/international/characters.el: Do not mark U+2690--U+2692, U+1F1AD, U+1FA00--U+1FA53, U+1FA60--U+1FA6D, and U+1FB00--U+1FB92 as double-width, since they have East_Asian_Width=Neutral in Unicode 17. Do not mark U+061B and U+06DE as zero-width, since their Unicode General Category property is not one of Mn, Me, or Cf. --- lisp/international/characters.el | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/lisp/international/characters.el b/lisp/international/characters.el index d3024b95cd3..2b53b99afed 100644 --- a/lisp/international/characters.el +++ b/lisp/international/characters.el @@ -1001,10 +1001,12 @@ with L, LRE, or LRO Unicode bidi character type.") (#x05C4 . #x05C5) (#x05C7 . #x05C7) (#x0600 . #x0605) - (#x0610 . #x061C) + (#x0610 . #x061A) + (#x061C . #x061C) (#x064B . #x065F) (#x0670 . #x0670) - (#x06D6 . #x06E4) + (#x06D6 . #x06DD) + (#x06DF . #x06E4) (#x06E7 . #x06E8) (#x06EA . #x06ED) (#x070F . #x070F) @@ -1304,7 +1306,7 @@ with L, LRE, or LRO Unicode bidi character type.") (#x2648 . #x2653) (#x267F . #x267F) (#x268A . #x268F) - (#x2690 . #x2693) + (#x2693 . #x2693) (#x26A1 . #x26A1) (#x26AA . #x26AB) (#x26BD . #x26BE) @@ -1374,7 +1376,6 @@ with L, LRE, or LRO Unicode bidi character type.") (#x1F0CF . #x1F0CF) (#x1F18E . #x1F18E) (#x1F191 . #x1F19A) - (#x1F1AD . #x1F1AD) (#x1F200 . #x1F202) (#x1F210 . #x1F23B) (#x1F240 . #x1F248) @@ -1413,8 +1414,6 @@ with L, LRE, or LRO Unicode bidi character type.") (#x1F90C . #x1F93A) (#x1F93C . #x1F945) (#x1F947 . #x1F9FF) - (#x1FA00 . #x1FA53) - (#x1FA60 . #x1FA6D) (#x1FA70 . #x1FA7C) (#x1FA80 . #x1FA8A) (#x1FA8E . #x1FAC6) @@ -1422,7 +1421,6 @@ with L, LRE, or LRO Unicode bidi character type.") (#x1FACD . #x1FADC) (#x1FADF . #x1FAEA) (#x1FAEF . #x1FAF8) - (#x1FB00 . #x1FB92) (#x20000 . #x2FFFF) (#x30000 . #x3FFFF)))) (dolist (elt l)