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

Use extra-light instead of thin for line numbers #435

Merged
merged 1 commit into from
Apr 14, 2023

Conversation

real-or-random
Copy link
Contributor

#305 was a great but thin is too thin for fonts which support many
weights. This replaces thin by extra-light, which is still visibly
different from the normal weight but also still legible.

In fact, it's so thin, it's not even documented, see
https://github.com/emacs-mirror/emacs/blob/master/src/font.c#L71
https://www.gnu.org/software/emacs/manual/html_node/elisp/Face-Attributes.html

Screenshots (with Iosevka):
Screenshot from 2022-08-19 14-12-59
image

Note that these screenshots are upscaled 200% from hidpi screen, so legibility of thin was even worse in practice.

bbatsov#305 was a great but thin is *too* thin for fonts which support many
weights. This replaces thin by extra-light, which is still visibly
different from the normal weight but also still legible.

In fact, it's so thin, it's not even documented, see
https://github.com/emacs-mirror/emacs/blob/master/src/font.c#L71
https://www.gnu.org/software/emacs/manual/html_node/elisp/Face-Attributes.html
@thomasf
Copy link
Collaborator

thomasf commented Apr 14, 2023

sounds resonable

@thomasf thomasf merged commit 023b0de into bbatsov:master Apr 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants