blob: c516c4467151b030bdf2f40b494c4c715605e95a [file] [log] [blame]
// 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]
interface mixin NavigatorFonts {
[SameObject] readonly attribute FontManager fonts;
};
Navigator includes NavigatorFonts;
[SecureContext,
Exposed=Window]
interface FontManager {
Promise<sequence<FontMetadata>> query(optional QueryOptions options = {});
};
dictionary QueryOptions {
sequence<DOMString> select = [];
};
[Exposed=Window]
interface FontMetadata {
Promise<Blob> blob();
// Names
readonly attribute USVString postscriptName;
readonly attribute USVString fullName;
readonly attribute USVString family;
readonly attribute USVString style;
};