summaryrefslogtreecommitdiff
path: root/glyphs
diff options
context:
space:
mode:
authorEkaitz Zarraga <ekaitz@elenq.tech>2024-10-02 21:27:41 +0200
committerEkaitz Zarraga <ekaitz@elenq.tech>2024-10-02 21:32:42 +0200
commita7688175d3a4019cd5e7e62085ce7ee3c6dbcf49 (patch)
tree667bcb26c2d19ac5c603cea5f4aecb9130b974a9 /glyphs
parent8d2e83dd652ed74f6e59ab5de237d2549c4000dc (diff)
Russian: add support
Diffstat (limited to 'glyphs')
-rw-r--r--glyphs/ru.scm41
1 files changed, 41 insertions, 0 deletions
diff --git a/glyphs/ru.scm b/glyphs/ru.scm
new file mode 100644
index 0000000..46d9ff8
--- /dev/null
+++ b/glyphs/ru.scm
@@ -0,0 +1,41 @@
+(define letters (string->list "АБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ" ))
+
+(define numbers (string->list "1234567890"))
+(define brackets (string->list "()[]{}<>"))
+(define symbols (string->list "+-*\\|@#~$%&^`´\"'"))
+(define punct (string->list ",."))
+
+;(define tab "⭾")
+;(define tab "↹")
+;(define tab "→|")
+(define tab "⇥")
+;(define backspace "⌫")
+(define backspace "⟵")
+;(define arrows (string->list "▼▶▼▶"))
+(define arrows (string->list "←↑→↓"))
+
+(define key-symbols (concatenate (list (list backspace tab)
+ arrows
+ (string->list "⇧⇧⇪⏎"))))
+(define modifiers '("Ctrl" "Ctrl" "Alt" "AltGr" "Esc" "Del"))
+
+(define fn '("Fn"))
+(define media (string->list ""))
+
+;(define extra-symbols (string->list "☠⌨☭☮☢☣☥⚓"))
+(define extra-symbols (string->list "☠⎘⎘"))
+
+(define font "B612")
+
+(define glyphs
+ (concatenate
+ (list
+ (map (lambda (l) (glyph l font "6" "white" "none")) letters)
+ (map (lambda (l) (glyph l font "6" "lightgreen" "none")) symbols)
+ (map (lambda (l) (glyph l font "6" "white" "none")) key-symbols)
+ (map (lambda (l) (glyph l font "6" "white" "none")) numbers)
+ (map (lambda (l) (glyph l font "3" "white" "italic")) modifiers)
+ (map (lambda (l) (glyph l font "6" "red" "none")) brackets)
+ ;(map (lambda (l) (glyph l font "6" "steelblue" "none")) media)
+ (map (lambda (l) (glyph l font "6" "white" "none")) extra-symbols)
+ (map (lambda (l) (glyph l font "6" "white" "none")) punct))))