Skip to content
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

Request: add Drafting Mono font #1658

Closed
3 tasks done
unikitty37 opened this issue Jun 17, 2024 · 9 comments
Closed
3 tasks done

Request: add Drafting Mono font #1658

unikitty37 opened this issue Jun 17, 2024 · 9 comments
Labels
❲Aa❳ new font keep_unlocked Allow discuissions for extended time even after closing

Comments

@unikitty37
Copy link
Contributor

Requirements

  • I have searched the issues for my request and found nothing related and/or helpful
  • I have searched the FAQ for help
  • I have searched the Wiki for help

Is your feature request related to a problem? Please describe.
I like Drafting* Mono as it's a monospaced serift font that's easier on the eye than Courier — but I can't use it in my terminal as it doesn't have the Nerd Font characters.

Describe the solution you'd like
I'd like Drafting* Mono to be added to the nerd-fonts repo.

Describe alternatives you've considered
I tried patching it myself using docker run --rm -v $PWD/in:/in:Z -v $PWD/out:/out:Z nerdfonts/patcher --complete, but ended up with missing characters — the first image is Hasklug Nerd Font, the second is my patched version of Drafting* Mono.

image

image

Additional context
Drafting* Mono is released under the SIL Open Font Licence, so there shouldn't be any licensing issues.

@Finii
Copy link
Collaborator

Finii commented Jun 18, 2024

The font does look interesting, thank you.

The docker-self-patching should have worked, though. 🤔

@Finii
Copy link
Collaborator

Finii commented Jun 18, 2024

That branch icon could be E725 or F062C

image

But when I patch both are in the resulting font file...

image

Can you check your docker patcher version? If you use the nf-md- icon and the docker image is rather old the icon will not be there ;-)

@Finii
Copy link
Collaborator

Finii commented Jun 18, 2024

Added this to

Usually would close this now, but we keeping open because of the patcher problem / missing icons.

@Finii Finii added the keep_unlocked Allow discuissions for extended time even after closing label Jun 18, 2024
@unikitty37
Copy link
Contributor Author

Hm — docker run --rm nerdfonts/patcher -v just produces this:

Running with options:
 -v
Parallelism 0

which doesn't seem to be quite what we wanted!

󰘬 seems to be F062c in lazygit, which is what the screenshot is taken from.

@unikitty37
Copy link
Contributor Author

Ah, actually getting it to run the conversion shows the version number, at least!

Nerd Fonts Patcher v3.2.1 (4.14.4) (ff 20230101)
INFO: Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
INFO: Setting Panose 'Proportion' to 'Monospaced' (was 'Any')
INFO: Redistributing line gap of 180 (90 top and 90 bottom)
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
╢██████████████████████████████░░░░Copyright (c) 2000-2024. See AUTHORS for Contributors.
 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
 with many parts BSD <http://fontforge.org/license.html>. Please read LICENSE.
 Version: 20230101
 Based on sources from 2024-04-12 09:59 UTC-D.
Core python package 'pkg_resources' not found: Cannot discover plugins
The following table(s) in the font have been ignored by FontForge
  Ignoring 'DSIG' digital signature table
