Summary Files Commits Branches @commit @diff @stats
path: root / FontForge-helper.ff
diff options
context:
space:
mode:
Commit39046928831442180ce89cd6941c6d1aac8400b4 (patch)
Author
 Syndamia <kamen@syndamia.com>
2023-07-10 16:12:09 +0300
Committer
 Syndamia <kamen@syndamia.com>
2023-07-10 16:12:09 +0300
Files6bab4b65d4276d0fe16c27a7217b3bd3454aef40 /FontForge-helper.ff
syndamia.com-39046928831442180ce89cd6941c6d1aac8400b4.tar
syndamia.com-39046928831442180ce89cd6941c6d1aac8400b4.tar.gz
syndamia.com-39046928831442180ce89cd6941c6d1aac8400b4.zip
Parentdf39b59662d70f64c85ea4626fc45c4ed424f172 (diff)
(icons) Moved most icons to non-PUA
1 files changed, 35 insertions, 1 deletions
-rwxr-xr-xFontForge-helper.ff36
diff --git a/FontForge-helper.ff b/FontForge-helper.ff
index 81c87bc..85e7a05 100755
--- a/FontForge-helper.ff
+++ b/FontForge-helper.ff
@@ -15,7 +15,7 @@
Open($1)
Select("uea19") # arrow-left
-SelectMore("uea1c") # arrow-right
+SelectMore("uea1f") # arrow-right
SelectMore("uf7d6") # arrow-badge-down-filled
SelectMore("uf7d9") # arrow-badge-up-filled
SelectMore("uf1e2") # article
@@ -34,4 +34,38 @@ SelectMore("ueb0e") # printer
SelectInvert()
DetachAndRemoveGlyphs()
+
+#
+# Move characters from PUA to established glyphs
+# This "makes" sure the character is useable even if font fails
+# Only done to functional characters
+#
+
+# arrow-left to ← leftwards arrow
+Select("uea19"); Cut(); Select("u2190"); Paste()
+
+# arrow-right to → rightwards arrow
+Select("uea1f"); Cut(); Select("u2192"); Paste()
+
+# arrow-badge-down-filled to ▼ black down-pointing triangle
+Select("uf7d6"); Cut(); Select("u25BC"); Paste()
+
+# arrow-badge-up-filled to ▲ black up-pointing triangle
+Select("uf7d9"); Cut(); Select("u25B2"); Paste()
+
+# article to ☲ trigram for fire
+Select("uf1e2"); Cut(); Select("u2632"); Paste()
+
+# chevrons-up to ︽ presentation form for vertical left double angle bracket
+Select("uea66"); Cut(); Select("uFE3D"); Paste()
+
+# link to § section sign
+Select("ueade"); Cut(); Select("u00A7"); Paste()
+
+# presentation to ⎚ clear screen
+Select("ueb70"); Cut(); Select("u239A"); Paste()
+
+# printer to ⎙ print screen symbol
+Select("ueb0e"); Cut(); Select("u2399"); Paste()
+
Generate("./src/font/tabler-icons-subset.ttf")