From b9e0864272bc08b6db0f04e673ca0328c50743b8 Mon Sep 17 00:00:00 2001 From: Fini Jastrow Date: Sun, 19 Nov 2023 21:55:32 +0100 Subject: [PATCH] Fix replacement name of Monaspace After the working draft name Monispace the final patched font name will be Monaspice. * It keeps the characteristic `Mona` in the beginning * It changes just one character * The replacement is still a real word * The replacements sounds very similar Also other very good names have been suggested, thank you all for the input! Signed-off-by: Fini Jastrow --- bin/scripts/lib/fonts.json | 4 ++-- bin/scripts/name_parser/FontnameTools.py | 2 +- readme.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/scripts/lib/fonts.json b/bin/scripts/lib/fonts.json index 9bf9aaafae7..28348eebc0d 100644 --- a/bin/scripts/lib/fonts.json +++ b/bin/scripts/lib/fonts.json @@ -410,9 +410,9 @@ { "unpatchedName": "Monaspace", "RFN": true, - "patchedName": "Monispace", + "patchedName": "Monaspice", "folderName": "Monaspace", - "imagePreviewFont": "MonispaceNe Nerd Font", + "imagePreviewFont": "MonaspiceNe Nerd Font", "linkPreviewFont": false, "caskName": "monaspace", "repoRelease": false, diff --git a/bin/scripts/name_parser/FontnameTools.py b/bin/scripts/name_parser/FontnameTools.py index e7614bd4f10..0af33901db0 100644 --- a/bin/scripts/name_parser/FontnameTools.py +++ b/bin/scripts/name_parser/FontnameTools.py @@ -195,7 +195,7 @@ def postscript_char_filter(name): ( 'IBM[- ]?plex', r'Blex' ), # We do not keep the case here ( '(i)ntel( ?)(o)ne', r'\1ntone' ), ( '(l)iberation', r'\1iteration' ), - ( '(m)onaspace', r'\1onispace' ), + ( '(m)onaspace', r'\1onaspice' ), ( '(m)( ?)plus', r'\1+'), # Added this, because they use a plus symbol :-> ( '(s)hare', r'\1hure' ), ( '(s)ource', r'\1auce' ), diff --git a/readme.md b/readme.md index 8707b5a0df5..949dd9b4476 100644 --- a/readme.md +++ b/readme.md @@ -149,7 +149,7 @@ See [Wiki: Icon names in shell][wiki-icon-names-in-shell] | [Literation Mono Nerd Font][p-liberation] | [Liberation][f-liberation] | 2.1.5 | YES | ![w] ![m2] ![l] | | [Lilex Nerd Font][p-lilex] | [Lilex][f-lilex] | 2.000 | NO | ![w2] ![m2] ![l] | | [Meslo Nerd Font][p-meslo] | [Meslo][f-meslo] | 1.21 | NO | ![w] ![m2] ![l] | -| [Monispace Nerd Font][p-monaspace] | [Monaspace][f-monaspace] | 1.0.0 | YES | ![w] ![m2] ![l] | +| [Monaspice Nerd Font][p-monaspace] | [Monaspace][f-monaspace] | 1.0.0 | YES | ![w] ![m2] ![l] | | [Monofur Nerd Font][p-monofur] | Tobias B Koehler | 1.0 | NO | ![w] ![m2] ![l] | | [Monoid Nerd Font][p-monoid] | [Monoid][f-monoid] | 0.61 | NO | ![w] ![m2] ![l] | | [Mononoki Nerd Font][p-mononoki] | [Mononoki][f-mononoki] | 1.6 | YES | ![w] ![m2] ![l] |