Fix anti-aliasing on certain systems #120
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This makes the font actually anti-aliased on my system (Linux, KDE on Xorg).
I can't test the effect of this on other systems right now, so I would appreciate if someone on Windows/MacOS/Linux Wayland could test this and make sure it doesn't break anything on those systems.
Before:
![Before](https://private-user-images.githubusercontent.com/5115825/253051715-c32bbf22-bd0a-498d-9d36-f3889c23d0de.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk4OTQ4MTcsIm5iZiI6MTcxOTg5NDUxNywicGF0aCI6Ii81MTE1ODI1LzI1MzA1MTcxNS1jMzJiYmYyMi1iZDBhLTQ5OGQtOWQzNi1mMzg4OWMyM2QwZGUucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcwMiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MDJUMDQyODM3WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZjdkNTdiOTg1YmU0NzllNjI0NTUxODAwMmQ5YWEwZTQwZDAzMjkwOWFjN2RmZDU2MjU1YmE5OGE5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