microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
163.56k stars 29.01k forks source link

Codespaces: Terminal: MesloLGS NF's (Nerd Font patched) glyphs and symbols not rendered properly #231725

Open benz0li opened 2 hours ago

benz0li commented 2 hours ago

Does this issue occur when all extensions are disabled?: Not relevant

Steps to Reproduce:

  1. Open https://github.com/b-data/data-science-devcontainers
  2. Codespaces > New with options...
    • Dev container configuration: Python base
  3. Install font Meslo LGS NF

    mkdir -p ${HOME}/.local/share/fonts/truetype/meslo
    curl -sSL https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Regular.ttf -o "${HOME}/.local/share/fonts/truetype/meslo/MesloLGS NF Regular.ttf"
    curl -sSL https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Bold.ttf -o "${HOME}/.local/share/fonts/truetype/meslo/MesloLGS NF Bold.ttf"
    curl -sSL https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Italic.ttf -o "${HOME}/.local/share/fonts/truetype/meslo/MesloLGS NF Italic.ttf"
    curl -sSL https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Bold%20Italic.ttf -o "${HOME}/.local/share/fonts/truetype/meslo/MesloLGS NF Bold Italic.ttf"
    fc-cache -fv
  4. Install Zsh theme Powerlevel10k

    git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${HOME}/.oh-my-zsh/custom/themes/powerlevel10k
  5. Change Zsh theme to Powerlevel10k

    sed -i 's/ZSH_THEME="devcontainer"/ZSH_THEME="powerlevel10k\/powerlevel10k"/g' ${HOME}/.zshrc
  6. Open a new Terminal

Safari v18.0.1 (20619.1.26.31.7); Terminal › Integrated: Gpu Acceleration: auto

Does this look like a diamond (rotated square)? Yes

Image

Does this look like a lock? No

Image

Cross reference:

benz0li commented 2 hours ago

Safari v18.0.1 (20619.1.26.31.7); Terminal › Integrated: Gpu Acceleration: off

Does this look like a diamond (rotated square)? No

Image

benz0li commented 2 hours ago

Firefox 131.0.3; Terminal › Integrated: Gpu Acceleration: auto

Does this look like a diamond (rotated square)? Yes

Image

Does this look like a lock? No

Image

benz0li commented 2 hours ago

Firefox 131.0.3; Terminal › Integrated: Gpu Acceleration: off

Does this look like a diamond (rotated square)? No

Image

Ping @Tyriar

benz0li commented 1 hour ago

Interestingly, Firefox displays the Terminal with MesloLGS NF correctly at https://coder.jupyter.b-data.ch (code-server 4.94.2-rc.1 – aka Code 1.94.2).

benz0li commented 1 hour ago

The Terminal with MesloLGS NF worked fine for both Safari and Firefox up to code-server version 4.93.1 – aka Code 1.93.1.

This version is currently deployed at https://demo.jupyter.b-data.ch.