tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

local-font-access.idl (649B)


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