Sidebar icons look bold/with incorrect width and incorrectly rendered
Does this issue occur when all extensions are disabled?: Yes (I performed a reset of VSCode as a whole)
VS Code Version: 1.95.3
OS Version: Fedora 41.
Steps to Reproduce:
Once you open the Window. It becomes clearly apparent, as shown in the screenshot. I believe it's linked to https://github.com/microsoft/vscode/issues/129988#issue-958437012 but I don't seem to be able to see how to fix it. I've tweaked the font rendering of my default distro (Fedora 41) to no avail.
I'm trying to reopen #234493 here, but I was unable to get it reopened, so I'm duplicating it here. Good news is that setting FREETYPE_PROPERTIES=autofitter:no-stem-darkening=1 environment variable as suggested by @xBZZZZ seems to solve it. How can it be made permanent?
Additionally, @deepak1556, where can I check the configuration values of gtk-xft-hinting and gtk-xft-hintstyle?
Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.100.2. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!
does environment variable FREETYPE_PROPERTIES exist by default for you?
Hi! It does have still the problem.
does environment variable
FREETYPE_PROPERTIESexist by default for you?
Hi! Didn't see this message.
Yes! printenv throws (among some other stuff) the following: FREETYPE_PROPERTIES=cff:no-stem-darkening=0 autofitter:no-stem-darkening=0. I understand changing the environment variable would fix it, but I worry about the effects it might have over other stuff...
Maybe @deepak1556's solution would be a better thing? I'd rather have a clean solution than a dirty workaround hack...
try running vs code with --enable-features=FontationsFontBackend command line agrument
Fixed it as well!!! How can I make it permanent?
How can I make it permanent?
I don't know. I use shell scripts to start vscodium and other electron programs:
#!/usr/bin/dash
exec /path/to/codium \
--force-color-profile=srgb \
--enable-features=FontationsFontBackend
Thanks, clear!
Hopefully someone can support here...