1
0
mirror of https://github.com/ryanoasis/nerd-fonts.git synced 2024-12-19 20:12:52 +02:00
nerd-fonts/_posts
Fini Jastrow 76ebfee144 download: Allow patched and unpatched name to differ with blanks
[why]
We detect if a font has a reserved font name RFN by comparing unpatched
and patched names.

In the patched names we remove blanks from the original name, example
"BigBlue Terminal" -> "BigBlueTerminal Nerd Font"

In the fonts.json database we store "BigBlueTerminal" as `.patchedName`.
For our RFN detection we need to set the `.unpatchedName` also to
"BigBlueTerminal", which is strictly speaking not correct.

[how]
Compare `.unpatchedName` and `.patchedName` without taking the blanks into
account: Remove them before comparing.

[note]
This is needed to finally have the correct original names in the
database, which will be used for the Casks creation.

[note]
Also unify the shell commands (remove whitespaces).

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2022-11-26 11:37:40 +01:00
..
2017-01-01-home.md Rename Font Linux to Font Logos 2022-09-13 09:02:08 +02:00
2017-01-02-features.md Remove mentions of master branch [skip ci] 2022-10-17 12:26:18 +02:00
2017-01-03-downloads.md download: Allow patched and unpatched name to differ with blanks 2022-11-26 11:37:40 +01:00
2017-01-04-icon-cheat-sheet.md Update cheat sheet 2022-09-11 19:49:10 +02:00
2017-01-05-all-contributors.md Updates all contributors 2020-02-01 18:47:25 -08:00
2017-01-06-backers-supporters.md Updates backers section 2022-10-29 04:10:16 -07:00
2017-01-07-release.md Correct release 2.2.2 release date 2022-09-12 14:35:30 +02:00