blob: 9079fafcbc55a9f1da7ab200dd19f5ea67a8d6ae [file] [log] [blame]
// Copyright 2020 The Chromium Authors. All rights reserved.
// 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/
[
SecureContext,
RuntimeEnabled=FontAccess
] interface FontMetadata {
readonly attribute USVString postscriptName;
readonly attribute USVString fullName;
readonly attribute USVString family;
readonly attribute USVString style;
[CallWith=ScriptState, Measure] Promise<Blob> blob();
};