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

> As I understand it, you're arguing that given content styled with font-size: 12pt, a browser running on macOS should apply opsz=16, while a browser running on Windows should use opsz=12 (right?).

I don't think that's the automatically the correct assumption for Windows. The Mac environment has built-in equivalences — to provide consistency of scaling of text across applications — that don't have parallels on other platforms. So when you go on to say that you will potentially see different opsz selection depending on OS-level resolution settings you've selected, that indicates that opsz selection should take into account those OS-level resolution settings (which is what in effect happens on the Mac because the resolution settings are consistent).

Remember, spec'ing CSS font-size 12pt for browser text is not the same thing as spec'ing type in units of 1/72 physical inch for print, so there is always going to need to be a calculation to get the correct opsz selection that takes into account the local relationship of CSS pt or px to the physical unit of the opsz axis scale. Apple are just performing this calculation once for all, whereas other platforms may need to perform it based on device and system resolution.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 16 September 2020 20:40:49 UTC