W3C home > Mailing lists > Public > public-css-archive@w3.org > July 2021

Re: [csswg-drafts] [CSS-Fonts] Need method to interpolate variable font settings (#5635)

From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
Date: Tue, 27 Jul 2021 16:44:09 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-887667241-1627404247-sysbot+gh@w3.org>
The CSS Working Group just discussed `Need method to interpolate variable font settings`, and agreed to the following:

* `RESOLVED: No change, should work with already-in-the-spec calc() improvements`

<details><summary>The full IRC log of that discussion</summary>
&lt;emilio> topic: Need method to interpolate variable font settings<br>
&lt;emilio> github: https://github.com/w3c/csswg-drafts/issues/5635<br>
&lt;astearns> https://typetura.com/<br>
&lt;emilio> astearns: This was raised by scott a while back along with other issues<br>
&lt;emilio> ... he works on typetura which does a lot of fancy things with responsive typography<br>
&lt;emilio> ... and he'd like to do fancier things and helpfully filed a bunch of issues<br>
&lt;emilio> ... but they didn't get a lot of attention<br>
&lt;emilio> ... so I raised them to get some attention from the group<br>
&lt;Rossen_> q<br>
&lt;TabAtkins> q+<br>
&lt;chris> q+<br>
&lt;emilio> ... he wants to interpolate variable font settings that are numbers with e.g. viewport lengths<br>
&lt;emilio> ... can't use calc() because incompatible units<br>
&lt;chris> q-<br>
&lt;emilio> TabAtkins: it's perfectly fine to use calc(), you just need to divide the unit away<br>
&lt;emilio> ... unless there's something more subtle going on we should be fine on this issue<br>
&lt;Rossen_> ack TabAtkins<br>
&lt;chris> I was going to say the sam as tab<br>
&lt;emilio> astearns: there are some other subtleties, calc() might be limiting, but let's do this on the next issue<br>
&lt;chris> calc(19px/1px)<br>
&lt;fantasai> chris, wouldn't you just write 19 at that point?<br>
&lt;emilio> emilio: Tracking multiple units doesn't work, but dividing the same units and getting an integer possibly works already?<br>
&lt;chris> if you have some length and it happens to have px, you can convert it to number by dividing out the unit<br>
&lt;emilio> RESOLVED: No change, should work with already-in-the-spec calc() improvements<br>
&lt;chris> but what I put was a handy test<br>
</details>


-- 
GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5635#issuecomment-887667241 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 27 July 2021 16:44:11 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 24 March 2022 20:27:25 UTC