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 font Zed Mono #1504

Merged
merged 3 commits into from
Apr 2, 2024
Merged

Add font Zed Mono #1504

merged 3 commits into from
Apr 2, 2024

Commits on Mar 30, 2024

  1. Add font Zed Mono

    This squashes also these commits:
    
    * ds-store
    * ZedMono: Clean up files
      Remove files that should not be in the PR, because they are autocreated
      or belong somewhere else.
    * Also divide Extended and non-Extended versions.
    * ZedMono: Fix metadata
    * ZedMono: Fix some metadata
    * ZedMono: Drop some more exotic weights and restructure dirs
    
    Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
    cabrinha authored and Finii committed Mar 30, 2024
    Configuration menu
    Copy the full SHA
    cb6c1c6 View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2024

  1. Fix CodeClimate Fix

    [why]
    When we add a dummy we need to remove that later on.
    
    Originally that has been introduces to avoid a wrong code duplication
    warning.
    
    See how the blank leaks into the name:
    
    ERROR: ====-< Family (ID 1)      too long (38 > 31): ZedMono Nerd Font Extended ExtraBold
    DEBUG: =====> SubFamily (ID 2)   ok       ( 6 <=31): Italic
    DEBUG: =====> Fullname (ID 4)    ok       (45 <=63): ZedMono Nerd Font Extended ExtraBold   Italic
    DEBUG: =====> PSN (ID 6)         ok       (33 <=63): ZedMonoNF-ExtendedExtraBoldItalic
    DEBUG: =====> PrefFamily (ID 16) ok       (17 <=31): ZedMono Nerd Font
    DEBUG: =====> PrefStyles (ID 17) ok       (27 <=31): Extended ExtraBold   Italic
    DEBUG: =====> PrefStyles (ID 17) ok       (27 <=31): Extended ExtraBold   Italic
    DEBUG: =====> Filename 'ZedMonoNerdFont-ExtendedExtraBoldItalic.ttf'
    
    (Note trailing blanks even in ID 1.)
    
    Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
    Finii committed Apr 2, 2024
    Configuration menu
    Copy the full SHA
    f2862d4 View commit details
    Browse the repository at this point in the history
  2. name-parser: Sort Widths before Weights

    [why]
    Usually we want the width before the weight:
    
    ZedMono Nerd Font Extended ExtraBold Italic
    
    but we get:
    
    ZedMono Nerd Font ExtraBold Extended Italic
    
    The reason is that we do not sort widths and weights and handle them as
    one list, keeping the original order.
    
    All fonts but Zed have the width before the weight and it never turned
    up
    
    [how]
    Handle widths and weights on their own and only afterwards concattenate
    width (first) to weights (second).
    
    Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
    Finii committed Apr 2, 2024
    Configuration menu
    Copy the full SHA
    3d7aa92 View commit details
    Browse the repository at this point in the history