From cd9f49041f36f2f9ca7efd77c12f644dc5edaaeb Mon Sep 17 00:00:00 2001 From: Fini Jastrow Date: Wed, 20 Mar 2024 16:27:38 +0100 Subject: [PATCH 1/5] Move PowerlineExtra into subdirectory And add meta information. Signed-off-by: Fini Jastrow --- font-patcher | 12 +++++----- src/glyphs/powerline-extra/LICENSE | 21 ++++++++++++++++++ .../PowerlineExtraSymbols.otf | Bin src/glyphs/powerline-extra/README.md | 11 +++++++++ 4 files changed, 38 insertions(+), 6 deletions(-) create mode 100644 src/glyphs/powerline-extra/LICENSE rename src/glyphs/{ => powerline-extra}/PowerlineExtraSymbols.otf (100%) create mode 100644 src/glyphs/powerline-extra/README.md diff --git a/font-patcher b/font-patcher index 31b303787..23932f1d0 100755 --- a/font-patcher +++ b/font-patcher @@ -6,7 +6,7 @@ from __future__ import absolute_import, print_function, unicode_literals # Change the script version when you edit this script: -script_version = "4.10.1" +script_version = "4.10.2" version = "3.1.1" projectName = "Nerd Fonts" @@ -1067,11 +1067,11 @@ class font_patcher: {'Enabled': True, 'Name': "Devicons", 'Filename': "devicons/devicons.ttf", 'Exact': False, 'SymStart': 0xE600, 'SymEnd': 0xE6C5, 'SrcStart': 0xE700, 'ScaleRules': DEVI_SCALE_LIST, 'Attributes': SYM_ATTR_DEFAULT}, {'Enabled': self.args.powerline, 'Name': "Powerline Symbols", 'Filename': "powerline-symbols/PowerlineSymbols.otf", 'Exact': True, 'SymStart': 0xE0A0, 'SymEnd': 0xE0A2, 'SrcStart': None, 'ScaleRules': None, 'Attributes': SYM_ATTR_POWERLINE}, {'Enabled': self.args.powerline, 'Name': "Powerline Symbols", 'Filename': "powerline-symbols/PowerlineSymbols.otf", 'Exact': True, 'SymStart': 0xE0B0, 'SymEnd': 0xE0B3, 'SrcStart': None, 'ScaleRules': None, 'Attributes': SYM_ATTR_POWERLINE}, - {'Enabled': self.args.powerlineextra, 'Name': "Powerline Extra Symbols", 'Filename': "PowerlineExtraSymbols.otf", 'Exact': True, 'SymStart': 0xE0A3, 'SymEnd': 0xE0A3, 'SrcStart': None, 'ScaleRules': None, 'Attributes': SYM_ATTR_POWERLINE}, - {'Enabled': self.args.powerlineextra, 'Name': "Powerline Extra Symbols", 'Filename': "PowerlineExtraSymbols.otf", 'Exact': True, 'SymStart': 0xE0B4, 'SymEnd': 0xE0C8, 'SrcStart': None, 'ScaleRules': None, 'Attributes': SYM_ATTR_POWERLINE}, - {'Enabled': self.args.powerlineextra, 'Name': "Powerline Extra Symbols", 'Filename': "PowerlineExtraSymbols.otf", 'Exact': True, 'SymStart': 0xE0CA, 'SymEnd': 0xE0CA, 'SrcStart': None, 'ScaleRules': None, 'Attributes': SYM_ATTR_POWERLINE}, - {'Enabled': self.args.powerlineextra, 'Name': "Powerline Extra Symbols", 'Filename': "PowerlineExtraSymbols.otf", 'Exact': True, 'SymStart': 0xE0CC, 'SymEnd': 0xE0D4, 'SrcStart': None, 'ScaleRules': None, 'Attributes': SYM_ATTR_POWERLINE}, - {'Enabled': self.args.powerlineextra, 'Name': "Powerline Extra Symbols", 'Filename': "PowerlineExtraSymbols.otf", 'Exact': True, 'SymStart': 0x2630, 'SymEnd': 0x2630, 'SrcStart': None, 'ScaleRules': None, 'Attributes': SYM_ATTR_TRIGRAPH}, + {'Enabled': self.args.powerlineextra, 'Name': "Powerline Extra Symbols", 'Filename': "powerline-extra/PowerlineExtraSymbols.otf", 'Exact': True, 'SymStart': 0xE0A3, 'SymEnd': 0xE0A3, 'SrcStart': None, 'ScaleRules': None, 'Attributes': SYM_ATTR_POWERLINE}, + {'Enabled': self.args.powerlineextra, 'Name': "Powerline Extra Symbols", 'Filename': "powerline-extra/PowerlineExtraSymbols.otf", 'Exact': True, 'SymStart': 0xE0B4, 'SymEnd': 0xE0C8, 'SrcStart': None, 'ScaleRules': None, 'Attributes': SYM_ATTR_POWERLINE}, + {'Enabled': self.args.powerlineextra, 'Name': "Powerline Extra Symbols", 'Filename': "powerline-extra/PowerlineExtraSymbols.otf", 'Exact': True, 'SymStart': 0xE0CA, 'SymEnd': 0xE0CA, 'SrcStart': None, 'ScaleRules': None, 'Attributes': SYM_ATTR_POWERLINE}, + {'Enabled': self.args.powerlineextra, 'Name': "Powerline Extra Symbols", 'Filename': "powerline-extra/PowerlineExtraSymbols.otf", 'Exact': True, 'SymStart': 0xE0CC, 'SymEnd': 0xE0D4, 'SrcStart': None, 'ScaleRules': None, 'Attributes': SYM_ATTR_POWERLINE}, + {'Enabled': self.args.powerlineextra, 'Name': "Powerline Extra Symbols", 'Filename': "powerline-extra/PowerlineExtraSymbols.otf", 'Exact': True, 'SymStart': 0x2630, 'SymEnd': 0x2630, 'SrcStart': None, 'ScaleRules': None, 'Attributes': SYM_ATTR_TRIGRAPH}, {'Enabled': self.args.pomicons, 'Name': "Pomicons", 'Filename': "Pomicons.otf", 'Exact': True, 'SymStart': 0xE000, 'SymEnd': 0xE00A, 'SrcStart': None, 'ScaleRules': None, 'Attributes': SYM_ATTR_DEFAULT}, {'Enabled': self.args.fontawesome, 'Name': "Font Awesome", 'Filename': "font-awesome/FontAwesome.otf", 'Exact': True, 'SymStart': 0xF000, 'SymEnd': 0xF2E0, 'SrcStart': None, 'ScaleRules': FONTA_SCALE_LIST, 'Attributes': SYM_ATTR_FONTA}, {'Enabled': self.args.fontawesomeextension, 'Name': "Font Awesome Extension", 'Filename': "font-awesome-extension.ttf", 'Exact': False, 'SymStart': 0xE000, 'SymEnd': 0xE0A9, 'SrcStart': 0xE200, 'ScaleRules': None, 'Attributes': SYM_ATTR_DEFAULT}, # Maximize diff --git a/src/glyphs/powerline-extra/LICENSE b/src/glyphs/powerline-extra/LICENSE new file mode 100644 index 000000000..c71d82753 --- /dev/null +++ b/src/glyphs/powerline-extra/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2016 Ryan L McIntyre + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/src/glyphs/PowerlineExtraSymbols.otf b/src/glyphs/powerline-extra/PowerlineExtraSymbols.otf similarity index 100% rename from src/glyphs/PowerlineExtraSymbols.otf rename to src/glyphs/powerline-extra/PowerlineExtraSymbols.otf diff --git a/src/glyphs/powerline-extra/README.md b/src/glyphs/powerline-extra/README.md new file mode 100644 index 000000000..80220a08a --- /dev/null +++ b/src/glyphs/powerline-extra/README.md @@ -0,0 +1,11 @@ +# Powerline Extra + +For more information have a look at the upstream website: https://github.com/ryanoasis/powerline-extra-symbols + +## Source modified + +* Add missing Ice Waveform Mirrored glyph (0xE0CA) +* Add Trigraph Heaven glyph (0x2630) +* Simplify Waveform glyphs (0xE0C8, 0xE0CA) + +Version: 1.000 (from about 2016) From 5e2858670e4f64962890df41179415b7d152cde5 Mon Sep 17 00:00:00 2001 From: Fini Jastrow Date: Wed, 20 Mar 2024 16:31:10 +0100 Subject: [PATCH 2/5] Increase Powerline overlap (only rounded) [why] We still fight with the faint lines on the big side of the powerline glyphs. They come from the LCD antialiasing mode that has problems with the borders. Other fonts use far more overlap. We use only a modest amount of overlap (1% of the width). [how] As the other fonts do, increase the overlap (to 6% now). Add full-hight 'landing platforms' on the outsides of the glyphs, which are 7% wide. Related: a8b9e1da06e5729923dabbfaea93ffff69abd067 Related: #1245 Fixes: #1547 Signed-off-by: Fini Jastrow --- font-patcher | 4 ++-- .../powerline-extra/PowerlineExtraSymbols.otf | Bin 54472 -> 50940 bytes src/glyphs/powerline-extra/README.md | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/font-patcher b/font-patcher index 23932f1d0..4b4e0c859 100755 --- a/font-patcher +++ b/font-patcher @@ -857,9 +857,9 @@ class font_patcher: 0xe0b3: {'align': 'r', 'valign': 'c', 'stretch': 'xy', 'params': {'xy-ratio': 0.7}}, # Rounded arcs - 0xe0b4: {'align': 'l', 'valign': 'c', 'stretch': 'xy', 'params': {'overlap': 0.01, 'xy-ratio': 0.59}}, + 0xe0b4: {'align': 'l', 'valign': 'c', 'stretch': 'xy', 'params': {'overlap': 0.06, 'xy-ratio': 0.59}}, 0xe0b5: {'align': 'l', 'valign': 'c', 'stretch': 'xy', 'params': {'xy-ratio': 0.5}}, - 0xe0b6: {'align': 'r', 'valign': 'c', 'stretch': 'xy', 'params': {'overlap': 0.01, 'xy-ratio': 0.59}}, + 0xe0b6: {'align': 'r', 'valign': 'c', 'stretch': 'xy', 'params': {'overlap': 0.06, 'xy-ratio': 0.59}}, 0xe0b7: {'align': 'r', 'valign': 'c', 'stretch': 'xy', 'params': {'xy-ratio': 0.5}}, # Bottom Triangles diff --git a/src/glyphs/powerline-extra/PowerlineExtraSymbols.otf b/src/glyphs/powerline-extra/PowerlineExtraSymbols.otf index a1c51c9df852d8b84b0687b72d313cb61fe66a22..b290259b75945971e0d9c5539643a023d5422f52 100644 GIT binary patch delta 3249 zcmb7G4{#G@7XLQc?6zABP_q@TfrJXQD1TbpBB59oT1voXPzzY62a1B!<60_;aC0XK zj9O@|P(QF0LFTkAwQ`)W+)e#E!JgHtig)6l8PD@>4p9MNRA|$5le~N1W|KBtPjoW- zy}!Tr-oE`Mn|EF?hZ@XTOO`HOLL}lNX5uU=DRGuPZ@z($-y7q}zt}H&v@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c: Add readme for PowerlineSymbols Signed-off-by: Fini Jastrow --- src/glyphs/powerline-symbols/README.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/glyphs/powerline-symbols/README.md diff --git a/src/glyphs/powerline-symbols/README.md b/src/glyphs/powerline-symbols/README.md new file mode 100644 index 000000000..858e12432 --- /dev/null +++ b/src/glyphs/powerline-symbols/README.md @@ -0,0 +1,9 @@ +# Powerline Symbols + +For more information have a look at the upstream website: https://github.com/powerline/powerline + +## Source modified + +* Glyph 0xE0B0 and 0xE0B2 got an additional 7% strip on their straight side. + +Version: 1.000 (from about 2013) From 12abbc05a1adf8e2de7cc7e0415ce7f860e573ca Mon Sep 17 00:00:00 2001 From: Fini Jastrow Date: Fri, 29 Mar 2024 13:12:14 +0100 Subject: [PATCH 4/5] Remove tests.sh This is not used for anything. Signed-off-by: Fini Jastrow --- bin/scripts/README.md | 2 -- bin/scripts/tests.sh | 20 -------------------- 2 files changed, 22 deletions(-) delete mode 100755 bin/scripts/tests.sh diff --git a/bin/scripts/README.md b/bin/scripts/README.md index a17c8437f..c076556f5 100644 --- a/bin/scripts/README.md +++ b/bin/scripts/README.md @@ -29,7 +29,6 @@ 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] -* `tests.sh`: Create some font usage gif movie? [x] * `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] @@ -42,4 +41,3 @@ Note: Usually you need to call the scripts in this directory while actually bein [6] Used by CI (github casks workflow) [7] Used by CI (github contributors workflow) [8] Used by CI (github fontjson workflow) -[x] Probably not used by anything diff --git a/bin/scripts/tests.sh b/bin/scripts/tests.sh deleted file mode 100755 index b333167d4..000000000 --- a/bin/scripts/tests.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/usr/bin/env bash -# Nerd Fonts Version: 3.1.1 -# Script Version: 1.0.1 - -clear -echo "Click to start" - -# Window geometry -# source: https://www.maketecheasier.com/record-screen-as-animated-gif-ubuntu/ -XWININFO=$(xwininfo) -read -r X < <(awk -F: '/Absolute upper-left X/{print $2}' <<< "$XWININFO") -read -r Y < <(awk -F: '/Absolute upper-left Y/{print $2}' <<< "$XWININFO") -read -r W < <(awk -F: '/Width/{print $2}' <<< "$XWININFO") -read -r H < <(awk -F: '/Height/{print $2}' <<< "$XWININFO") - -byzanz-record -c --exec=./test-fonts.sh --x="$X" --y="$Y" --width="$W" --height="$H" "rec3.gif" - -convert -coalesce "rec3.gif" "results/nerd-fonts.png" -convert -append "$(ls -v results/*.png)" ./test-combined.png - From 315408dc3d5ae89e66a4d7332ad47aeaddf3efae Mon Sep 17 00:00:00 2001 From: Fini Jastrow Date: Fri, 29 Mar 2024 13:16:02 +0100 Subject: [PATCH 5/5] Add another test for Powerline glyphs A more conceise version of the Powerline test, designed to show the dreaded 'faint vertical lines' phenomenon from LCD antialiasing Signed-off-by: Fini Jastrow --- bin/scripts/README.md | 1 + bin/scripts/test-vertical-lines.sh | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100755 bin/scripts/test-vertical-lines.sh diff --git a/bin/scripts/README.md b/bin/scripts/README.md index c076556f5..0dd88b4e8 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 000000000..5e6ea4153 --- /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"