Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macOS: Try improving legibility for dark themes and low-DPI displays #20506

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

as-cii
Copy link
Member

@as-cii as-cii commented Nov 11, 2024

This pull request is an attempt at improving the situation on low-DPI displays. Specifically, in 8d2eb11, we switched to using a different rasterization scheme based on the color of the glyph. If the glyph color is light, we rasterize it using a black foreground and a white foreground. If it's dark, we do the opposite. This is because macOS applies a different smoothing algorithm based on the foreground color of the glyph.

We shouldn't merge this until somebody helps us confirm it fixes the issues reported in #7992.

Release Notes:

  • N/A

@as-cii as-cii added the run-bundling Configures PR to run the bundle step label Nov 11, 2024
@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Nov 11, 2024
@zed-industries-bot
Copy link

zed-industries-bot commented Nov 11, 2024

Warnings
⚠️
macOS: Try improving legibility for dark themes and low-DPI displays
^

Write PR titles using sentence case.

Have feedback on this plugin? Let's hear it!

Generated by 🚫 dangerJS against 3ffc9d1

@as-cii as-cii mentioned this pull request Nov 11, 2024
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed The user has signed the Contributor License Agreement run-bundling Configures PR to run the bundle step
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants