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

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

From: Mike Bremford via GitHub <sysbot+gh@w3.org>
Date: Wed, 03 Jun 2020 08:12:16 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-638037241-1591171935-sysbot+gh@w3.org>
> Nope. Only for "print media at typical viewing distances".

Every single css-to-pdf converter I'm aware of maps 1 CSS point to 1 PDF point, which is 1/72inch. I'm aware that printing from a web-browser may not, and I'd consider that a bug.

If you choose to scale that PDF for printing that's well beyond the scope of anything you can solve in this issue. The same goes for any solution that depends on an *accurate* physical length on screen.

The description of the size of 1px is necessarily approximate. It gives authors, and implementers, a rough idea of how to map 1 CSS pixel to a display. But if you want something with a higher level of accuracy on screen, it's not there┬╣. In many cases, like projectors or dual monitors, **no answer exists**. This was the point being made in https://github.com/w3c/csswg-drafts/issues/614.

┬╣ Not always there. It could be for mobile, where the display hardware is fixed.

-- 
GitHub Notification of comment by faceless2
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4430#issuecomment-638037241 using your GitHub account
Received on Wednesday, 3 June 2020 08:12:18 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:31:27 UTC