UNPKG

opentype.features.js

Version:

Library to list opentype fonts optional features.

11 lines (10 loc) 295 B
export interface MetaData { fontFamily: string; } export default class Font { static getMetaDataFromFile(file: string): Promise<MetaData>; static getMetaDataFromUrl(url: string): Promise<MetaData>; static _fontToMetaData(font: any): { fontFamily: any; }; }