diff --git a/bin/scripts/README.md b/bin/scripts/README.md index c076556f51..0dd88b4e8f 100644 --- a/bin/scripts/README.md +++ b/bin/scripts/README.md @@ -29,6 +29,7 @@ Note: Usually you need to call the scripts in this directory while actually bein * `standardize-and-complete-readmes.sh`: Used by `gotta-patch-em-all-font-patcher!.sh` * `test-fonts.sh`: Print-to-debug all glyphs we patch in [4] * `test-powerlines.sh`: Print-to-debug powerline examples [4] +* `test-vertical-lines.sh`: Print-to-debug powerline examples [4] * `update-all-contributors-website.py`: Update the contributors page on `nerdfonts.com` (i.e. gh-pages) [7] * `update-gitignore.sh`: Correct gitignore file for not-released-in-repo fonts [8] * `version-bump.sh`: Change version number in all scripts on a new release [1] diff --git a/bin/scripts/test-vertical-lines.sh b/bin/scripts/test-vertical-lines.sh new file mode 100755 index 0000000000..5e6ea41537 --- /dev/null +++ b/bin/scripts/test-vertical-lines.sh @@ -0,0 +1,24 @@ +#!/usr/bin/env bash +# Nerd Fonts Version: 3.1.1 +# Script Version: 1.0.0 +# +# A more conceise version of the Powerline test, designed to show +# the dreaded 'faint vertical lines' phenomenon from LCD antialiasing + +COL_A='\033[48;5;51m\033[38;5;200m' +COL_B='\033[48;5;200m\033[38;5;51m' + +printf "\ +${COL_A} \n\ +Under \ue0b2${COL_B} lap ${COL_A}\ue0b0 and \ue0b6${COL_B} top ${COL_A}\ue0b4 mop \n\ +${COL_A}Over \ue0b2${COL_B} lap ${COL_A}\ue0b0 and \ue0b6${COL_B} top ${COL_A}\ue0b4 mop trop lop klop\n\ + \n" + +COL_A='\033[48;5;238m\033[38;5;253m' +COL_B='\033[48;5;253m\033[38;5;238m' + +printf "\ +${COL_A} \n\ +Under \ue0b2${COL_B} lap ${COL_A}\ue0b0 and \ue0b6${COL_B} top ${COL_A}\ue0b4 mop \n\ +${COL_A}Over \ue0b2${COL_B} lap ${COL_A}\ue0b0 and \ue0b6${COL_B} top ${COL_A}\ue0b4 mop trop lop klop\n\ + \n"