W3C home > Mailing lists > Public > public-css-archive@w3.org > September 2020

Re: [csswg-drafts] [css-text] [css-values] Circular dependency between letter-spacing and x-height (#5498)

From: Mike Bremford via GitHub <sysbot+gh@w3.org>
Date: Fri, 04 Sep 2020 08:37:07 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-687010375-1599208625-sysbot+gh@w3.org>
> The best solution is probably "don't run shaping when calculating the value of font-relative units."

Definitely. I would think "liga" is the least of your problems - `salt`, `swsh`, `smcp` and others would have a much bigger impact on units if they were applied, and some of the substitutions could be language dependent too. The metrics really have to be taken from the original glyph as specified by the `glyf` or `CFF` tables.

GitHub Notification of comment by faceless2
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5498#issuecomment-687010375 using your GitHub account

Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 4 September 2020 08:37:09 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:15 UTC