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

Package Request: Nerdfonts #17547

Open
2 of 4 tasks
cyntheticfox opened this issue Jun 14, 2021 · 2 comments
Open
2 of 4 tasks

Package Request: Nerdfonts #17547

cyntheticfox opened this issue Jun 14, 2021 · 2 comments
Labels
Blocking-Issue Manifest validation is blocked by a known issue. Help-Wanted This is a good candidate work item from the community.

Comments

@cyntheticfox
Copy link

Nerd Fonts

  • I would like someone else to build the manifest.
  • I would like help so I can submit the manifest.
  • I have performed a search and couldn't find this package.
  • I think there is a new version available and I have provided the URL.

Manifest:

PackageIdentifier:   NerdFonts.NerdFonts # publisher.package format (example: "Microsoft.WindowsTerminal")
PackageVersion:   2.1.0   # version number format x.y.z.a (example: "1.6.10571.0")
PackageLocale:   en-US    # meta-data locale (example: "en-US")
Publisher:     N/A?      # publisher name (example: "Microsoft Corporation")
PackageName:   Nerd Fonts      # package name (example: "Windows Terminal")
License:      MIT       # package license (example: "MIT")
ShortDescription:  Fancy Terminal Fonts   # package description (example: "The new Windows Terminal")
Installers: 
 - Architecture:  N/A   # installer architecture (example: "x64")
   InstallerType:  None  # installer type (example: "msix")
   InstallerUrl:   https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/CascadiaCode.zip  # installer URL (should be https://)
   InstallerSha256: 92B50960305C580FC90BB3BD5456E26EDC9B321907DFA2578066A9B38E2A94E0 # SHA256 hash calculated from installer
ManifestType: singleton
ManifestVersion: 1.0.0

This may be complicated. Nerd Fonts are great for their support of ligatures and many different glyphs, and are widely used for making your terminal fancier. The problem is that instead of providing a single downloader, they break it up into separate zip files for each font, with sets of Windows compatible ttfs and otfs and non-compatible ones within the zip files.

As such, while writing a font installer might not be hard, this brings up whether to provide this as one large installer as Chocolatey does, or provide individual fonts, or if winget should provide the ability to install fonts at all.

@cyntheticfox cyntheticfox added the Help-Wanted This is a good candidate work item from the community. label Jun 14, 2021
@ghost ghost added the Needs: Triage label Jun 14, 2021
@denelon
Copy link
Contributor

denelon commented Jun 14, 2021

microsoft/winget-cli#166
microsoft/winget-cli#140

@denelon denelon added Blocking-Issue Manifest validation is blocked by a known issue. and removed Needs: Triage labels Jun 14, 2021
@jpawlowski
Copy link

I'd prefer packages to be similar to homebrew. There is a single package for each font which makes totally sense to me.
It is not a shame to look what other did for the last couple of years (in fact, I believe all Windows package managers were just inspired by Homebrew and aptitude ...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Blocking-Issue Manifest validation is blocked by a known issue. Help-Wanted This is a good candidate work item from the community.
Projects
None yet
Development

No branches or pull requests

3 participants