mirror of
https://github.com/Julow/Unexpected-Keyboard.git
synced 2024-11-21 23:03:11 +01:00
font: Use standard symbols for home and end
The glyphs are taken from DejaVuSans, the lines are thickened to improve readability.
This commit is contained in:
parent
0d51f7ea1e
commit
46408572bc
Binary file not shown.
@ -586,8 +586,8 @@ public final class KeyValue implements Comparable<KeyValue>
|
|||||||
case "left": return keyeventKey(0xE008, KeyEvent.KEYCODE_DPAD_LEFT, 0);
|
case "left": return keyeventKey(0xE008, KeyEvent.KEYCODE_DPAD_LEFT, 0);
|
||||||
case "page_up": return keyeventKey(0xE002, KeyEvent.KEYCODE_PAGE_UP, 0);
|
case "page_up": return keyeventKey(0xE002, KeyEvent.KEYCODE_PAGE_UP, 0);
|
||||||
case "page_down": return keyeventKey(0xE003, KeyEvent.KEYCODE_PAGE_DOWN, 0);
|
case "page_down": return keyeventKey(0xE003, KeyEvent.KEYCODE_PAGE_DOWN, 0);
|
||||||
case "home": return keyeventKey(0xE00B, KeyEvent.KEYCODE_MOVE_HOME, 0);
|
case "home": return keyeventKey(0xE00B, KeyEvent.KEYCODE_MOVE_HOME, FLAG_SMALLER_FONT);
|
||||||
case "end": return keyeventKey(0xE00C, KeyEvent.KEYCODE_MOVE_END, 0);
|
case "end": return keyeventKey(0xE00C, KeyEvent.KEYCODE_MOVE_END, FLAG_SMALLER_FONT);
|
||||||
case "backspace": return keyeventKey(0xE011, KeyEvent.KEYCODE_DEL, 0);
|
case "backspace": return keyeventKey(0xE011, KeyEvent.KEYCODE_DEL, 0);
|
||||||
case "delete": return keyeventKey(0xE010, KeyEvent.KEYCODE_FORWARD_DEL, 0);
|
case "delete": return keyeventKey(0xE010, KeyEvent.KEYCODE_FORWARD_DEL, 0);
|
||||||
case "insert": return keyeventKey("Ins", KeyEvent.KEYCODE_INSERT, FLAG_SMALLER_FONT);
|
case "insert": return keyeventKey("Ins", KeyEvent.KEYCODE_INSERT, FLAG_SMALLER_FONT);
|
||||||
|
@ -1,9 +1,7 @@
|
|||||||
<svg xmlns="http://www.w3.org/2000/svg"
|
<?xml version="1.0" standalone="no"?>
|
||||||
viewBox="-10 0 750 1000"
|
<!-- Modified from DejaVuSans -->
|
||||||
fill="currentColor">
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
|
||||||
<!-- created by @sdrapha - https://github.com/sdrapha/IconFontSVG
|
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" viewBox="-10 0 1726 2048">
|
||||||
License - LICENSE: CC BY-SA 4.0 -->
|
<path fill="currentColor"
|
||||||
<!-- derived from Entypo+ arrow-left-bold by Daniel Bruce -->
|
d="M1613 63v169h-1322v1324h-169v-1493h1491zM412 416l63 -63h556v169h-330l862 862l-120 120l-862 -862v330h-169v-556z" />
|
||||||
<title>arrow-home</title>
|
|
||||||
<path d="M0 165h50v669h-50v-669zM378 830l-328 -330l328 -330v190h352v278h-352v192z" />
|
|
||||||
</svg>
|
</svg>
|
||||||
|
Before Width: | Height: | Size: 381 B After Width: | Height: | Size: 450 B |
@ -1,9 +1,7 @@
|
|||||||
<svg xmlns="http://www.w3.org/2000/svg"
|
<?xml version="1.0" standalone="no"?>
|
||||||
viewBox="-10 0 750 1000"
|
<!-- Modified from DejaVuSans -->
|
||||||
fill="currentColor">
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
|
||||||
<!-- created by @sdrapha - https://github.com/sdrapha/IconFontSVG
|
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" viewBox="-10 0 1726 2048">
|
||||||
License - LICENSE: CC BY-SA 4.0 -->
|
<path fill="currentColor"
|
||||||
<!-- derived from Entypo+ arrow-right-bold by Daniel Bruce -->
|
d="M122 1556v-169h1322v-1324h169v1493h-1491zM1323 1203l-63 63h-556v-169h330l-862 -862l120 -120l862 862v-330h169v556z" />
|
||||||
<title>arrow-end</title>
|
|
||||||
<path d="M680 170h50v660h-50v-660zM350 170l330 330l-330 330v-192h-350v-278h350v-190z" />
|
|
||||||
</svg>
|
</svg>
|
||||||
|
Before Width: | Height: | Size: 384 B After Width: | Height: | Size: 453 B |
Loading…
Reference in New Issue
Block a user