ryanoasis / nerd-fonts

Iconic font aggregator, collection, & patcher. 3,600+ icons, 50+ patched fonts: Hack, Source Code Pro, more. Glyph collections: Font Awesome, Material Design Icons, Octicons, & more
https://NerdFonts.com
Other
52.6k stars 3.59k forks source link

[MonospiceNe NFM] VS Code does not allow 'Mono' font as terminal font #1602

Closed OliverRC closed 2 months ago

OliverRC commented 2 months ago

🗹 Requirements

🎯 Subject of the issue

Experienced behavior: I'd expect the 'mono' font to work in the terminal of VS code however it throws up a warning.

The terminal only supports monospace fonts. Be sure to restart VS Code if this is a newly installed font.

Expected behavior: That the specially "mono" titled font would work in the VS Code (pwsh) terminal.

Example symbols:

🔧 Your Setup

★ Screenshots (Optional)

image

Finii commented 2 months ago

Hmm, maybe more information would be good?

OliverRC commented 2 months ago

Apologies this was published in error. I apologize, I will complete the issue detail

Finii commented 2 months ago

Thanks, will have a look probably in the afternoon (in some hours).

Finii commented 2 months ago

The relevant flags are set :thinking:

Excerpt of ttx dump:

  <post>
    <formatType value="3.0"/>
    <italicAngle value="0.0"/>
    <underlinePosition value="-70"/>
    <underlineThickness value="72"/>
    <isFixedPitch value="1"/>
    <minMemType42 value="0"/>
    <maxMemType42 value="0"/>
    <minMemType1 value="0"/>
    <maxMemType1 value="0"/>
  </post>

  <CFF>
    <major value="1"/>
    <minor value="0"/>
    <CFFFont name="MonaspiceNeNFM-Regular">
      <version value="001.000;Nerd Fonts 3.2.0"/>
      <Notice value="copyright missing"/>
      <FullName value="MonaspiceNe NFM"/>
      <FamilyName value="MonaspiceNe Nerd Font Mono"/> 
      <Weight value="Regular"/>
      <isFixedPitch value="1"/>
      <ItalicAngle value="0"/>
      <UnderlinePosition value="-106"/>
      <UnderlineThickness value="72"/>

...

    <panose>                              
      <bFamilyType value="2"/>
      <bSerifStyle value="0"/>
      <bWeight value="0"/>
      <bProportion value="9"/>
      <bContrast value="0"/>
      <bStrokeVariation value="0"/>          
      <bArmStyle value="0"/>
      <bLetterForm value="0"/>

isFixedPitch is true and Panose-Proportion is 9 (i.e. monospaced)

Finii commented 2 months ago

Installed VSCode after installed the font (see upper picture below) and there is no problem?

grafik

grafik

Lets retry with some more distinctive font...

Finii commented 2 months ago

There seems to be no problem?

grafik

Finii commented 2 months ago

Maybe try to install it yourself / directly from the Release page:

https://github.com/ryanoasis/nerd-fonts/releases/tag/v3.2.0

Please uninstall the old font first and then reinstall, overwrite-install usually has problems.

Finii commented 2 months ago

Ah, and please try, only installing that one font file. If that works and the complete package installed fails we need to look somewhere else. But first we need to make sure the singular and anlone installed font file works.

Finii commented 2 months ago

(The images look bad, esp the font rendering, but that is an artifact of me connecting to the Windows (10) machine via Remmina with some cheapo protocol :grimacing: But It does take the font, no complains.)

Finii commented 2 months ago

Not holding bugfix release 3.2.1 anymore, closing this. 3.2.1 release started.

OliverRC commented 2 months ago

I tried again today, and all looks good; Sorry for the wild goose chase.

Finii commented 2 months ago

Good news :+1: Thanks for reporting back!