patch kitty to work with the wide width of sitelen pona
This commit is contained in:
parent
b19dd5dab3
commit
1aec11b8f8
2 changed files with 19 additions and 0 deletions
|
@ -113,6 +113,11 @@ in {
|
|||
*/
|
||||
inherit (noto-variable) noto-fonts-cjk;
|
||||
inherit (go116) buildGo116Module;
|
||||
kitty = prev.kitty.overrideAttrs (old: {
|
||||
patches = [
|
||||
../../extra/kitty.patch
|
||||
];
|
||||
});
|
||||
})
|
||||
];
|
||||
}
|
||||
|
|
14
extra/kitty.patch
Normal file
14
extra/kitty.patch
Normal file
|
@ -0,0 +1,14 @@
|
|||
diff --git a/gen-wcwidth.py b/gen-wcwidth.py
|
||||
index 09f4b9a6..a755d77c 100755
|
||||
--- a/gen-wcwidth.py
|
||||
+++ b/gen-wcwidth.py
|
||||
@@ -224,6 +224,9 @@ def parse_emoji() -> None:
|
||||
doublewidth: Set[int] = set()
|
||||
ambiguous: Set[int] = set()
|
||||
|
||||
+doublewidth |= set(range(0xF1900, 0xF1990)) # nimi pu and nimi ku suli
|
||||
+doublewidth |= set(range(0xf19A0, 0xF1a00)) # nimi ku lili
|
||||
+
|
||||
|
||||
def parse_eaw() -> None:
|
||||
global doublewidth, ambiguous
|
Loading…
Reference in a new issue