-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fonts need to be sorted #23
Comments
Mostly agreed... the challenge is that if we have a permission scheme and/or UX allowing full access, and were on an operating system where enumeration was inherently async, and the enumeration order was not aligned, this would require the implementation to do a full enumeration and buffer the results, do a sort, then provide the enumeration to script. |
Yep, sorting might remove the benefit of having |
This is also mentioned in w3ctag/design-reviews#399 (comment) (4th paragraph). |
Would like to talk a bit about sorting. While it does remove some of the benefits of As for which key to sort it with, I propose Annecdotally, Apple systems deduplicate using that name table entry.
Another convenient property of
This makes using this field as the sorting key ideal, as it will be the same across all locales. This property combined with the fact that |
This is made explicit in the https://wicg.github.io/local-font-access/#dom-fontmanager-query algorithm now. |
https://wicg.github.io/local-font-access/#fontiterator says "For each local font font on the system", but if that reflects the order fonts were installed, it reveals a lot of fingerprinting information. The spec should say that the fonts are sorted by some key.
The text was updated successfully, but these errors were encountered: