WebIDLpedia

FontData interface

Definition

Local Font Access API defines FontData



[Exposed=Window]
interface FontData {
  Promise<Blob> blob();

  // Names
  readonly attribute USVString postscriptName;
  readonly attribute USVString fullName;
  readonly attribute USVString family;
  readonly attribute USVString style;
};

Methods and attributes that return objects implementing FontData

Referring IDL interfaces/dictionaries