Re: [csswg-drafts] [css-fonts] Proposal to extend CSS font-optical-sizing (#4430)

@davelab6, I wanted to test a suggestion you made here:

> add a 2nd oppt axis (same deltas, very small filesize impact to have both opsz and oppt in the same font)

I made a simple test of this approach, at https://github.com/arrowtype/overlapping-axis-test.

If I understood your suggestion correctly, you were suggesting that a font might be given two axes that controlled the same deltas, but with different scales. However, I believe my test shows that a variable font cannot currently do this. With either a simple or a complex approach, the two axes will have interdependencies with unintended results.

Therefore, I still believe that if we wish for one optical-sizing axis that can be defined in px and another that can be defined in pt, we would have to recommend type designers use one or the other, but not both. Additionally, the fact that several smart people in this thread are having challenges understanding the implications of conversion between these values indicates that this conversion should be handled in platforms rather than in all fonts, as there will be more fonts in the long term, and therefore more possibility for mistakes by the font creators.

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

Received on Thursday, 21 May 2020 20:30:02 UTC