-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(font): add Departure Mono #1709
Conversation
Hi @Finii, hadn't discussed this with you yet, but hoping you are open to adding Departure Mono! It's a new font, but given the rate of adoption we have seen since launch, I believe it is merited. I am already using a self-patched version in my terminal and editor, as are many others. Let me know if there's anything else I can do to get this PR merged! |
This would be a wonderful addition. I personally know many programmers also manually patching the font (myself included) |
Yes! Waiting for it to get merged. |
Thank you 💚 Need to get the release out, started to work through the still open Issues and got sidetracked 😬 |
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
Painless patching: $ fontforge font-patcher src/unpatched-fonts/DepartureMono/DepartureMono-Regular.otf --debug 2 --complete 2>/dev/null
Nerd Fonts Patcher v3.2.1-75 (4.14.4) (ff 20230101)
DEBUG: Naming mode 1
DEBUG: Monospace check: Panose says "monospaced"; glyph-width-mono True
DEBUG: Final font cell dimensions 350 w x 700 h
DEBUG: 28/160 box drawing glyphs will be replaced
Adding 188 Glyphs from Seti-UI + Custom Set
╢████████████████████████████████████████╟ 100%
Adding 6 Glyphs from Heavy Angle Brackets Set
╢████████████████████████████████████████╟ 100%
Adding 160 Glyphs from Box Drawing Set
╢████████████████████████████████████████╟ 100%
Adding 198 Glyphs from Devicons Set
╢████████████████████████████████████████╟ 100%
Adding 3 Glyphs from Powerline Symbols Set
╢████████████████████████████████████████╟ 100%
Adding 4 Glyphs from Powerline Symbols Set
╢████████████████████████████████████████╟ 100%
Adding 1 Glyphs from Powerline Extra Symbols Set
╢████████████████████████████████████████╟ 100%
Adding 21 Glyphs from Powerline Extra Symbols Set
╢████████████████████████████████████████╟ 100%
Adding 1 Glyphs from Powerline Extra Symbols Set
╢████████████████████████████████████████╟ 100%
Adding 10 Glyphs from Powerline Extra Symbols Set
╢████████████████████████████████████████╟ 100%
Adding 1 Glyphs from Powerline Extra Symbols Set
╢████████████████████████████████████████╟ 100%
Adding 11 Glyphs from Pomicons Set
╢████████████████████████████████████████╟ 100%
Adding 1475 Glyphs from Font Awesome Set
╢████████████████████████████████████████╟ 100%
Adding 170 Glyphs from Font Awesome Extension Set
╢████████████████████████████████████████╟ 100%
Adding 4 Glyphs from Power Symbols Set
╢████████████████████████████████████████╟ 100%
Adding 1 Glyphs from Power Symbols Set
╢████████████████████████████████████████╟ 100%
Adding 6896 Glyphs from Material Set
╢████████████████████████████████████████╟ 100%
Adding 228 Glyphs from Weather Icons Set
╢████████████████████████████████████████╟ 100%
Adding 118 Glyphs from Font Logos Set
╢████████████████████████████████████████╟ 100%
Adding 169 Glyphs from Octicons Set
╢████████████████████████████████████████╟ 100%
Adding 1 Glyphs from Octicons Set
╢████████████████████████████████████████╟ 100%
Adding 1 Glyphs from Octicons Set
╢████████████████████████████████████████╟ 100%
Adding 139 Glyphs from Octicons Set
╢████████████████████████████████████████╟ 100%
Adding 439 Glyphs from Codicons Set
╢████████████████████████████████████████╟ 100%
Done with Patch Sets, generating font...
DEBUG: Weight approximations: OS2/PS/Name: 400/400/400 (from 400/'Regular'/'Regular')
DEBUG: =====> Family (ID 1) ok (23 <=31): DepartureMono Nerd Font
DEBUG: =====> SubFamily (ID 2) ok ( 7 <=31): Regular
DEBUG: =====> Fullname (ID 4) ok (23 <=63): DepartureMono Nerd Font
DEBUG: =====> PSN (ID 6) ok (23 <=63): DepartureMonoNF-Regular
DEBUG: Tweaking 1/1
DEBUG: Changing flags from 0xB to 0x3
DEBUG: Changing lowestRecPPEM from 8 to 7
DepartureMono Nerd Font
\===> 'DepartureMonoNerdFont-Regular.otf'
$ fontforge font-patcher src/unpatched-fonts/DepartureMono/DepartureMono-Regular.otf --debug 2 --dry --vari 2>/dev/null
Nerd Fonts Patcher v3.2.1-75 (4.14.4) (ff 20230101)
DEBUG: Naming mode 1
DEBUG: Final font cell dimensions 350 w x 700 h
DEBUG: 28/160 box drawing glyphs will be replaced
Done with Patch Sets, generating font...
DEBUG: Weight approximations: OS2/PS/Name: 400/400/400 (from 400/'Regular'/'Regular')
DEBUG: =====> Family (ID 1) ok (29 <=31): DepartureMono Nerd Font Propo
DEBUG: =====> SubFamily (ID 2) ok ( 7 <=31): Regular
DEBUG: =====> Fullname (ID 4) ok (29 <=63): DepartureMono Nerd Font Propo
DEBUG: =====> PSN (ID 6) ok (24 <=63): DepartureMonoNFP-Regular
DEBUG: =====> Filename 'DepartureMonoNerdFontPropo-Regular.otf' Hope they will not add 'special' weights, as ID1 is already on the length limit. Maybe switch already now to another naming mode 🤔 But then I see no Issue upstream no nothing, probably ok and the name is nicer how it is now. |
Thanks for merging! Excited to use it officially :) I do wish there was a way to keep our block elements and shading characters intact, as they're pretty unique to our font...but I understand that NF makes some promises there WRT consistent graphical characters. |
Yes. But the cell size might change on patching, so that the shading elements are not big enough anymore, or too big. I did not check. The patcher script checks if the complete set is existing, and if so the original glyphs are kept (and just rescaled to the new cell size, if the cell size changed). If one is missing all are replaced. |
On the other hand, it is really easy for Helena to just add the missing glyphs. A partial set is not very useful anyhow. |
Description
This patch adds the Departure Mono monospaced pixel font.
Requirements / Checklist
Issue number where discussion took place: #xxx
What does this Pull Request (PR) do?
Adds the Departure Mono font and documentation.
How should this be manually tested?
Using the patcher scripts to test locally.
Any background context you can provide?
My partner Helena Zhang is the creator of the font, and supports this use!
What are the relevant tickets (if any)?
N/A
Screenshots (if appropriate or helpful)