The glyph named less is mapped to U+ED48.
But its name indicates it should be mapped to U+003C.
The glyph named box is mapped to U+ED75.
But its name indicates it should be mapped to U+25A1.
The glyph named divide is mapped to U+EDF3.
But its name indicates it should be mapped to U+00F7.
The glyph named infinity is mapped to U+EDFE.
But its name indicates it should be mapped to U+221E.
The glyph named prescription is mapped to U+EE79.
But its name indicates it should be mapped to U+211E.
The glyph named cross is mapped to U+EEC3.
But its name indicates it should be mapped to U+2629.
The glyph named chair is mapped to U+EEEE.
But its name indicates it should be mapped to U+2441.
The glyph named ring is mapped to U+EF0B.
But its name indicates it should be mapped to U+02DA.
The glyph named slash is mapped to U+EF0F.
But its name indicates it should be mapped to U+002F.
The glyph named heart is mapped to U+F004.
But its name indicates it should be mapped to U+2665.
The glyph named check is mapped to U+F00C.
But its name indicates it should be mapped to U+2713.
The glyph named house is mapped to U+F015.
But its name indicates it should be mapped to U+2302.
The glyph named image is mapped to U+F03E.
But its name indicates it should be mapped to U+22B7.
The glyph named plus is mapped to U+F067.
But its name indicates it should be mapped to U+002B.
The glyph named minus is mapped to U+F068.
But its name indicates it should be mapped to U+2212.
The glyph named asterisk is mapped to U+F069.
But its name indicates it should be mapped to U+002A.
The glyph named square is mapped to U+F0C8.
But its name indicates it should be mapped to U+25A1.
The glyph named bell is mapped to U+F0F3.
But its name indicates it should be mapped to U+2407.
The glyph named circle is mapped to U+F111.
But its name indicates it should be mapped to U+25CB.
The glyph named question is mapped to U+F128.
But its name indicates it should be mapped to U+003F.
The glyph named bullseye is mapped to U+F140.
But its name indicates it should be mapped to U+25CE.
The glyph named ellipsis is mapped to U+F141.
But its name indicates it should be mapped to U+2026.
The glyph named compass is mapped to U+F14E.
But its name indicates it should be mapped to U+263C.
The glyph named sun is mapped to U+F185.
But its name indicates it should be mapped to U+263C.
The glyph named paragraph is mapped to U+F1DD.
But its name indicates it should be mapped to U+00B6.
The glyph named copyright is mapped to U+F1F9.
But its name indicates it should be mapped to U+00A9.
The glyph named at is mapped to U+F1FA.
But its name indicates it should be mapped to U+0040.
The glyph named venus is mapped to U+F221.
But its name indicates it should be mapped to U+2640.
The glyph named mars is mapped to U+F222.
But its name indicates it should be mapped to U+2642.
The glyph named trademark is mapped to U+F25C.
But its name indicates it should be mapped to U+2122.
The glyph named registered is mapped to U+F25D.
But its name indicates it should be mapped to U+00AE.
The glyph named percent is mapped to U+F295.
But its name indicates it should be mapped to U+0025.
The glyph named diamond is mapped to U+F29F.
But its name indicates it should be mapped to U+2666.
The glyph named slash is mapped to U+E016.
But its name indicates it should be mapped to U+002F.
The glyph named pi is mapped to U+E02C.
But its name indicates it should be mapped to U+03C0.
The glyph named ring is mapped to U+E03D.
But its name indicates it should be mapped to U+02DA.
The glyph named infinity is mapped to U+E055.
But its name indicates it should be mapped to U+221E.
The glyph named equal is mapped to U+E079.
But its name indicates it should be mapped to U+003D.
The glyph named alpha is mapped to U+F002B.
But its name indicates it should be mapped to U+03B1.
The glyph named at is mapped to U+F0065.
But its name indicates it should be mapped to U+0040.
The glyph named backspace is mapped to U+F006E.
But its name indicates it should be mapped to U+2408.
The glyph named bell is mapped to U+F009A.
But its name indicates it should be mapped to U+2407.
The glyph named beta is mapped to U+F00A1.
But its name indicates it should be mapped to U+03B2.
The glyph named box is mapped to U+F00D4.
But its name indicates it should be mapped to U+25A1.
The glyph named check is mapped to U+F012C.
But its name indicates it should be mapped to U+2713.
The glyph named compass is mapped to U+F018B.
But its name indicates it should be mapped to U+263C.
The glyph named delete is mapped to U+F01B4.
But its name indicates it should be mapped to U+2421.
The glyph named delta is mapped to U+F01C2.
But its name indicates it should be mapped to U+03B4.
The glyph named earth is mapped to U+F01E7.
But its name indicates it should be mapped to U+2641.
The glyph named equal is mapped to U+F01FC.
But its name indicates it should be mapped to U+003D.
The glyph named heart is mapped to U+F02D1.
But its name indicates it should be mapped to U+2665.
The glyph named home is mapped to U+F02DC.
But its name indicates it should be mapped to U+21B8.
The glyph named image is mapped to U+F02E9.
But its name indicates it should be mapped to U+22B7.
The glyph named minus is mapped to U+F0374.
But its name indicates it should be mapped to U+2212.
The glyph named omega is mapped to U+F03C9.
But its name indicates it should be mapped to U+03C9.
The glyph named percent is mapped to U+F03F0.
But its name indicates it should be mapped to U+0025.
The glyph named pi is mapped to U+F03FF.
But its name indicates it should be mapped to U+03C0.
The glyph named plus is mapped to U+F0415.
But its name indicates it should be mapped to U+002B.
The glyph named sigma is mapped to U+F04A0.
But its name indicates it should be mapped to U+03C3.
The glyph named tie is mapped to U+F0519.
But its name indicates it should be mapped to U+2040.
The glyph named triangle is mapped to U+F0536.
But its name indicates it should be mapped to U+25B3.
The glyph named bullseye is mapped to U+F05DD.
But its name indicates it should be mapped to U+25CE.
The glyph named copyright is mapped to U+F05E6.
But its name indicates it should be mapped to U+00A9.
The glyph named lambda is mapped to U+F0627.
But its name indicates it should be mapped to U+03BB.
The glyph named asterisk is mapped to U+F06C4.
But its name indicates it should be mapped to U+002A.
The glyph named hook is mapped to U+F06E2.
But its name indicates it should be mapped to U+2440.
The glyph named infinity is mapped to U+F06E4.
But its name indicates it should be mapped to U+221E.
The glyph named prescription is mapped to U+F0706.
But its name indicates it should be mapped to U+211E.
The glyph named tilde is mapped to U+F0725.
But its name indicates it should be mapped to U+02DC.
The glyph named cancel is mapped to U+F073A.
But its name indicates it should be mapped to U+2418.
The glyph named square is mapped to U+F0764.
But its name indicates it should be mapped to U+25A1.
The glyph named null is mapped to U+F07E2.
But its name indicates it should be mapped to U+2400.
The glyph named pipe is mapped to U+F07E5.
But its name indicates it should be mapped to U+01C0.
The glyph named ring is mapped to U+F07EB.
But its name indicates it should be mapped to U+02DA.
The glyph named cross is mapped to U+F0953.
But its name indicates it should be mapped to U+2629.
The glyph named trademark is mapped to U+F0A78.
But its name indicates it should be mapped to U+2122.
The glyph named ampersand is mapped to U+F0A8D.
But its name indicates it should be mapped to U+0026.
The glyph named diamond is mapped to U+F0B8A.
But its name indicates it should be mapped to U+2666.
The glyph named bullet is mapped to U+F0CF3.
But its name indicates it should be mapped to U+2022.
The glyph named comma is mapped to U+F0E23.
But its name indicates it should be mapped to U+002C.
The glyph named rectangle is mapped to U+F0E5E.
But its name indicates it should be mapped to U+25AD.
The glyph named spade is mapped to U+F0E65.
But its name indicates it should be mapped to U+2660.
The glyph named epsilon is mapped to U+F10E0.
But its name indicates it should be mapped to U+03B5.
The glyph named gamma is mapped to U+F10EE.
But its name indicates it should be mapped to U+03B3.
The following table(s) in the font have been ignored by FontForge
  Ignoring 'webf'
