aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2015-09-19 16:19:47 +0200
committerBoris Faure <billiob@gmail.com>2015-09-19 16:19:47 +0200
commit84177b5f464b54cd2480c98e84e3993abc46597f (patch)
treeecbe3c579a53bc1fa2d4f1d847cf7f2e8fb8cf19 /tools
parentalways support italic (diff)
downloadterminology-84177b5f464b54cd2480c98e84e3993abc46597f.tar.gz
add script to show text in normal/bold/italic/bolditalic/fraktur
Diffstat (limited to 'tools')
-rwxr-xr-xtools/fonts.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/tools/fonts.sh b/tools/fonts.sh
new file mode 100755
index 0000000..917bab8
--- /dev/null
+++ b/tools/fonts.sh
@@ -0,0 +1,20 @@
+#!/bin/sh
+echo -ne "normal\n"
+echo -ne "\033[0mabcdefghijklmnopqrstuvwxyz\n\033[0m"
+echo -ne "\033[0mABCDEFGHIJKLMNOPQRSTUVWXYZ\n\033[0m"
+
+echo -ne "\nbold\n"
+echo -ne "\033[1mabcdefghijklmnopqrstuvwxyz\n\033[0m"
+echo -ne "\033[1mABCDEFGHIJKLMNOPQRSTUVWXYZ\n\033[0m"
+
+echo -ne "\nitalic\n"
+echo -ne "\033[3mabcdefghijklmnopqrstuvwxyz\n\033[0m"
+echo -ne "\033[3mABCDEFGHIJKLMNOPQRSTUVWXYZ\n\033[0m"
+
+echo -ne "\nbolditalic\n"
+echo -ne "\033[3;1mabcdefghijklmnopqrstuvwxyz\n\033[0m"
+echo -ne "\033[3;1mABCDEFGHIJKLMNOPQRSTUVWXYZ\n\033[0m"
+
+echo -ne "\nfraktur\n"
+echo -ne "\033[20mabcdefghijklmnopqrstuvwxyz\n\033[0m"
+echo -ne "\033[20mABCDEFGHIJKLMNOPQRSTUVWXYZ\n\033[0m"