blob: d6d6d3b22d9716d466f8048eb1c525f22a117807 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
[SecureContext]
partial interface Window {
[Throws]
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;
};
|