Skip to content

patcher: Fontforge no longer recognizes mono fonts, --mono flag is now necessary for mono fonts #1948

@acid-bong

Description

@acid-bong

Requirements

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

Experienced Behavior

Since that Fontforge release (and a bump in Nixpkgs), my custom build of Input Mono was all messed up (fig. 1, left window). Having a look in Font-manager, I also noticed that glyphs weren't aligned properly (fig. 1, right window).

My font recipe: https://codeberg.org/acidbong/nixos/src/commit/c0ed96ee65498deab006f3093993ac0afaff9455/pkgs/input/default.nix#L49-L51

# fd -ettf . $src/Input_Fonts/InputMono/InputMonoNarrow -X \
nerd-font-patcher --name postscript --makegroups -1 \
  --powerline --powerlineextra \
  -out "$newDir" "$font"

The solution? explicitly add --mono flag. It seems that Fontforge (or at least the interface that the script is using) no longer automatically recognizes monospace fonts.

What i'm asking here is to acknowledge this change somewhere in the docs/release-notes/Patcher's help output.

Expected Behavior

Figure 2

Example Symbols or Text

No response

Font Used

No response

Source of Font File

No response

Terminal Emulator (and the title of the terminal window)

No response

Operating System and Version

No response

Screenshots

Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions