1
0
mirror of https://github.com/ryanoasis/nerd-fonts.git synced 2025-01-31 12:27:22 +02:00

Drop 'IBM' from 3270's names

[why]
The font was always called 3270.
Having a big company's name in the fontname is scary 😬

See
https://github.com/rbanffy/3270font/issues/60

[how]
Add renaming rule.

Fixes: #1012

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
This commit is contained in:
Fini Jastrow 2023-01-17 15:40:52 +01:00
parent b52f0a7cb1
commit e5d835080e
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
{
"fonts": [
{
"unpatchedName": "3270",
"unpatchedName": "IBM 3270",
"RFN": false,
"patchedName": "3270",
"folderName": "3270",

View File

@ -176,7 +176,7 @@ class FontnameTools:
( '(m)plus', r'\1+'), # Added this, because they use a plus symbol :->
( 'Gohufont', r'GohuFont'), # Correct to CamelCase
# Noone cares that font names starting with a digit are forbidden:
# ( '(3270)', r'Ibeam\1'),
( 'IBM 3270', r'3270'), # for historical reasons and 'IBM' is a TM or something
]
@staticmethod