- From: Matthias Dunker via GitHub <sysbot+gh@w3.org>
- Date: Wed, 10 Jan 2024 23:26:16 +0000
- To: public-design-tokens-log@w3.org
Topic: line height This is a tough one. We have to deal with a lot of inconsistencies when it comes to individual fonts. It is up to the font designer which x-height he or she chooses or how large the font is in comparison to its character containers. A paragraph might look good with font A and a line height of 1.5, but might look too dense with another font and the same font size & (relative) line height (Radnika for example is quite big on its own and looks way bigger then Helvetica or Inter). From a designers perspective, I would rather align fonts on a baseline grid than adapting the baseline to the font (size) — which would be super strange when you mix fonts in one line. Wouldn’t you prefer to align the two fonts optically on the x-height, which will lead to two different font sizes....this is ok, but would we want to have two different line heights or would we expect a block to have one line height? I think the second is more realistic. Also, line height is an aggregated value (baseline divided by font size). If we consider design tokens as the status quo of a visual appearance with an absolute character instead of relations and logic, the value should be an absolute one. Seen this way, it should be up to the translation tools to calculate relative line heights if needed on the target platform. -- GitHub Notification of comment by MatthiasDunker Please view or discuss this issue at https://github.com/design-tokens/community-group/issues/102#issuecomment-1885918158 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 10 January 2024 23:26:18 UTC