Search e01
One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.
6 results across 6 corpora for FontData.
Developer library 6
Local Font Access API
has been created to address these problems. The Window.queryLocalFonts() method provides access to an array of locally-installed fonts, each represented by a FontData object instance. FontData has several properties providing access to names, styles, and families, and it also has a blob() method providing access to a Blob containing the raw bytes of the underlying font file. In terms of privacy and security: - Th
FontData
Local Font Access API The **`FontData`** interface of the Local Font Access API represents a single local font face. ## Instance properties - FontData.family - : Returns the family of the font face. - FontData.fullName - : Returns the full name of the font face. - FontData.postscriptName - : Returns the PostScript name of the font face. - FontData.style - : Returns the style of the font face. ## I
FontData: fullName property
Local Font Access API The **`fullName`** read-only property of the FontData interface returns the full name of the font face. This is usually a human-readable name used to identify the font, e.g., "Optima Bold". Examples include: - Apple SD Gothic Neo UltraLight - Arial Black - Avenir Next Heavy - Katari Medium Italic - YuMincho +36p Kana Extrabold ## Value A string. ## Examples The following snippet will quer
FontData: postscriptName property
Local Font Access API The **`postscriptName`** read-only property of the FontData interface returns the PostScript name of the font face. This is the name used to uniquely identify the PostScript font, and is generally an unbroken sequence of characters that includes the font's name and style. Examples include: - AppleSDGothicNeo-UltraLight - Arial-Black - AvenirNext-Heavy - Katari-MediumItalic - YuMin_36pKn-Extr
FontData: family property
Local Font Access API The **`family`** read-only property of the FontData interface returns the family of the font face. This is the name used when referring to the font family from code, for example, in the font-family property or in places within the @font-face at-rule such as the `local()` function. Examples include: - Apple SD Gothic Neo - Arial Black - Avenir Next - Katari - YuMincho +36p Kana ## Value A s
FontData: blob() method
Local Font Access API The **`blob()`** method of the FontData interface returns a Promise that fulfills with a Blob containing the raw bytes of the underlying font file. ## Syntax ```js-nolint blob() ``` ### Parameters None. ### Return value A Promise that fulfills with a Blob containing the raw bytes of the underlying font file. ## Examples The `blob()` method provides access to low-level [SFNT](https://en.