From 060a9748287312a60e0f8893b9d4659f8184d13b Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Tue, 17 Sep 2024 12:14:02 +0100 Subject: [PATCH] Swap NNBSP for THSP --- ahk/acp-keyboard.ahk | 6 +++--- spec.html | 14 +++++++------- xkb/symbols/acp | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/ahk/acp-keyboard.ahk b/ahk/acp-keyboard.ahk index 7c67b56..8cf40b8 100644 --- a/ahk/acp-keyboard.ahk +++ b/ahk/acp-keyboard.ahk @@ -636,9 +636,9 @@ dead_macron := Map.Call( ; SPC - SC039 -; NNBSP ->!SC039::Send "{U+202F}" -<^>!SC039::Send "{U+202F}" +; THSP +>!SC039::Send "{U+2009}" +<^>!SC039::Send "{U+2009}" ; NBSP >!+SC039::Send "{U+00A0}" <^>!+SC039::Send "{U+00A0}" diff --git a/spec.html b/spec.html index 84f820d..071cd78 100644 --- a/spec.html +++ b/spec.html @@ -42,7 +42,7 @@ -

ACP Keyboard v4.7.0

+

ACP Keyboard v4.8.0

  1. Rationale
  2. Images
  3. @@ -75,8 +75,8 @@
    1. The most common English symbols I need should be available.
    2. No more than four levels (normal; Shift; AltGr; and Shift+AltGr).
    3. -
    4. Keys should be grouped sensibly: the degree sign in °C is preceded by - a narrow non-breaking space, so they should be on the same level.
    5. +
    6. Keys should be grouped sensibly: the guillemets in French are paired + with a non-breaking space, so they should be on the same level.
    7. The main layout should be based on the US ANSI layout, but it should also support an ISO layout with one key extra.
    8. It should be able to be used without Administrative permissions. This @@ -517,7 +517,7 @@ Space Space - Narrow non-breaking space + Thin space Non-breaking space @@ -968,7 +968,7 @@ Space Space - Narrow non-breaking space + Thin space Non-breaking space @@ -1461,7 +1461,7 @@ SC039 U+0020 U+0020 - U+202F + U+2009 U+00A0   @@ -2064,6 +2064,7 @@
    9. U+1E9E LATIN CAPITAL LETTER SHARP S
    10. U+1EF2 LATIN CAPITAL LETTER Y WITH GRAVE
    11. U+1EF3 LATIN SMALL LETTER Y WITH GRAVE
    12. +
    13. U+2009 THIN SPACE
    14. U+2011 NON-BREAKING HYPHEN
    15. U+2013 EN DASH
    16. U+2014 EM DASH
    17. @@ -2075,7 +2076,6 @@
    18. U+201E DOUBLE LOW-9 QUOTATION MARK
    19. U+2022 BULLET
    20. U+2026 HORIZONTAL ELLIPSIS
    21. -
    22. U+202F NARROW NO-BREAK SPACE
    23. U+2030 PER MILLE SIGN
    24. U+2032 PRIME
    25. U+2033 DOUBLE PRIME
    26. diff --git a/xkb/symbols/acp b/xkb/symbols/acp index bc56f93..d16da62 100644 --- a/xkb/symbols/acp +++ b/xkb/symbols/acp @@ -55,7 +55,7 @@ xkb_symbols "basic" { key { [ U002E, U003E, U22C5, U2265 ] }; // . > ⋅ ≥ key { [ U002F, U003F, U003F, U00BF ] }; // / ? ? ¿ - key { [ U0020, U0020, U202F, U00A0 ] }; // [space] [space] [nnbsp] [nbsp] + key { [ U0020, U0020, U2009, U00A0 ] }; // [space] [space] [thsp] [nbsp] include "level3(ralt_switch)" };