chromium/third_party/blink/renderer/modules/font_access/font_data.idl

// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// Returned by the async iterator FontIterator as the entry value.
// https://wicg.github.io/local-font-access/
[
    Exposed=(Window),
    SecureContext,
    RuntimeEnabled=FontAccess,
    ImplementedAs=FontMetadata
] interface FontData {
  readonly attribute USVString postscriptName;
  readonly attribute USVString fullName;
  readonly attribute USVString family;
  readonly attribute USVString style;
  [CallWith=ScriptState, Measure] Promise<Blob> blob();
};