Skip to content

Commit 5ead211

Browse files
committed
[css-fonts-4] Move consequences of installed fonts out of Taxonomy and into Font Matching Algorithm, #5421
1 parent 47b1147 commit 5ead211

File tree

1 file changed

+23
-3
lines changed

1 file changed

+23
-3
lines changed

css-fonts-4/Overview.bs

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3840,6 +3840,26 @@ a font family is chosen
38403840
and a particular font face is selected
38413841
containing a glyph for that character.
38423842

3843+
The set of installed fonts available
3844+
to the Font Matching Algorithm
3845+
is explicitly undefined.
3846+
3847+
UAs may choose to expose all installed fonts to the web,
3848+
regardless of how that font was installed;
3849+
doing so is likely to have good internationalization properties
3850+
for users whose primary language is not supported
3851+
by fonts shipping with their operating system.
3852+
UAs may alternatively choose
3853+
to not expose user-installed fonts to aid privacy on the web;
3854+
for the set of installed fonts a user has installed
3855+
is often used as a tracking vector to track users across the web.
3856+
UAs may choose a hybrid approach, where some user-installed fonts
3857+
are exposed for internationalization,
3858+
but others aren't.
3859+
UAs are expected to make informed decisions
3860+
on which fonts they expose to the web,
3861+
so as to balance between internationalization and privacy.
3862+
38433863
38443864
fallback-remote-to-data-url.html
38453865
fallback-url-to-local.html
@@ -7770,8 +7790,6 @@ Installed Fonts
77707790

77717791
A font may be installed globally on a device. Such fonts are generally accessible in any application, even applications which have no concept of CSS. The file or files backing the font object exist on the user's device, not as a remote resource.
77727792

7773-
The set of installed fonts available in the Font Matching Algorithm is explicitly undefined.
7774-
77757793
Installed Fonts must not be Web Fonts, and Web Fonts must not be Installed Fonts.
77767794

77777795

@@ -7798,7 +7816,9 @@ Such fonts are User-Installed Fonts and also are Installed Fonts.
77987816
Web content authors should not count on the presence of user-installed fonts,
77997817
because there is no guarantee any user will have
78007818
performed the action to install a specific font.
7801-
User agents may choose to ignore User-Installed Fonts for the purpose of the Font Matching Algorithm.
7819+
7820+
7821+
description of how user-installed fonts may interact with the font matching algorithm.
78027822

78037823
Any Installed Font which is not a User-Installed font is a Preinstalled Font. It is likely that all users of a particular version of a particular Operating System will have the same set of Preinstalled Fonts installed. As such, Web content authors targeting these Operating Systems may wish to use these fonts' family names inside 'font-family!!property' properties.
78047824

0 commit comments

Comments
 (0)