- From: jfkthame via GitHub <sysbot+gh@w3.org>
- Date: Sat, 20 Apr 2024 22:55:58 +0000
- To: public-css-archive@w3.org
Have you considered [the `font-size-adjust` property](https://drafts.csswg.org/css-fonts-4/#font-size-adjust-prop)? If you set `font-size-adjust: ex-height 1.0`, the chosen font will be scaled so that its ex-height equals the `font-size`. For example: ``` data:text/html,<div style="font: 12px Arial; font-size-adjust: ex-height 1.0">Comparing Arial, <span style="font-family: times new roman">Times New Roman,</span> <span style="font-family: impact">and Impact</span></div> ``` Without `font-size-adjust`, these fonts would have very different visual sizes. -- GitHub Notification of comment by jfkthame Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6709#issuecomment-2067808003 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Saturday, 20 April 2024 22:55:59 UTC