Nerd-fonts: Hasklug ExtraLight & Light are not working

Created on 17 Jan 2018  Â·  13Comments  Â·  Source: ryanoasis/nerd-fonts

🎯 Subject of the issue

Hasklig Light and ExtraLight work fine on VSCode but Hasklug Nerd Font,ExtraLight and Hasklug Nerd Font,Light do not (possibly others as well) However, the Font Viewer on Linux does display them correctly.

🔧 Your Setup

Hasklug ExtraLight Nerd Font Complete.otf On Linux

âš  bug

All 13 comments

Oh no, thanks for the report! :+1:

Hey @atomi, just tried Hasklug ExtraLight Nerd Font Complete.otf and it looks to be working fine for me:

selection_008

I no longer can find the Hasklug Complete.otf files I thought they were at https://github.com/ryanoasis/nerd-fonts/tree/master/patched-fonts/Hasklig

Edit: Nevermind I see them. Let me test again will report back in a bit.

@ryanoasis Your image shows 'Hasklug Nerd Font' and that works for me as well, but 'Hasklug Nerd Font ExtraLight' does not.

@atomi Hmm that's because the font names actually the same (not taking into account the weight).

You should be able to do something like this:

"editor.fontWeight": "100"

Yeah I figured that out. But the original Hasklig font is able to use the Extra Light font style by using the font name. I wasn't sure if that was expected behavior for your Hasklug font.

Edit: If it is, feel free to close. And thank you.

@atomi Ah okay now I gotcha, yeah you are correct it is not behaving as one would expect.

So there is an issue here.. the ttf family name isn't being updated 😟

It is actually using the canonical font name, so as long as you don't have Hasklig installed this should actually use the Nerd Fonts patched version from what I can see:

"editor.fontFamily": "'Hasklig ExtraLight'"

See below the issue:

selection_009

Edit: You're very welcome and thank you for the report!

Ah I see. Glad we figured it out! :smiley:

Thank you for the work around.

Might have a fix for this. @atomi mind trying out a patched font if I upload it?

Yeah of course. But I'm out tonight. I'll have to test tomorrow.

@atomi Appreciate it, don't feel obligated, no worries whenever you are able :smile:

It is here for you when you can/want to test it out:

Hasklug Nerd Font Complete (Correct String ID).ttf.zip

Yeah it is working with 'Hasklug Nerd Font' in VSCode... Looking forward to the update.

Thanks again.

@atomi Great! Thanks for checking

Was this page helpful?
0 / 5 - 0 ratings

Related issues

aswinmohanme picture aswinmohanme  Â·  4Comments

audioscavenger picture audioscavenger  Â·  3Comments

logarytm picture logarytm  Â·  5Comments

Scrumplex picture Scrumplex  Â·  3Comments

blueyed picture blueyed  Â·  6Comments