The glyph named question is mapped to U+F02C.
But its name indicates it should be mapped to U+003F.
The glyph named check is mapped to U+F03A.
But its name indicates it should be mapped to U+2713.
The glyph named plus is mapped to U+F05D.
But its name indicates it should be mapped to U+002B.
The glyph named x is mapped to U+F081.
But its name indicates it should be mapped to U+0078.
The glyph named home is mapped to U+F08D.
But its name indicates it should be mapped to U+21B8.
The glyph named ellipsis is mapped to U+F09A.
But its name indicates it should be mapped to U+2026.
The glyph named bell is mapped to U+F0DE.
But its name indicates it should be mapped to U+2407.
The glyph named circle is mapped to U+F27D.
But its name indicates it should be mapped to U+25CB.
The glyph named diamond is mapped to U+F292.
But its name indicates it should be mapped to U+2666.
The glyph named image is mapped to U+F2B8.
But its name indicates it should be mapped to U+22B7.
The glyph named infinity is mapped to U+F2B9.
But its name indicates it should be mapped to U+221E.
The glyph named square is mapped to U+F2F0.
But its name indicates it should be mapped to U+25A1.
The glyph named sun is mapped to U+F2F5.
But its name indicates it should be mapped to U+263C.
The glyph named ellipsis is mapped to U+EA7C.
But its name indicates it should be mapped to U+2026.
The glyph named bell is mapped to U+EAA2.
But its name indicates it should be mapped to U+2407.
The glyph named check is mapped to U+EAB2.
But its name indicates it should be mapped to U+2713.
The glyph named circle is mapped to U+EABC.
But its name indicates it should be mapped to U+25CB.
The glyph named heart is mapped to U+EB05.
But its name indicates it should be mapped to U+2665.
The glyph named home is mapped to U+EB06.
But its name indicates it should be mapped to U+21B8.
The glyph named question is mapped to U+EB32.
But its name indicates it should be mapped to U+003F.
The glyph named compass is mapped to U+EBD5.
But its name indicates it should be mapped to U+263C.
The glyph named newline is mapped to U+EBEA.
But its name indicates it should be mapped to U+2424.
The glyph named blank is mapped to U+EC03.
But its name indicates it should be mapped to U+2423.
╢████████████████████████████████████████╟ 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...
   Drafting*Mono Nerd Font Light Italic
   \===> '/out/Drafting_MonoNerdFont-LightItalic.otf'

