Skip to content

Commit

Permalink
Add Recursive Mono
Browse files Browse the repository at this point in the history
'for Code' variants.

Rename RecMonoSemicausal to RecMonoSemi to avoid too long font names
after we add 'Nerd Font Mono' )or even (NFM) to it.

Fixes: #845

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
  • Loading branch information
Finii committed Mar 30, 2024
1 parent f959cba commit 4af1693
Show file tree
Hide file tree
Showing 22 changed files with 144 additions and 0 deletions.
13 changes: 13 additions & 0 deletions bin/scripts/lib/fonts.json
Original file line number Diff line number Diff line change
Expand Up @@ -702,6 +702,19 @@
"repoRelease": true,
"description": "Designed particularly for use at small point sizes"
},
{
"unpatchedName": "Recursive Mono",
"RFN": false,
"version": "1.085",
"patchedName": "RecMono",
"folderName": "Recursive",
"imagePreviewFont": "RecMonoSemi Nerd Font",
"imagePreviewFontSource": "Recursive/RecMonoLinear/RecMonoSemicasual-Regular-1.085.ttf",
"linkPreviewFont": "recursive-mono-linear",
"caskName": "recursive-mono",
"repoRelease": false,
"description": "inspired by casual script signpainting, 4 variants"
},
{
"unpatchedName": "Roboto Mono",
"RFN": false,
Expand Down
1 change: 1 addition & 0 deletions bin/scripts/name_parser/FontnameTools.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ def postscript_char_filter(name):
( '(.*r)adon', r'\1n'), # 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
( '(r)ec( ?)(m)ono( ?)(s)emicasual', r'\1ec\3ono\5emi'), # Shorten RecMonoSemicausal
]

# From https://adobe-type-tools.github.io/font-tech-notes/pdfs/5088.FontNames.pdf
Expand Down
3 changes: 3 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ A preview of all fonts can be found [here](https://www.nerdfonts.com/font-downlo
| [Overpass Nerd Font][p-overpass] | [Overpass][f-overpass] | 3.0.5 | NO |
| [ProFont Nerd Font][p-profont] | [ProFont][f-profont] | 2.3, 2.2 | NO |
| [ProggyClean Nerd Font][p-proggy-clean] | ProggyClean (Tristan Grimmer) | 2004/04/15 | NO |
| [RecMono Nerd Font][p-recursive] | [Recursive Mono][f-recursive] | 1.085 | NO |
| [RobotoMono Nerd Font][p-roboto] | [Roboto Mono][f-roboto] | 3.0 | NO |
| [SauceCodePro Nerd Font][p-source-code-pro] | [Source Code Pro][f-source] | 2.042 | YES |
| [ShureTechMono Nerd Font][p-share-tech-mono] | [Share Tech Mono][f-share] | 1.003 | YES |
Expand Down Expand Up @@ -688,6 +689,7 @@ Font repos
[f-opendyslexic]:https://github.com/antijingoist/open-dyslexic
[f-overpass]:http://overpassfont.org
[f-profont]:https://tobiasjung.name/profont
[f-recursive]:https://github.com/arrowtype/recursive
[f-roboto]:https://fonts.google.com/specimen/Roboto+Mono
[f-share]:https://fonts.google.com/specimen/Share+Tech+Mono
[f-source]:https://github.com/adobe-fonts/source-code-pro
Expand Down Expand Up @@ -755,6 +757,7 @@ Patched Font internal links
[p-overpass]:patched-fonts/Overpass
[p-profont]:patched-fonts/ProFont
[p-proggy-clean]:patched-fonts/ProggyClean
[p-recursive]:patched-fonts/Recursive
[p-roboto]:patched-fonts/RobotoMono
[p-share-tech-mono]:patched-fonts/ShareTechMono
[p-source-code-pro]:patched-fonts/SourceCodePro
Expand Down
93 changes: 93 additions & 0 deletions src/unpatched-fonts/Recursive/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
Copyright 2020 The Recursive Project Authors (https://github.com/arrowtype/recursive)

This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL


-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------

PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.

The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.

DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.

"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).

"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).

"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.

"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.

PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:

1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.

2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.

3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.

4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.

5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.

TERMINATION
This license becomes null and void if any of the above conditions are
not met.

DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
33 changes: 33 additions & 0 deletions src/unpatched-fonts/Recursive/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Rec Mono for Code

**Recursive Mono** or **Rec Mono** is a variable type family built
for better code and UI. It is inspired by casual script signpainting,
but designed primarily to meet the needs of programming environments
and application interfaces.

For more information have a look at the upstream website: https://github.com/arrowtype/recursive/

### Rec Mono Duotone
A personal favorite – this use the Linear style for Regular text and
Casual styles for Bold, Italic, and Bold Italic text. In many themes
that use italic styles, this will give most code a utilitarian look,
but set comments, some keywords, and certain headlines in the
more-handwritten Casual style.

### Rec Mono Linear
An everyday workhorse for code. Slightly-boxy shapes maximize legibility
while maintaining a standard monospace width, while a few quirks add a
little bit of extra personality and differentiation between
similarly-shaped characters.

### Rec Mono Casual
A party in a font. Fun and wacky shapes, simplified enough for small sizes
but curvy enough to have plenty of character. Best in casual coding and
non-primary terminals.

### Rec Mono SemiCasual
Sets the CASL axis at `0.5` for font that is serious but softened a
little bit. This isn't the best choice for text at large sizes (like
headlines on a website), but can be a really nice balance in code.

Version: 1.085
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions src/unpatched-fonts/fontfilenames
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ OpenDyslexic/Regular/OpenDyslexic-Regular.otf
Overpass/Mono/Regular/overpass-mono-regular.otf
ProFont/profontiix/ProFontIIx.ttf
ProggyClean/Regular/ProggyClean.ttf
Recursive/RecMonoSemicasual/RecMonoSemicasual-Regular-1.085.ttf
RobotoMono/Regular/RobotoMono-Regular.ttf
ShareTechMono/ShareTechMono-Regular.ttf
SourceCodePro/SourceCodePro-Regular.ttf
Expand Down

0 comments on commit 4af1693

Please sign in to comment.