Re: [css-houdini-drafts] [font-metrics-api] Revised proposal of font metrics for each character

> > I think this API needs to return first a runs array consisting of arrays of text runs of same font and directionality
> 
> This sounds like a potential fingerprinting vector, making it easier for a page to probe details of the machine's font configuration.

It’s already discoverable in JavaScript by creating `<span>`s with different contents and styling.

We solved this in WebKit by ignoring all user-installed fonts, making everyone* appear to have the same set of fonts installed.

It’s also worth linking to https://github.com/tc39/proposal-intl-segmenter. This proposal allows web developers to do their own line breaking.

* for some definition of “everyone”

-- 
GitHub Notification of comment by litherum
Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/828#issuecomment-433110557 using your GitHub account

Received on Thursday, 25 October 2018 16:05:55 UTC