Skip to content

Add support for Nerd Fonts #702

Open
@grynspan

Description

@grynspan

We should look into supporting Nerd Fonts as symbol substitutes when using swift test.

There's no standard way to detect what font the current terminal is using (if any). Some platform-specific mechanisms:

  • For Gnome Terminal, we may be able to use GSettings.
  • On Windows, GetCurrentConsoleFont() may or may not work depending on whether the pipe to SwiftPM interferes with it.
  • We could read the font out of "com.apple.terminal" for Terminal.app?

Or we could just fall back to an environment variable like "SWT_NERD_FONTS_ENABLED" like we do with SF Symbols.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    command-line experienceenhancements to the command line interfaceenhancementNew feature or requesthelp wantedExtra attention is neededtools integrationIntegration of swift-testing into tools/IDEs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions