Open tay1orjones opened 6 months ago
Thank you for submitting a feature request. Your proposal is open and will soon be triaged by the Carbon team.
If your proposal is accepted and the Carbon team has bandwidth they will take on the issue, or else request you or other volunteers from the community to work on this issue.
hi @tay1orjones ! any chance you had time to look into this or will do so soon?
Background
Non-latin families, particularly Japanese and Chinese (there are others as well), utilize a full-cap height that make them appear visually larger than the latin alphabet. They instead want them to be visually equivalent as much as possible. So the idea is to modify the styling surrounding these non-latin families to match the visual weight of latin. A common recommendation is to reduce font sizes by a certain amount
In this case they want to reduce the size of Plex Japanese/etc. by 5%.
Scope
This issue is for investigating and researching the best way to do this without impacting the rest of the system. I don't think we can modify
font-size
because it would impact the root value/sizing forem
/rem
units and would make every component in the system 5% smaller.Potential solution
There are some new
font-face
descriptors that seem promising: https://web.dev/articles/css-size-adjust Some of the fine-grained descriptors aren't supported in safari yet. It could be a case of progressive enhancement, where we optimize for the three browsers that support them and just do the best we can for Safari.Open questions
Relevant internal slack convo