element-hq / element-hq/element-web

Disable Inter font ligatures for username field on login page

Open
#25,538 3 comments 0 reactions 1 assignee Claimed by @kerryarchibald View on GitHub
A-Login O-Uncommon S-Major T-Defect
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

### Your use case

For example when pasting a username which contains an x surround by numbers, the x is automatically transformed to a multiplication sign which looks strange.

![image](https://github.com/vector-im/element-web/assets/112475628/f3b40a07-a4ca-4ea4-8c4a-76b60da057e0)

According to [this](https://github.com/rsms/inter/issues/222#issuecomment-574273633) post the solution is to disable contextual alt values (calt), like `font-variant-ligatures: no-contextual;` or `font-feature-settings: "calt" 0;`.

### Have you considered any alternatives?

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.