Skip to content

Commit

Permalink
Merge pull request ryanoasis#1405 from julien-blanchon/add-github-mon…
Browse files Browse the repository at this point in the history
…aspace

Add Githubnext Monaspace
  • Loading branch information
Finii authored Nov 19, 2023
2 parents 1c233a0 + e1aee57 commit 82934a2
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
11 changes: 11 additions & 0 deletions bin/scripts/lib/fonts.json
Original file line number Diff line number Diff line change
Expand Up @@ -484,6 +484,17 @@
"repoRelease": true,
"description": "Slashed zeros, customized version of Apple's Menlo"
},
{
"unpatchedName": "Monaspace",
"RFN": true,
"patchedName": "Monaspice",
"folderName": "Monaspace",
"imagePreviewFont": "MonaspiceNe Nerd Font",
"linkPreviewFont": false,
"caskName": "monaspace",
"repoRelease": false,
"description": "Five matching fonts all having 'texture healing' to improve legibility"
},
{
"unpatchedName": "Monofur",
"RFN": false,
Expand Down
6 changes: 6 additions & 0 deletions bin/scripts/name_parser/FontnameTools.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +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'\1onaspice' ),
( '(m)( ?)plus', r'\1+'), # Added this, because they use a plus symbol :->
( '(s)hare', r'\1hure' ),
( '(s)ource', r'\1auce' ),
Expand All @@ -211,6 +212,11 @@ def postscript_char_filter(name):
( '(overpass ?m)ono', r'\1'), # Overpass Mono -> Overpass M
( '(proggyclean) ?tt', r'\1'), # Remove TT from ProggyClean
( '(terminess) ?\(ttf\)', r'\1'), # Remove TTF from Terminus (after renamed to Terminess)
( '(.*ne)on', r'\1'), # Monaspace shorten face name
( '(.*ar)gon', r'\1'), # Monaspace shorten face name
( '(.*kr)ypton', r'\1'), # Monaspace shorten face name
( '(.*xe)non', r'\1'), # Monaspace shorten face name
( '(.*r)adon', r'\1d'), # Monaspace shorten face name
( '(im ?writing ?q)uattro', r'\1uat'), # Rename iM Writing Quattro to Quat
( '(im ?writing ?(mono|duo|quat)) ?s', r'\1'), # Remove S from all iM Writing styles
]
Expand Down

0 comments on commit 82934a2

Please sign in to comment.