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

Lowercase letter L looks too similar to number 1 #102

Open
1 of 2 tasks
kevinschaich opened this issue Apr 27, 2024 · 5 comments
Open
1 of 2 tasks

Lowercase letter L looks too similar to number 1 #102

kevinschaich opened this issue Apr 27, 2024 · 5 comments

Comments

@kevinschaich
Copy link

Font Name (Geist Sans/Geist Mono):

  • Geist Sans
  • Geist Mono

Geist Mono:

image

Another code font e.g. Hack

image

I think it's distracting – the whole purpose of a mono font is to remove ambiguity between characters.

@kevinschaich kevinschaich added the bug Something isn't working label Apr 27, 2024
@luciascarlet
Copy link

ss03 makes the "l" design look similar to the one in Hack. I much prefer that and I always enable that when using Geist in editors. Kind of wish it was the default, but I also think this is very much a stylistic preference.

@kevinschaich
Copy link
Author

Sorry @luciascarlet what's ss03 you're referring to?

@luciascarlet
Copy link

luciascarlet commented May 2, 2024

Stylistic set 3. A lot of fonts include stylistic sets that can be activated via OpenType features. This is what it looks like:
image

Edit: Huh, not sure what's up with the rendering here; this may itself be worth investigating. I used Geist Mono Variable at 500 weight, with AA set to "antialiased" in VS Code, so no stem darkening on macOS. Appears to happen on the bolder weight too.

@kevinschaich
Copy link
Author

Thanks @luciascarlet. Are there docs on how one would go about using it in HTML/React etc.? Or could you provide a quick ex?

@guidoferreyra guidoferreyra removed the bug Something isn't working label Jul 3, 2024
@cmattinson
Copy link

@kevinschaich Enabling the OpenType features depends on your environment, most will allow changing the stylistic sets.

With VS Code you can enable them with theeditor.fontLigatures setting:

image

WezTerm with harfbuzz_features:

image

CSS with font-feature-settings

font-feature-settings: "ss01" 1, "ss03" 1, "ss04" 1;

There are 9 stylistic sets for alternate glyphs but I can't find the official documentation for them, I have to open the font with Font Gauntlet to see them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants