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

Add Martian Mono #1092

Merged
merged 5 commits into from
Nov 11, 2023
Merged

Add Martian Mono #1092

merged 5 commits into from
Nov 11, 2023

Conversation

skryukov
Copy link
Contributor

Description

This PR adds Martian Mono font.

Requirements / Checklist

Any background context you can provide?

As far as I understand, contributing guide is a bit outdated, I'm not quite sure that I made all the changes required:

  • added all license/readme files
  • added all the fonts
  • added font metadata to the bin/scripts/lib/fonts.json
  • additionally provided a small sh script to update font on upcoming releases

What are the relevant tickets (if any)?

#937

@Finii
Copy link
Collaborator

Finii commented Jan 30, 2023

This looks good, thanks for the PR!

Missing is just the change in README.md where all fonts are listed.
And I believe it should have --makegroup in the config.cfg, but that will be thrown on all fonts with v3.0.0 anyhow, so no worries.

What I ask myself, is it really necessary to include all width and weights? Given the source is a VF people might 'miss' any number of intermediate values on all axis 😬 And the package size is considerable. Are these all relevant for coding? What is the goal of patching them all?

@Finii
Copy link
Collaborator

Finii commented Jan 30, 2023

Hmm, noted that they put the very abbreviated names everywhere, ID16/17 could benefit from expanded names 🤔

image

How should non-font-geeks decode these?

See also http://glyphsapp.com/learn/naming

Maybe raise an issue over there? What do you think?

@skryukov
Copy link
Contributor Author

What I ask myself, is it really necessary to include all width and weights? Given the source is a VF people might 'miss' any number of intermediate values on all axis 😬 And the package size is considerable. Are these all relevant for coding? What is the goal of patching them all?

Sure, let's get a subset! Any suggestions from your experience? I personally use only Std Rg for terminal 😅

@romashamin
Copy link

Regarding to the naming system.

This naming convention has its own benefits. That was well-considred decision, made with Glyphs app “Naming” tutorial in mind.

@hirenchauhan2
Copy link

Any plans to merge this one?

@Finii
Copy link
Collaborator

Finii commented Mar 31, 2023

Well, it does not have a 3.0.0 milestone tag.

I would rather push out 3.0.0 asap and add other stuff only afterwards.
A lot of documentary changes are missing in the PR, which is no problem, but still need to be done.
And then, this is again a font with a whole lot of styles and weights; SemiWide, ... Narrow, is that really of a general interest. And the big weights set. Nowadays people create fonts a two axis variable font and create instances for a 5*5 matrix of the axises ... It's too easy ;-)

So I guess someone needs to sit down and think, and I personally would rather spend the time on getting 3.0.0 out, finally.

skryukov and others added 5 commits November 11, 2023 19:22
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
SemiWide and Narrow might be nice in some contexts, but that is not
really the audience of Nerd Fonts I guess.

Lets start with few and we can always add more if there is really a
demand.

Simplify the paths; the old style stems from the time when we patched
all variants per source font. Nowerdays the fonts are few (3 per source)
and will almost always be installed together anyhow.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
[why]
With Martian Mono we have a font that uses aggressive abbreviation for
the weights and styles (two letters mostly) in all name fields. That is
very hard to parse.

[how]
Adding rules that detect these very short abbreviations might trigger in
a lot wrong places. As this is the only font that uses that we do not
want to risk that.

Instead we rewrite the filenames of the source font (Martian Mono) such
that it contains all the necessary information and add a new flag to the
patcher that allows it to use the filename as naming source.
Yes, as in days long past ;-)

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
[why]
With Martian Mono we have a font that uses aggressive abbreviation for
the weights and styles (two letters mostly) in all name fields. That is
very hard to parse.

[how]
We rewrite the filenames such that it contains all the necessary information
and use the new patcher flag use the filename as naming source.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
@Finii
Copy link
Collaborator

Finii commented Nov 11, 2023

Rebase on master, force push.

Also added some more commits, for example to improve the naming and dropped quite some fontfaces.

@Finii Finii added this to the v3.1.0 milestone Nov 11, 2023
@Finii Finii merged commit 4579b49 into ryanoasis:master Nov 11, 2023
6 checks passed
@Finii
Copy link
Collaborator

Finii commented Nov 11, 2023

@allcontributors please add @skryukov for code

Copy link
Contributor

@Finii

I've put up a pull request to add @skryukov! 🎉

@Finii
Copy link
Collaborator

Finii commented Nov 11, 2023

@allcontributors please add @skryukov for code

Copy link
Contributor

@Finii

@skryukov already contributed before to code

@skryukov skryukov deleted the add-martian-mono branch November 13, 2023 07:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants