Oh-my-posh3: Issue with the fonts

Created on 6 Oct 2020  路  7Comments  路  Source: JanDeDobbeleer/oh-my-posh3

Hi,
I am still facing icons issue on Powershell with the theme "jandedobbeleer.json".
Meslo LGM NF fonts are installed.

image

Here the theme file coming directly from the module:
image

I suppose the encoding is broken.

I am using:

  • Windows 10 Pro (build 2004)
  • Powershell 7.0.3
  • Powershell module : oh-my-posh 3.5.1 (scope: CurrentUser)

Thanks

Most helpful comment

It's working perfectly now.
The font was missing in my terminal settings.
Thanks both of you @JanDeDobbeleer and @nwykes

All 7 comments

I noticed there are multiple types of Meslo (even the LG variant). I can confirm the encoding is ok as I install the same font on every machine I test on to check the changes, so 9/10 there's a difference in the actual font being used. Can I suggest you use the font you like the most and add your own icons, or do you want me to share the exact font I've installed on my Windows test machine so you can validate this?

If you can share the exact font you have installed on your Windows, that would be great.
Thanks

I'll do that first thing in the morning!

Hey @ozerty the font I use there is MesloLGM Nerd Font. The file name is Meslo LG M Bold Nerd Font Complete.ttf
It's in the attachment. This one renders according to spec in Windows.
Meslo.zip
image

Terminal needs to be configured to use the font as well so double check the "Settings" there. You can set each individual profile to use a specific font, or set a default that's used by all profiles.

"profiles":
    {
        "defaults":
        {
            // Put settings here that you want to apply to all profiles.
            "colorScheme": "Gruvbox Dark",
            "fontFace": "JetbrainsMono NF",
            "fontSize": 11
        }

@ozerty were you able to resolve the issue?

It's working perfectly now.
The font was missing in my terminal settings.
Thanks both of you @JanDeDobbeleer and @nwykes

Was this page helpful?
0 / 5 - 0 ratings