@Finii
Copy link
Collaborator

Finii commented Jun 18, 2024

Hmmm, with my test it seems to be there, at least in Regular...

image

...

image

@Finii
Copy link
Collaborator

Finii commented Jun 18, 2024

You are not using the variable font version?

What's your OS? And terminal?
I would try to uninstall all Drafting* and than install just Regular or Regular and Bold.
Did you select in your terminal the correct font? (i.e. 'Drafting*Mono Nerd Font')

image

@unikitty37
Copy link
Contributor Author

unikitty37 commented Jun 18, 2024

I'm not using the variable version of the font.

macOS 14.5 (23F79)
Alacritty 0.13.2 (1) with this .alacritty.toml:

[font]
size = 14
normal = { family = "Drafting*Mono Nerd Font", style = "Regular" }
bold = { family = "Drafting*Mono Nerd Font", style = "Bold" }
italic = { family = "Drafting*Mono Nerd Font", style = "Italic" }
bold_italic = { family = "Drafting*Mono Nerd Font", style = "Bold Italic" }

It turns out that, while Alacritty will happily reread the config file when you change it, and change the font accordingly, if it was already running when you install the Nerd Font version then it just uses the non Nerd Font version (even if you were using Hasklug Nerd Font before!) rather than complaining that it couldn't find the version you specified.

Quitting and restarting Alacritty resolved the problem, so this one looks like user error. Thanks for your help, and sorry for the noise.

@Finii
Copy link
Collaborator

Finii commented Jun 19, 2024

Drafting is also here https://www.programmingfonts.org/#drafting

(note to self)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
❲Aa❳ new font keep_unlocked Allow discuissions for extended time even after closing
Projects
None yet
Development

No branches or pull requests

2 participants