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

Re: [csswg-drafts] [css-values] A more reasonable unit for `letter-spacing`

From: SelenIT via GitHub <sysbot+gh@w3.org>
Date: Wed, 27 Sep 2017 14:48:08 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-332546151-1506523676-sysbot+gh@w3.org>
> the relative unit of 1/1000em that Adobe products use

This would be extremely useful if this unit would always match the unit used in the font itself, i.e. if all fonts had 1000 UPM (units per em). However, different fonts have different UPM values (as mentioned in [Jukka's answer](https://stackoverflow.com/a/13511281/2533215) in one of the StackOverflow issues referred above), so mapping the hypothetical `mem` unit to font units would not always be precise, and the only advantage would be sparing 1 character for typing (e.g. `15mem` vs `.015em`).

-- 
GitHub Notification of comment by SelenIT
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1814#issuecomment-332546151 using your GitHub account
Received on Wednesday, 27 September 2017 14:47:59 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 24 March 2022 20:26:43 UTC