blob: 10e2e1f012e92139a1f6cdfe3bf4f4d7e52474d1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
// GENERATED CONTENT - DO NOT EDIT
// Content was automatically extracted by Reffy into webref
// (https://github.com/w3c/webref)
// Source: Local Font Access API (https://wicg.github.io/local-font-access/)
[SecureContext]
partial interface Window {
Promise<sequence<FontData>> queryLocalFonts(optional QueryOptions options = {});
};
dictionary QueryOptions {
sequence<DOMString> postscriptNames;
};
[Exposed=Window]
interface FontData {
Promise<Blob> blob();
// Names
readonly attribute USVString postscriptName;
readonly attribute USVString fullName;
readonly attribute USVString family;
readonly attribute USVString style;
};
|