kbd/0001-fa.map-drop-high-codepoint-character-that-chokes-loa.patch

31 lines
1.2 KiB
Diff
Raw Normal View History

From d8aa08c7f3096fbb2901d1b9f93473ca9ba1d342 Mon Sep 17 00:00:00 2001
From: Adam Williamson <awilliam@redhat.com>
Date: Thu, 21 Oct 2021 14:08:24 -0700
Subject: [PATCH] fa.map: drop high codepoint character that chokes loadkeys
fa.map contains a mapping for Unicode character U+FDFC. However,
loadkeys refuses to load any map containing a codepoint over
U+F000. To avoid the map failing to load entirely, let's remove
the problematic character.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
---
data/keymaps/i386/qwerty/fa.map | 1 -
1 file changed, 1 deletion(-)
diff --git a/data/keymaps/i386/qwerty/fa.map b/data/keymaps/i386/qwerty/fa.map
index 9ea0a7a..9aa5284 100644
--- a/data/keymaps/i386/qwerty/fa.map
+++ b/data/keymaps/i386/qwerty/fa.map
@@ -44,7 +44,6 @@ altgr keycode 57 = U+0020 # SPACE
altgr shift keycode 2 = U+0021 # EXCLAMATION MARK
altgr shift keycode 40 = U+061B # ARABIC SEMICOLON
altgr shift keycode 4 = U+066B # ARABIC DECIMAL SEPARATOR
-altgr shift keycode 5 = U+FDFC # RIAL SIGN
altgr shift keycode 6 = U+066A # ARABIC PERCENT SIGN
altgr shift keycode 8 = U+060C # ARABIC COMMA
altgr keycode 40 = U+06AF # ARABIC LETTER GAF
--
2.33.0