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

Commits on Nov 11, 2023

  1. Add Martian Mono

    skryukov authored and Finii committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    ab11050 View commit details
    Browse the repository at this point in the history
  2. Martian: Fix docs

    Signed-off-by: Fini Jastrow <[email protected]>
    Finii committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    d70b9b5 View commit details
    Browse the repository at this point in the history
  3. Martian: Drop many weights and adapt paths

    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 <[email protected]>
    Finii committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    4204a77 View commit details
    Browse the repository at this point in the history
  4. font-patcher: Allow filename as naming source

    [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 <[email protected]>
    Finii committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    f0941e3 View commit details
    Browse the repository at this point in the history
  5. Martian: Tweak naming

    [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 <[email protected]>
    Finii committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    ef50ce8 View commit details
    Browse the repository at this point in the history