Skip to content

Font rendering and antialias problem #338199

Description

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.141.0
  • OS Version: macOS Sequoia 15.8 (arm64)

Steps to Reproduce:

  1. Clone this repo
  2. Open settings.config.json file
  3. Use this config
  4. See problem

Excepted:

Image

The working setting (but it's workaround): https://github.com/dalisoft/vscode-config/blob/master/settings.config.json

Actual:

Image

The bugged setting: https://github.com/dalisoft/vscode-config/blob/vscode-repo-font-issue/settings.config.json

Video demo:

vscode-antialias-bug.mp4

Notes:

  • This demo, problem or issue shown better on White themes
  • This demo, problem or issue does not appear as white on Dark themes (like Monokai)

Activity

  1. dalisoft commented on Sep 27, 2026

    @dalisoft
    ContributorAuthor
  2. dalisoft commented on Sep 29, 2026

    @dalisoft
    ContributorAuthor

    Maybe already was bug similar to this:

  3. dalisoft commented on Sep 29, 2026

    @dalisoft
    ContributorAuthor

    Likely duplicate of #299442

  4. dalisoft commented on Oct 9, 2026

    @dalisoft
    ContributorAuthor

    Temporary workaround for macOS and Linux, not a solution. The proper fix is #340776.

    Quit VS Code, choose the path below, run with write access, then restart. This forces opaque terminal backgrounds and may trigger an installation integrity warning.

    # patch.sh
    
    #!/bin/sh
    set -eu
    export LC_ALL=C
    file='/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js'
    # Linux: file='/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js'
    [ -r "$file" ]
    pattern='\(allowTransparency[:=]\)[[:alnum:]_$][[:alnum:]_$.]*\.enableImages\([,;}]\)'
    grep -q "$pattern" "$file" || exit 0
    tmp=$file.terminal-images-tmp.$$
    trap 'rm -f "$tmp"' 0
    [ -f "$file.terminal-images-original" ] || cp -p "$file" "$file.terminal-images-original"
    cp -p "$file" "$tmp"
    sed "s/$pattern/\1false\2/g" "$file" > "$tmp"
    mv "$tmp" "$file"
    chmod +x ./patch.sh
    ./patch.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions