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

Set Inter to use ss02 disambiguation styleset #6129

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

benharri
Copy link
Contributor

@benharri benharri commented Nov 6, 2024

This adds ss02 to Inter which is the disambiguation set https://rsms.me/inter/#features
It makes ILli1 a lot easier to tell apart.

Haven't been able to get this working on web. Seems that some react-native-web styles are overriding it and the font-feature-settings aren't getting applied correctly.

Looks great on android though

Thread with some more info
https://bsky.app/profile/benharri.org/post/3l7r4sv42sk2q

@benharri benharri force-pushed the stylistic-two branch 4 times, most recently from 542923f to ad69ccb Compare November 13, 2024 15:17
@benharri
Copy link
Contributor Author

Another less disruptive option is to use cv05 which changes just the lowercase l

Gitlab used that for their version of Inter:
https://www.npmjs.com/package/@gitlab/fonts

character variants aren't in the react native fontVariant though...

@benharri
Copy link
Contributor Author

If this is not a desired change, I'm happy to close this out.

@benharri benharri force-pushed the stylistic-two branch 2 times, most recently from c344a3d to 6c1eda6 Compare November 17, 2024 17:03
@gaearon
Copy link
Collaborator

gaearon commented Nov 17, 2024

this needs a look from @estrattonbailey

@benharri benharri force-pushed the stylistic-two branch 2 times, most recently from eafa6b3 to f8c4674 Compare November 24, 2024 05:09
this isn't working on web and i don't know why

add ss02 to templates/fallback styles
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