Skip to content

No RGB antialiasing, even on opaque backgrounds #776

@iGerman00

Description

@iGerman00

Antialiasing for the fonts seems to always be greyscale, even on opaque backgrounds. It threw me off quickly when I first started using Shell, because in Windows text is typically RGB AA'd on opaque backgrounds, and maybe also thinner than what Shell has. For me and my eyes, that's difficult to read, especially in dark mode. Could you please consider adding this as an option if the background is fully opaque?

Right now it can only do grayscale because it is hardcoded.

I have my fork here with quality available on font to control what it requests be rendered in terms of AA and some conditional patches for opaque backgrounds/effect=0, you can get the artifacts and source here: https://github.com/iGerman00/Shell/actions/runs/19790238496/job/56702196949

Try it out with a config like:

theme
{
	name="modern"
	view = view.small
	dark=auto
	background
	{
		color=#24273A
		effect=0 // must be 0 for RGB AA
		opacity=100 // must be 100 for RGB AA
	}

	font
	{
		name="Segoe UI"
		weight=4
		size=12
		quality=5 // 0 = default, 3 = no aa, 4 = greyscale CT, 5 = CT, 6 = CT with natural something
	}
	
	item
	{
		text
		{
			normal = #b8c0e0
		}
	}
}

I like quality = 5 a lot, looks the most system-neutral to me. I think it's the default as is, just minus RGB. View image below at 100% scaling for the best experience. It's with the same config.

Image

Let me know if you'd like a PR with what I have so far, so you can make it usable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions