blue-build / modules

BlueBuild standard modules used for building your Atomic Images
Apache License 2.0
24 stars 25 forks source link

fix(fonts): font Melso is n ot installable #316

Closed idnovic closed 1 month ago

idnovic commented 1 month ago

The font Meslo from nerdfonts is not installable. The font is distributed as tar.xz file.

  - type: fonts
    fonts:
      nerd-fonts:
        - Melso
        - Inconsolata
      google-fonts:
        - Atkinson Hyperlegible
/tmp/scripts/run_module.sh 'fonts' '{"type":"fonts","fonts":{"nerd-fonts":["Melso","Inconsolata"],"google-fonts":["Atkinson Hyperlegible"]}}'   && ostree container commit
[4196](https://github.com/idnovic/secureblue-extended/actions/runs/10334983982/job/28609016286#step:2:4223)
#33 0.108 ================================================= Start 'fonts' Module =================================================
...
#33 0.121 Installation of google-fonts started
...
#33 0.567 Downloading AtkinsonHyperlegible-Regular.ttf from https://fonts.gstatic.com/s/atkinsonhyperlegible/v11/9Bt23C1KxNDXMspQ1lPyU89-1h6ONRlW45GE5ZgpewSSbQ.ttf
...
#33 0.628 Downloading AtkinsonHyperlegible-Italic.ttf from https://fonts.gstatic.com/s/atkinsonhyperlegible/v11/9Bt43C1KxNDXMspQ1lPyU89-1h6ONRlW45G055ItWQGCbUWn.ttf
#33 0.702 Downloading AtkinsonHyperlegible-Bold.ttf from https://fonts.gstatic.com/s/atkinsonhyperlegible/v11/9Bt73C1KxNDXMspQ1lPyU89-1h6ONRlW45G8WbcNcy-OZFy-FA.ttf
#33 0.738 Downloading AtkinsonHyperlegible-BoldItalic.ttf from https://fonts.gstatic.com/s/atkinsonhyperlegible/v11/9Bt93C1KxNDXMspQ1lPyU89-1h6ONRlW45G056qRdiWKRlmuFH24.ttf
#33 1.988 Installation of nerd-fonts started
#33 1.992 Downloading Melso from https://github.com/ryanoasis/nerd-fonts/releases/latest/download/Melso.tar.xz
#33 2.279 tar: This does not look like a tar archive
#33 2.280 xz: (stdin): File format not recognized
#33 2.280 tar: Child returned status 1
#33 2.280 tar: Error is not recoverable: exiting now
#33 ERROR: process "/bin/sh -c /tmp/scripts/run_module.sh 'fonts' '{\"type\":\"fonts\",\"fonts\":{\"nerd-fonts\":[\"Melso\",\"Inconsolata\"],\"google-fonts\":[\"Atkinson Hyperlegible\"]}}'   && ostree container commit" did not complete successfully: exit code: 2
fiftydinar commented 1 month ago

Hi, it is a typo.

You wrote Melso, but the font is called Meslo

xynydev commented 1 month ago

I can't find any font titled Meslo either on this site: https://www.nerdfonts.com/font-downloads

There's MesloLG, maybe that's what you're looking for?

fiftydinar commented 1 month ago

I can't find any font titled Meslo either on this site: nerdfonts.com/font-downloads

There's MesloLG, maybe that's what you're looking for?

Looking at GitHub releases, font is called just Meslo

image

When hovering over MesloLG in nerdfonts.com website, it points out to Meslo github URL.

fiftydinar commented 1 month ago

Closing this as resolved, please re-open the issue if you still have issues.

idnovic commented 1 month ago

Ups. Thank you! I did not see the typo.